Configuration
class Configuration
Configuration options for a CheckoutElementsController, including per-element configuration and feature toggles. Build with the fluent setters and pass to CheckoutElementsController.configure.
Types
Functions
Link copied to clipboard
fun currencySelectorElement(configuration: CurrencySelectorElement.Configuration): CheckoutElementsController.Configuration
Sets the configuration for the currency selector element.
Link copied to clipboard
fun defaults(defaults: CheckoutElementsController.Configuration.Defaults): CheckoutElementsController.Configuration
Prefill values for the customer's details. If known up front, these prepopulate the elements (and the Checkout Session) so the customer doesn't re-enter them.
Link copied to clipboard
fun expressCheckoutElement(configuration: ExpressCheckoutElement.Configuration): CheckoutElementsController.Configuration
Sets the configuration for the express checkout element.
Link copied to clipboard
Sets the merchant display name shown to the customer during checkout.
Link copied to clipboard
fun paymentElement(configuration: PaymentElement.Configuration): CheckoutElementsController.Configuration
Sets the configuration for the payment element.
Link copied to clipboard
fun shippingAddressElement(configuration: ShippingAddressElement.Configuration): CheckoutElementsController.Configuration
Sets the configuration for the shipping address element.