CreateCheckoutSessionRequest constructor

CreateCheckoutSessionRequest(
  1. {required String successUrl,
  2. required String cancelUrl,
  3. required List<PaymentMethodType> paymentMethodTypes,
  4. SessionMode? mode,
  5. String? clientReferenceId,
  6. String? customerEmail,
  7. String? customer,
  8. List<LineItem>? lineItems,
  9. BillingAddressCollection? billingAddressCollection,
  10. AutomaticTax? automaticTax,
  11. TaxIdCollection? taxIdCollection,
  12. PaymentIntentData? paymentIntentData,
  13. SubscriptionData? subscriptionData}
)

Implementation

CreateCheckoutSessionRequest({
  required this.successUrl,
  required this.cancelUrl,
  required this.paymentMethodTypes,
  this.mode,
  this.clientReferenceId,
  this.customerEmail,
  this.customer,
  this.lineItems,
  this.billingAddressCollection,
  this.automaticTax,
  this.taxIdCollection,
  this.paymentIntentData,
  this.subscriptionData,
});