-
public final class DeveloperBillingOptionParamsAndroidParameters for a developer billing option in a purchase flow (Android). Used with BillingFlowParams for external payments (8.3.0+) and Billing Choice (OpenIAP Spec 2.1.0 / openiap-google 2.3.0; requires Play Billing 9.1.0+). Only billingProgram is required; link fields are used when the selected program links outside the app.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDeveloperBillingOptionParamsAndroid.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BillingProgramAndroidbillingProgramprivate final StringexternalTransactionTokenprivate final DeveloperBillingLaunchModeAndroidlaunchModeprivate final StringlinkUri
-
Constructor Summary
Constructors Constructor Description DeveloperBillingOptionParamsAndroid(BillingProgramAndroid billingProgram, String externalTransactionToken, DeveloperBillingLaunchModeAndroid launchMode, String linkUri)
-
Method Summary
Modifier and Type Method Description final BillingProgramAndroidgetBillingProgram()The billing program. final StringgetExternalTransactionToken()A pre-generated external transaction token for a Billing Choice external-link flow. final DeveloperBillingLaunchModeAndroidgetLaunchMode()The launch mode for the external payment link. final StringgetLinkUri()The URI where the external payment will be processed. final Map<String, Object>toJson()-
-
Constructor Detail
-
DeveloperBillingOptionParamsAndroid
DeveloperBillingOptionParamsAndroid(BillingProgramAndroid billingProgram, String externalTransactionToken, DeveloperBillingLaunchModeAndroid launchMode, String linkUri)
-
-
Method Detail
-
getBillingProgram
final BillingProgramAndroid getBillingProgram()
The billing program. Use EXTERNAL_PAYMENTS or BILLING_CHOICE.
-
getExternalTransactionToken
final String getExternalTransactionToken()
A pre-generated external transaction token for a Billing Choice external-link flow. Omit it when Google Play should provide the token in the callback.
-
getLaunchMode
final DeveloperBillingLaunchModeAndroid getLaunchMode()
The launch mode for the external payment link. Required only when the selected billing program links outside the app.
-
getLinkUri
final String getLinkUri()
The URI where the external payment will be processed. Required only when the selected billing program links outside the app.
-
-
-
-