CustomerSession constructor
const
CustomerSession({
- required String clientSecret,
- CustomerSessionResourceComponents? components,
- required DateTime created,
- required CustomerOrId customer,
- required DateTime expiresAt,
- 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,
});