# Print output for @column tags ?>
public
static
final
class
ProductDetails.SubscriptionOfferDetails
extends Object
| java.lang.Object | |
| ↳ | com.android.billingclient.api.ProductDetails.SubscriptionOfferDetails |
Represents the available purchase plans to buy a subscription product.
Public methods | |
|---|---|
String
|
getBasePlanId()
Returns the base plan id associated with the subscription product. |
String
|
getOfferId()
Returns the offer id associated with the subscription product. |
List<String>
|
getOfferTags()
Returns the offer tags associated with this Subscription Offer. |
String
|
getOfferToken()
Returns the offer token required to pass in launchBillingFlow to purchase the subscription product with these pricing phases. |
ProductDetails.PricingPhases
|
getPricingPhases()
Returns the pricing phases for the subscription product. |
Inherited methods | |
|---|---|
public String getBasePlanId ()
Returns the base plan id associated with the subscription product.
| Returns | |
|---|---|
String |
|
public String getOfferId ()
Returns the offer id associated with the subscription product.
Note: This field is only set for a discounted offer. Returns null for a
regular base plan.
| Returns | |
|---|---|
String |
|
public List<String> getOfferTags ()
Returns the offer tags associated with this Subscription Offer.
| Returns | |
|---|---|
List<String> |
|
public String getOfferToken ()
Returns the offer token required to pass in launchBillingFlow to purchase the subscription product with these pricing phases.
| Returns | |
|---|---|
String |
|
public ProductDetails.PricingPhases getPricingPhases ()
Returns the pricing phases for the subscription product.
| Returns | |
|---|---|
ProductDetails.PricingPhases |
|