PostCheckoutRequest class
PostCheckoutRequest
Constructors
- PostCheckoutRequest({required String amount, required String currency, required String language, required Cart cart, required String externalId, required String redirectFailURL, required String redirectSuccessURL, required String requestOrigin, required String vendorId, required String vendorName})
-
PostCheckoutRequest.fromMap(Map<
String, dynamic> map) -
factory
Properties
- amount → String
-
Amount that will be charged from the given account.
final
- cart → Cart
-
Cart object containing the items to be purchased
final
- currency → String
-
Currency code that will convert amount into specific currency format
final
- externalId → String
-
30 character unique ID
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
Language code for application to translate
final
- redirectFailURL → String
-
URL that to be redirected to at transaction failure
final
- redirectSuccessURL → String
-
URL to be redirected to at transaction success
final
- requestOrigin → String
-
URL which the request is being originated
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vendorId → String
-
Unique ID for vendor validation
final
- vendorName → String
-
Name of the vendor
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the model to a map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited