Builder
Builder for setting customizable options, such as modifying an existing subscription or updating pricing information for a purchase flow. To modify an active subscription, make sure to set the desired proration mode, the purchase token, and the productId of the relevant subscription.
Constructors
Functions
Set the consumer's region of origin for region-specific customization options. Default region is Region.NA.
Only for Google Play consumers in the European Union. When true, the Play UI includes the disclosure. When false, the UI omits the disclosure. The default value is false. Or, if setConsumerRegion is not updated to the Region.EU, this value will default to false. You must consult Art. 6 (1) (ea) CRD of the Consumer Rights Directive (2011/83/EU) [https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02011L0083-20220528] to determine if the price you are offering to users is personalized.
Set the purchase token for the subscription to be modified.
Set the product id of the subscription to be modified.
Modify the proration settings for subscriptions. Refer to Google's BillingFlowParams.ProrationMode https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.ProrationMode
Set the index (position) of the relevant Subscription OfferDetails to be purchased.