| 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. setAcknowledgementState(Integer acknowledgementState)The acknowledgement state of the subscription product. | 
| 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. setExternalAccountId(String externalAccountId)User account identifier in the third-party service. | 
| 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. setIntroductoryPriceInfo(IntroductoryPriceInfo introductoryPriceInfo)Introductory price information of the subscription. | 
| 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: 0. | 
| SubscriptionPurchase | SubscriptionPurchase. setObfuscatedExternalAccountId(String obfuscatedExternalAccountId)An obfuscated version of the id that is uniquely associated with the user's account in your
 app. | 
| SubscriptionPurchase | SubscriptionPurchase. setObfuscatedExternalProfileId(String obfuscatedExternalProfileId)An obfuscated version of the id that is uniquely associated with the user's profile in your
 app. | 
| 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, For tax exclusive countries, the price doesn't include 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 Google 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. setPromotionCode(String promotionCode)The promotion code applied on this purchase. | 
| SubscriptionPurchase | SubscriptionPurchase. setPromotionType(Integer promotionType)The type of promotion applied on this purchase. | 
| 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. | 
Copyright © 2011–2024 Google. All rights reserved.