FortRequest class

Constructors

FortRequest({required FortCommand command, required num amount, required String customerName, required String customerEmail, String? orderDescription, required String sdkToken, String? customerIp, required String merchantReference, String currency = 'USD', String language = 'en', String? tokenName, String? paymentOption, String? eci, String? phoneNumber})
const

Properties

amount → num
The transaction’s amount. Each currency has predefined allowed decimal points that should be taken into consideration when sending the amount.
final
command → FortCommand
final
currency → String
The currency of the transaction’s amount in ISO code 3. Example: AED, USD, EUR, GBP. By Default currency : USD.
final
customerEmail → String
The customer’s email. Example: customer1@domain.com
final
customerIp → String?
It holds the customer’s IP address. It’s Mandatory, if the fraud service is active. We support IPv4 and IPv6 as shown in the example below.
final
customerName → String
The customer’s name.
final
eci → String?
The E-commerce indicator. example: ECOMMERCE.
final
hashCode → int
The hash code for this object.
no setterinherited
language → String
The checkout page and messages language. By default language: en.
final
merchantReference → String
The Merchant’s unique order number.
final
orderDescription → String?
A description of the order.
final
paymentOption → String?
Payment option. MASTERCARD, VISA, AMEX etc...
final
phoneNumber → String?
The customer’s phone number.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkToken → String
An SDK Token to enable using the Amazon Payment Services Mobile SDK.
final
tokenName → String?
The Token received from the Tokenization process..
final

Methods

asMap() → Map<String, dynamic>
copyWith({FortCommand? command, num? amount, String? customerName, String? customerEmail, String? orderDescription, String? sdkToken, String? customerIp, String? currency, String? language, String? merchantReference, String? tokenName, String? paymentOption, String? eci, String? phoneNumber}) → FortRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited