enum StorePaymentMethodMode
Whether a payment session stores the payment method the customer enters against its contact, and whether the customer gets a say in it.
Disabled— Nothing is stored. The default.AskForConsent— Checkout offers the customer the choice of saving their details and stores the method only if they accept. Payment options that are unsuitable for storing stay available, since the customer may decline and pay with one; no saving is offered for those options.Enabled— The method is stored as a condition of paying, and checkout tells the customer so rather than asking. Payment options that are unsuitable for storing are withdrawn from the session.