Package | Description |
---|---|
com.google.api.services.androidpublisher.model |
Modifier and Type | Method and Description |
---|---|
SubscriptionPurchase |
SubscriptionPurchase.clone() |
SubscriptionPurchase |
SubscriptionPurchase.set(String fieldName,
Object value) |
SubscriptionPurchase |
SubscriptionPurchase.setAutoRenewing(Boolean autoRenewing)
Whether the subscription will automatically be renewed when it reaches its current expiry time.
|
SubscriptionPurchase |
SubscriptionPurchase.setAutoResumeTimeMillis(Long autoResumeTimeMillis)
Time at which the subscription will be automatically resumed, in milliseconds since the Epoch.
|
SubscriptionPurchase |
SubscriptionPurchase.setCancelReason(Integer cancelReason)
The reason why a subscription was canceled or is not auto-renewing.
|
SubscriptionPurchase |
SubscriptionPurchase.setCancelSurveyResult(SubscriptionCancelSurveyResult cancelSurveyResult)
Information provided by the user when they complete the subscription cancellation flow
(cancellation reason survey).
|
SubscriptionPurchase |
SubscriptionPurchase.setCountryCode(String countryCode)
ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was
granted.
|
SubscriptionPurchase |
SubscriptionPurchase.setDeveloperPayload(String developerPayload)
A developer-specified string that contains supplemental information about an order.
|
SubscriptionPurchase |
SubscriptionPurchase.setEmailAddress(String emailAddress)
The email address of the user when the subscription was purchased.
|
SubscriptionPurchase |
SubscriptionPurchase.setExpiryTimeMillis(Long expiryTimeMillis)
Time at which the subscription will expire, in milliseconds since the Epoch.
|
SubscriptionPurchase |
SubscriptionPurchase.setFamilyName(String familyName)
The family name of the user when the subscription was purchased.
|
SubscriptionPurchase |
SubscriptionPurchase.setGivenName(String givenName)
The given name of the user when the subscription was purchased.
|
SubscriptionPurchase |
SubscriptionPurchase.setKind(String kind)
This kind represents a subscriptionPurchase object in the androidpublisher service.
|
SubscriptionPurchase |
SubscriptionPurchase.setLinkedPurchaseToken(String linkedPurchaseToken)
The purchase token of the originating purchase if this subscription is one of the following: -
Re-signup of a canceled but non-lapsed subscription - Upgrade/downgrade from a previous
subscription For example, suppose a user originally signs up and you receive purchase token X,
then the user cancels and goes through the resignup flow (before their subscription lapses) and
you receive purchase token Y, and finally the user upgrades their subscription and you receive
purchase token Z.
|
SubscriptionPurchase |
SubscriptionPurchase.setOrderId(String orderId)
The order id of the latest recurring order associated with the purchase of the subscription.
|
SubscriptionPurchase |
SubscriptionPurchase.setPaymentState(Integer paymentState)
The payment state of the subscription.
|
SubscriptionPurchase |
SubscriptionPurchase.setPriceAmountMicros(Long priceAmountMicros)
Price of the subscription, not including tax.
|
SubscriptionPurchase |
SubscriptionPurchase.setPriceChange(SubscriptionPriceChange priceChange)
The latest price change information available.
|
SubscriptionPurchase |
SubscriptionPurchase.setPriceCurrencyCode(String priceCurrencyCode)
ISO 4217 currency code for the subscription price.
|
SubscriptionPurchase |
SubscriptionPurchase.setProfileId(String profileId)
The profile id of the user when the subscription was purchased.
|
SubscriptionPurchase |
SubscriptionPurchase.setProfileName(String profileName)
The profile name of the user when the subscription was purchased.
|
SubscriptionPurchase |
SubscriptionPurchase.setPurchaseType(Integer purchaseType)
The type of purchase of the subscription.
|
SubscriptionPurchase |
SubscriptionPurchase.setStartTimeMillis(Long startTimeMillis)
Time at which the subscription was granted, in milliseconds since the Epoch.
|
SubscriptionPurchase |
SubscriptionPurchase.setUserCancellationTimeMillis(Long userCancellationTimeMillis)
The time at which the subscription was canceled by the user, in milliseconds since the epoch.
|