CustomerSession constructor

const CustomerSession({
  1. required String clientSecret,
  2. CustomerSessionResourceComponents? components,
  3. required DateTime created,
  4. required CustomerOrId customer,
  5. required DateTime expiresAt,
  6. required bool livemode,
})

CustomerSessionResourceCustomerSession

A customer session allows you to grant client access to Stripe's frontend SDKs (like StripeJs) control over a customer.

Implementation

const CustomerSession({
  required this.clientSecret,
  this.components,
  required this.created,
  required this.customer,
  required this.expiresAt,
  required this.livemode,
});