POGatewayConfiguration

@JsonClass(generateAdapter = true)
data class POGatewayConfiguration(val id: String, val gateway: POGateway?, @Json(name = "gateway_id") val gatewayId: Int, @Json(name = "gateway_name") val gatewayName: String?, val name: String?, @Json(name = "default_currency") val defaultCurrency: String, @Json(name = "merchant_account_country_code") val merchantAccountCountryCode: String?, val enabled: Boolean, @Json(name = "created_at") val createdAt: Date, @Json(name = "enabled_at") val enabledAt: Date?, @Json(name = "sub_accounts_enabled") val subAccountsEnabled: List<String>? = null)

Defines single gateway configuration.

Parameters

id

Gateway configuration ID.

gateway

Gateway that the configuration configures.

gatewayId

ID of the gateway to which the gateway configuration belongs.

gatewayName

Gateway name.

name

Name of the gateway configuration.

defaultCurrency

Default currency of the gateway configuration.

merchantAccountCountryCode

Country code of merchant’s account.

enabled

Indicates whether configuration is currently enabled or not.

createdAt

Date at which the gateway configuration was created.

enabledAt

Date at which the gateway configuration was enabled.

subAccountsEnabled

Enabled sub accounts.

Constructors

Link copied to clipboard
constructor(id: String, gateway: POGateway?, @Json(name = "gateway_id") gatewayId: Int, @Json(name = "gateway_name") gatewayName: String?, name: String?, @Json(name = "default_currency") defaultCurrency: String, @Json(name = "merchant_account_country_code") merchantAccountCountryCode: String?, enabled: Boolean, @Json(name = "created_at") createdAt: Date, @Json(name = "enabled_at") enabledAt: Date?, @Json(name = "sub_accounts_enabled") subAccountsEnabled: List<String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
val name: String?
Link copied to clipboard