PurchaseRequest class

Constructors

PurchaseRequest({required String pan, required num amount, required int terminalId, required int merchantId, required String cardHolderName, required String cvV2, String? merchantReference, required String dateExpiration, String? refundReason, String? requestDateTime, int? requestSource, required String orderCustomerEmail, String? otp, String? orderKey, required String clientMail, int? transactionIdentifierType, String? transactionIdentifierValue, String? currencyCode, int? currencyId, String? currencyCodeName, String? transactionId, int? paymentViewType, String? referenceId, String? deviceInformation, bool isTokenized = false, String? customerId, String? customerTokenId, bool isApplyRequest = false, Map<String, dynamic>? applePayPaymentData, bool isSamsungPayRequest = false, Map<String, dynamic>? samsungPayData, String? sessionToken})
PurchaseRequest.fromMap(Map<String, dynamic> map)
factory

Properties

amount → num
final
applePayPaymentData ↔ Map<String, dynamic>?
getter/setter pair
cardHolderName → String
final
clientMail → String
final
currencyCode → String?
final
currencyCodeName → String?
final
currencyId → int?
final
customerId → String?
final
customerTokenId → String?
final
cvV2 → String
final
dateExpiration → String
final
deviceInformation → String?
final
hashCode → int
The hash code for this object.
no setteroverride
isApplyRequest ↔ bool
getter/setter pair
isSamsungPayRequest ↔ bool
getter/setter pair
isTokenized → bool
final
merchantId → int
final
merchantReference → String?
final
orderCustomerEmail → String
final
orderKey → String?
final
otp → String?
final
pan → String
final
paymentViewType → int?
final
referenceId → String?
final
refundReason → String?
final
requestDateTime → String?
final
requestSource → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samsungPayData ↔ Map<String, dynamic>?
getter/setter pair
sessionToken ↔ String?
getter/setter pair
terminalId → int
final
transactionId → String?
final
transactionIdentifierType → int?
final
transactionIdentifierValue → String?
final

Methods

copyWith({String? pan, num? amount, String? track2Data, int? terminalId, int? merchantId, String? isCardSystemRelatedData, String? cardHolderName, String? cvV2, String? batchId, String? merchantReference, String? dateExpiration, String? refundReason, String? requestDateTime, int? requestSource, String? orderCustomerEmail, String? otp, String? orderKey, String? clientMail, int? transactionIdentifierType, String? currencyCode, int? currencyId, String? currencyCodeName, String? transactionId, int? paymentViewType, String? referenceId, String? deviceInformation, bool? isTokenized, String? customerId, String? customerTokenId, bool? isApplyRequest, Map<String, dynamic>? applePayPaymentData, bool? isSamsungPayRequest, Map<String, dynamic>? samsungPayData, String? sessionToken}) → PurchaseRequest
mapToPayWithToken() → Map<String, dynamic>
mapToPurchaseAppleSamsungData() → Map<String, dynamic>
mapToPurchaseData() → Map<String, dynamic>
mapToPurchaseStepOneData() → Map<String, dynamic>
mapToPurchaseStepTwoData() → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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