CheckoutData class
Constructors
-
CheckoutData.new({Map<
String, dynamic> ? metadata, required Order order, Shopper? shopper}) - Creates a new instance of CheckoutData.
-
CheckoutData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
Additional information that can be sent to the payment gateway.
final
- order → Order
-
Order information.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shopper → Shopper?
-
Shopper information.
final
Methods
-
copyWith(
{Map< String, dynamic> ? metadata, Order? order, Shopper? shopper}) → CheckoutData -
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