UserChoiceDetailsWrapper class

Annotations
  • @JsonSerializable(createToJson: true, explicitToJson: true)
  • @immutable

Constructors

UserChoiceDetailsWrapper({required String originalExternalTransactionId, required String externalTransactionToken, required List<UserChoiceDetailsProductWrapper> products})
Creates a purchase wrapper with the given purchase details.
const
UserChoiceDetailsWrapper.fromJson(Map<String, dynamic> map)
Factory for creating a UserChoiceDetailsWrapper from a Map with the user choice details.
factory

Properties

externalTransactionToken String
Returns a token that represents the user's prospective purchase via user choice alternative billing.
final
hashCode int
The hash code for this object.
no setteroverride
originalExternalTransactionId String
Returns the external transaction Id of the originating subscription, if the purchase is a subscription upgrade/downgrade.
final
products List<UserChoiceDetailsProductWrapper>
Returns a list of UserChoiceDetailsProductWrapper to be purchased in the user choice alternative billing flow.
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>
Creates a JSON representation of this product.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override