CheckoutSessionConsentCollection constructor
const
CheckoutSessionConsentCollection({
- CheckoutSessionConsentCollectionPaymentMethodReuseAgreement? paymentMethodReuseAgreement,
- CheckoutSessionConsentCollectionPromotions? promotions,
- CheckoutSessionConsentCollectionTermsOfService? termsOfService,
When set, provides configuration for the Checkout Session to gather active consent from customers.
Implementation
const CheckoutSessionConsentCollection({
this.paymentMethodReuseAgreement,
this.promotions,
this.termsOfService,
});