| |
Methods defined here:
- __init__(self)
- cancel = method(self, **kwargs)
- Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
Args:
pp: string, A parameter
trace: string, A parameter
packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
strict: string, A parameter
token: string, The token provided to the user's device when the subscription was purchased. (required)
userip: string, A parameter
subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
- get = method(self, **kwargs)
- Checks whether a user's subscription purchase is valid and returns its expiry time.
Args:
pp: string, A parameter
trace: string, A parameter
packageName: string, The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). (required)
strict: string, A parameter
token: string, The token provided to the user's device when the subscription was purchased. (required)
userip: string, A parameter
subscriptionId: string, The purchased subscription ID (for example, 'monthly001'). (required)
Returns:
An object of the form
{ # A Purchase resource indicates the status of a user's subscription purchase.
"initiationTimestampMsec": "A String", # Time at which the subscription was granted, in milliseconds since Epoch.
"kind": "androidpublisher#subscriptionPurchase", # This kind represents a subscriptionPurchase object in the androidpublisher service.
"autoRenewing": True or False, # Whether the subscription will automatically be renewed when it reaches its current expiry time.
"validUntilTimestampMsec": "A String", # Time at which the subscription will expire, in milliseconds since Epoch.
}
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|