DeveloperBillingOptionParamsAndroid class
Parameters 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.
Constructors
- DeveloperBillingOptionParamsAndroid({required BillingProgramAndroid billingProgram, String? externalTransactionToken, DeveloperBillingLaunchModeAndroid? launchMode, String? linkUri})
-
const
-
DeveloperBillingOptionParamsAndroid.fromJson(Map<
String, dynamic> json) -
factory
Properties
- billingProgram → BillingProgramAndroid
-
The billing program. Use EXTERNAL_PAYMENTS or BILLING_CHOICE.
final
- externalTransactionToken → String?
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- launchMode → DeveloperBillingLaunchModeAndroid?
-
The launch mode for the external payment link.
Required only when the selected billing program links outside the app.
final
- linkUri → String?
-
The URI where the external payment will be processed.
Required only when the selected billing program links outside the app.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited