SessionConsentCollection constructor

const SessionConsentCollection({
  1. PaymentPagesCheckoutSessionPaymentMethodReuseAgreement? paymentMethodReuseAgreement,
  2. SessionPromotions? promotions,
  3. SessionTermsOfService? termsOfService,
})

consent_collection_params

Configure fields for the Checkout Session to gather active consent from customers.

Implementation

const SessionConsentCollection({
  this.paymentMethodReuseAgreement,
  this.promotions,
  this.termsOfService,
});