PurchaseRequest constructor
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,
Implementation
PurchaseRequest({
required this.pan,
required this.amount,
required this.terminalId,
required this.merchantId,
required this.cardHolderName,
required this.cvV2,
this.merchantReference,
required this.dateExpiration,
this.refundReason,
this.requestDateTime,
this.requestSource,
required this.orderCustomerEmail,
this.otp,
this.orderKey,
required this.clientMail,
this.transactionIdentifierType,
this.transactionIdentifierValue,
this.currencyCode,
this.currencyId,
this.currencyCodeName,
this.transactionId,
this.paymentViewType,
this.referenceId,
this.deviceInformation,
this.isTokenized = false,
this.customerId,
this.customerTokenId,
this.isApplyRequest = false,
this.applePayPaymentData,
this.isSamsungPayRequest = false,
this.samsungPayData,
this.sessionToken,
});