Package com.xsolla.android.store.entity.request.payment

Types

Link copied to clipboard
class CustomParameters
Link copied to clipboard
data class DesktopSettings(val header: UiDesktopProjectSettingHeader)
Link copied to clipboard
data class MobileSettings(    val mode: String? = null,     val header: UiMobileProjectSettingHeader? = null,     val footer: UiDesktopProjectSettingFooter? = null)
Link copied to clipboard
data class PaymentOptions(    val currency: String? = null,     val locale: String? = null,     val country: String? = null,     val isSandbox: Boolean = true,     val settings: PaymentProjectSettings? = PaymentProjectSettings(),     val customParameters: CustomParameters? = null)
Link copied to clipboard
data class PaymentProjectSettings(    val ui: UiProjectSetting? = UiProjectSetting(),     val paymentMethod: Int? = null,     val returnUrl: String? = null,     val redirectPolicy: SettingsRedirectPolicy? = null,     val externalId: String? = null,     val sdk: SDKTokenSettings? = SDKTokenSettings())
Link copied to clipboard
data class PaymentTokenBodySettings(    val uiSettings: PaymentProjectSettings?,     val currency: String? = null,     val locale: String? = null,     val sandbox: Boolean = true,     val externalId: String? = null,     val paymentMethod: String? = null,     val returnUrl: String? = null,     val redirectPolicy: SettingsRedirectPolicy?)
Link copied to clipboard
data class PurchaseObject(    val checkout: PurchaseObjectCheckout? = null,     val items: List<PurchaseObjectItem>? = null,     val description: PurchaseObjectDescription? = null)
Link copied to clipboard
data class PurchaseObjectCheckout(val amount: Double, val currency: String)
Link copied to clipboard
data class PurchaseObjectDescription(val value: String)
Link copied to clipboard
data class PurchaseObjectItem(    val name: String,     val imageUrl: String,     val description: String,     val price: Price,     val quantity: Int,     val isBonus: Boolean)
Link copied to clipboard
data class SDKTokenSettings(var externalTransactionToken: String? = null)
Link copied to clipboard
data class SettingsRedirectPolicy(    val redirectConditions: String = "none",     val delay: Int = 0,     val statusForManualRedirection: String = "none",     val redirectButtonCaption: String? = null)
Link copied to clipboard
data class UiDesktopProjectSettingFooter(val isVisible: Boolean)
Link copied to clipboard
data class UiDesktopProjectSettingHeader(    val isVisible: Boolean,     val visibleLogo: Boolean,     val visibleName: Boolean,     val visiblePurchase: Boolean,     val type: String,     val closeButton: Boolean,     val closeButtonIcon: String? = "cross")
Link copied to clipboard
data class UiMobileProjectSettingHeader(val closeButton: Boolean, val closeButtonIcon: String? = "cross")
Link copied to clipboard
data class UiProjectSetting(    val size: String? = null,     val theme: String? = "63295aab2e47fab76f7708e3",     val version: String? = null,     val desktop: DesktopSettings? = null,     val mobile: MobileSettings? = null,     val licenseUrl: String? = null,     val mode: String? = null,     val userAccount: UserAccountDetails? = null,     val gpQuickPaymentButton: Boolean? = true)
Link copied to clipboard
data class UserAccountDetails(    val history: UserAccountHistory,     val paymentAccounts: UserAccountPaymentAccounts,     val info: UserAccountInfo,     val subscriptions: UserAccountSubscriptions)
Link copied to clipboard
data class UserAccountHistory(val enable: Boolean, val order: Int)
Link copied to clipboard
data class UserAccountInfo(val enable: Boolean, val order: Int)
Link copied to clipboard
data class UserAccountPaymentAccounts(val enable: Boolean, val order: Int)
Link copied to clipboard
data class UserAccountSubscriptions(val enable: Boolean, val order: Int)