| Package | Description | 
|---|---|
| com.google.api.services.androidpublisher.model | 
| Modifier and Type | Method and Description | 
|---|---|
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. clone() | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. set(String fieldName,
   Object value) | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setAcknowledgementState(String acknowledgementState)The acknowledgement state of the subscription. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setCanceledStateContext(CanceledStateContext canceledStateContext)Additional context around canceled subscriptions. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setExternalAccountIdentifiers(ExternalAccountIdentifiers externalAccountIdentifiers)User account identifier in the third-party service. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setKind(String kind)This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setLatestOrderId(String latestOrderId)The order id of the latest order associated with the purchase of the subscription. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setLineItems(List<SubscriptionPurchaseLineItem> lineItems)Item-level info for a subscription purchase. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setLinkedPurchaseToken(String linkedPurchaseToken)The purchase token of the old subscription if this subscription is one of the following: * Re-
 signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous
 subscription. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setPausedStateContext(PausedStateContext pausedStateContext)Additional context around paused subscriptions. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setRegionCode(String regionCode)ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was
 granted. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setStartTime(String startTime)Time at which the subscription was granted. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setSubscribeWithGoogleInfo(SubscribeWithGoogleInfo subscribeWithGoogleInfo)User profile associated with purchases made with 'Subscribe with Google'. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setSubscriptionState(String subscriptionState)The current state of the subscription. | 
| SubscriptionPurchaseV2 | SubscriptionPurchaseV2. setTestPurchase(TestPurchase testPurchase)Only present if this subscription purchase is a test purchase. | 
Copyright © 2011–2024 Google. All rights reserved.