PaymentRequest constructor

PaymentRequest({
  1. String? locale,
  2. String? conversationId,
  3. required double price,
  4. required double paidPrice,
  5. int? installment,
  6. String? paymentChannel,
  7. String? basketId,
  8. String? paymentGroup,
  9. required PaymentCard paymentCard,
  10. required Buyer buyer,
  11. required Address shippingAddress,
  12. required Address billingAddress,
  13. required List<BasketItem> basketItems,
  14. String? callbackUrl,
  15. Currency? currency,
})

Implementation

PaymentRequest({
  String? locale,
  String? conversationId,
  required this.price,
  required this.paidPrice,
  this.installment,
  this.paymentChannel,
  this.basketId,
  this.paymentGroup,
  required this.paymentCard,
  required this.buyer,
  required this.shippingAddress,
  required this.billingAddress,
  required this.basketItems,
  this.callbackUrl,
  this.currency,
}) : super(locale, conversationId);