PaymentRequest constructor
PaymentRequest({
- required String storeId,
- required String paymentId,
- required String orderName,
- required int totalAmount,
- required Currency currency,
- required PaymentPayMethod payMethod,
- String? channelKey,
- String? channelGroupId,
- int? taxFreeAmount,
- int? vatAmount,
- Customer? customer,
- WindowTypes? windowType,
- bool? forceRedirect,
- List<
String> ? noticeUrls, - String? confirmUrl,
- required String appScheme,
- bool? isEscrow,
- List<
Product> ? products, - bool? isCulturalExpense,
- Locale? locale,
- Object? customData,
- Country? country,
- ProductType? productType,
- OfferPeriod? offerPeriod,
- StoreDetails? storeDetails,
- Address? shippingAddress,
- String? promotionId,
- Popup? popup,
- Iframe? iframe,
- PaymentBypass? bypass,
- PaymentRequestUnionCard? card,
- PaymentRequestUnionVirtualAccount? virtualAccount,
- PaymentRequestUnionTransfer? transfer,
- PaymentRequestUnionMobile? mobile,
- PaymentRequestUnionGiftCertificate? giftCertificate,
- PaymentRequestUnionEasyPay? easyPay,
- PaymentRequestUnionPaypal? paypal,
- PaymentRequestUnionAlipay? alipay,
- 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,
});