PaymentRequest constructor

PaymentRequest({
  1. required String storeId,
  2. required String paymentId,
  3. required String orderName,
  4. required int totalAmount,
  5. required Currency currency,
  6. required PaymentPayMethod payMethod,
  7. String? channelKey,
  8. String? channelGroupId,
  9. int? taxFreeAmount,
  10. int? vatAmount,
  11. Customer? customer,
  12. WindowTypes? windowType,
  13. bool? forceRedirect,
  14. List<String>? noticeUrls,
  15. String? confirmUrl,
  16. required String appScheme,
  17. bool? isEscrow,
  18. List<Product>? products,
  19. bool? isCulturalExpense,
  20. Locale? locale,
  21. Object? customData,
  22. Country? country,
  23. ProductType? productType,
  24. OfferPeriod? offerPeriod,
  25. StoreDetails? storeDetails,
  26. Address? shippingAddress,
  27. String? promotionId,
  28. Popup? popup,
  29. Iframe? iframe,
  30. PaymentBypass? bypass,
  31. PaymentRequestUnionCard? card,
  32. PaymentRequestUnionVirtualAccount? virtualAccount,
  33. PaymentRequestUnionTransfer? transfer,
  34. PaymentRequestUnionMobile? mobile,
  35. PaymentRequestUnionGiftCertificate? giftCertificate,
  36. PaymentRequestUnionEasyPay? easyPay,
  37. PaymentRequestUnionPaypal? paypal,
  38. PaymentRequestUnionAlipay? alipay,
  39. PaymentRequestUnionConvenienceStore? convenienceStore,
})

Implementation

PaymentRequest({
  required this.storeId,
  required this.paymentId,
  required this.orderName,
  required this.totalAmount,
  required this.currency,
  required this.payMethod,
  this.channelKey,
  this.channelGroupId,
  this.taxFreeAmount,
  this.vatAmount,
  this.customer,
  this.windowType,
  this.forceRedirect,
  this.noticeUrls,
  this.confirmUrl,
  required this.appScheme,
  this.isEscrow,
  this.products,
  this.isCulturalExpense,
  this.locale,
  this.customData,
  this.country,
  this.productType,
  this.offerPeriod,
  this.storeDetails,
  this.shippingAddress,
  this.promotionId,
  this.popup,
  this.iframe,
  this.bypass,
  this.card,
  this.virtualAccount,
  this.transfer,
  this.mobile,
  this.giftCertificate,
  this.easyPay,
  this.paypal,
  this.alipay,
  this.convenienceStore,
});