Methods
(static) addSerializedPayment(blob, callback)
Adds a serialized payment
Parameters:
Name | Type | Description |
---|---|---|
blob |
String
|
the base64 serialized representation of the payment |
callback |
function
|
(static) isUserPayingForDefault(callback)
Returns whether the user is paying for default subscription
Parameters:
Name | Type | Description |
---|---|---|
callback |
function
|
(static) isUserPayingForDefault(marketplace, nativeItemId, callback)
Gets the offer object for the specified native item and marketplace
Parameters:
Name | Type | Description |
---|---|---|
marketplace |
String
|
the marketplace where the purchase is done ['appleStore', 'googlePlay'] |
nativeItemId |
String
|
the id of the native item |
callback |
function
|