SessionParams
data class SessionParams(val environment: Environment, val clientKey: String, val enableStoreDetails: Boolean?, val installmentConfiguration: SessionInstallmentConfiguration?, val showRemovePaymentMethodButton: Boolean?, val amount: Amount?, val returnUrl: String?, val shopperLocale: Locale?)
Object that holds values set during sessions setup call. SessionParams values by default should have higher priority than values set in client side configurations. Otherwise it can cause server error, since specific configuration is not enabled, but it is being used.
Only for some specific cases, if they do not cause server error, client side configurations can have higher priority than SessionParams values.
Constructors
Link copied to clipboard
constructor(environment: Environment, clientKey: String, enableStoreDetails: Boolean?, installmentConfiguration: SessionInstallmentConfiguration?, showRemovePaymentMethodButton: Boolean?, amount: Amount?, returnUrl: String?, shopperLocale: Locale?)