CheckoutSession constructor

CheckoutSession({
  1. String? billingAddressCollection,
  2. String? cancelUrl,
  3. String? clientReferenceId,
  4. dynamic customer,
  5. String? customerEmail,
  6. List<DisplayItem>? displayItems,
  7. String? id,
  8. LineItems? lineItems,
  9. bool? livemode,
  10. String? locale,
  11. Map<String, dynamic>? metadata,
  12. String? mode,
  13. String? object,
  14. dynamic paymentIntent,
  15. List<String>? paymentMethodTypes,
  16. dynamic setupIntent,
  17. Shipping? shipping,
  18. ShippingAddressCollection? shippingAddressCollection,
  19. String? submitType,
  20. dynamic subscription,
  21. String? successUrl,
})

Implementation

CheckoutSession(
    {this.billingAddressCollection,
    this.cancelUrl,
    this.clientReferenceId,
    this.customer,
    this.customerEmail,
    this.displayItems,
    this.id,
    this.lineItems,
    this.livemode,
    this.locale,
    this.metadata,
    this.mode,
    this.object,
    this.paymentIntent,
    this.paymentMethodTypes,
    this.setupIntent,
    this.shipping,
    this.shippingAddressCollection,
    this.submitType,
    this.subscription,
    this.successUrl});