TokanizedCheckout class
The tokanized checkout
- Annotations
-
- @freezed
Constructors
- TokanizedCheckout({@JsonKey(name: 'id') required String paymentId, required PriceV2 amountV2, required bool test, required bool ready, String? nextActionUrl, String? errorMessage, @JsonKey(name: 'checkout', fromJson: _checkoutIdFromJson) String? checkoutId})
-
The tokanized checkout constructor
factory
-
TokanizedCheckout.fromJson(Map<
String, dynamic> json) -
The tokanized checkout from json
factory
Properties
- amountV2 → PriceV2
-
no setterinherited
- checkoutId → String?
-
no setterinherited
-
copyWith
→ $TokanizedCheckoutCopyWith<
TokanizedCheckout> -
Create a copy of TokanizedCheckout
with the given fields replaced by the non-null parameter values.
no setterinherited
- errorMessage → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextActionUrl → String?
-
no setterinherited
- paymentId → String
-
no setterinherited
- ready → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- test → bool
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this TokanizedCheckout to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited