pub struct PurchasesClient { /* private fields */ }Implementations§
Source§impl PurchasesClient
impl PurchasesClient
pub fn new(http: Arc<HttpClient>) -> Self
Sourcepub fn get_apple_offer_signature(
&self,
product_id: &str,
offer_id: &str,
app_account_token: Option<&str>,
) -> RovenueResult<AppleOfferSignature>
pub fn get_apple_offer_signature( &self, product_id: &str, offer_id: &str, app_account_token: Option<&str>, ) -> RovenueResult<AppleOfferSignature>
Fetch an Apple promotional-offer signature from the backend.
This endpoint is project-scoped (authenticated by the project API key only) — do NOT pass a user scope or idempotency key.
Auto Trait Implementations§
impl Freeze for PurchasesClient
impl !RefUnwindSafe for PurchasesClient
impl Send for PurchasesClient
impl Sync for PurchasesClient
impl Unpin for PurchasesClient
impl !UnwindSafe for PurchasesClient
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