pub struct ReceiptClient { /* private fields */ }Implementations§
Source§impl ReceiptClient
impl ReceiptClient
pub fn new(http: Arc<HttpClient>) -> Self
pub fn post_apple( &self, receipt: &str, app_user_id: &str, product_id: &str, idempotency_key: &str, app_account_token: Option<&str>, presented_context: Option<&CorePresentedContext>, ) -> RovenueResult<ReceiptPostOutcome>
pub fn post_google( &self, receipt: &str, app_user_id: &str, product_id: &str, idempotency_key: &str, obfuscated_account_id: Option<&str>, obfuscated_profile_id: Option<&str>, presented_context: Option<&CorePresentedContext>, ) -> RovenueResult<ReceiptPostOutcome>
Auto Trait Implementations§
impl Freeze for ReceiptClient
impl !RefUnwindSafe for ReceiptClient
impl Send for ReceiptClient
impl Sync for ReceiptClient
impl Unpin for ReceiptClient
impl !UnwindSafe for ReceiptClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more