PayObject

data class PayObject(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = sender_holdersenderHolder: String?, @Json(name = sender_ibansenderIban: String?, @Json(name = sender_bicsenderBic: String?, @Json(name = sender_bank_namesenderBankName: String?, @Json(name = sender_country_idsenderCountryId: CountryId?, @Json(name = recipient_holderrecipientHolder: String?, @Json(name = recipient_ibanrecipientIban: String?, @Json(name = recipient_bicrecipientBic: String?, @Json(name = recipient_bank_namerecipientBankName: String?, @Json(name = recipient_country_idrecipientCountryId: CountryId?, @Json(name = purposepurpose: String, @Json(name = amountamount: Float, @Json(name = currency_idcurrencyId: CurrencyId?, @Json(name = testmodetestmode: Boolean, @Json(name = payment_statuspaymentStatus: PaymentStatus, @Json(name = metadatametadata: Map<String, Any>?, @Json(name = merchant_idmerchantId: String?, @Json(name = objectobject: String)

Parameters

id

Transaction id

transaction

Internal XS2A transaction id. This id will be the same for the whole transaction

senderHolder

Account holder of the sender account

senderIban

IBAN of the sender account

senderBic

BIC of the sender account

senderBankName

Name of the sender bank

senderCountryId

Two letter country code id, e.g. AT, CH, DE or the sender account

recipientHolder

Account holder of the recipient account

recipientIban

IBAN of the recipient account

recipientBic

BIC of the recipient account

recipientBankName

Name of the recipient bank

recipientCountryId

Two letter country code id, e.g. AT, CH, DE or the recipient account

purpose

Purpose of transfer

amount

Amount to transfer

currencyId

Currency id of amount, e.g. 'EUR'

testmode

Indicates whether or not it is a test transaction

paymentStatus

Payment status of the transaction, values NONE, RECEIVED, LOSS

metadata

Custom data will be returned unchanged. If no data was submitted, this field will be null

merchantId

Data will be returned unchanged

object Object type, in this case a xs2a_payment

Constructors

PayObject
Link copied to clipboard
fun PayObject(@Json(name = idid: String, @Json(name = transactiontransaction: String, @Json(name = sender_holdersenderHolder: String? = null, @Json(name = sender_ibansenderIban: String? = null, @Json(name = sender_bicsenderBic: String? = null, @Json(name = sender_bank_namesenderBankName: String? = null, @Json(name = sender_country_idsenderCountryId: CountryId? = null, @Json(name = recipient_holderrecipientHolder: String? = null, @Json(name = recipient_ibanrecipientIban: String? = null, @Json(name = recipient_bicrecipientBic: String? = null, @Json(name = recipient_bank_namerecipientBankName: String? = null, @Json(name = recipient_country_idrecipientCountryId: CountryId? = null, @Json(name = purposepurpose: String, @Json(name = amountamount: Float, @Json(name = currency_idcurrencyId: CurrencyId? = null, @Json(name = testmodetestmode: Boolean, @Json(name = payment_statuspaymentStatus: PaymentStatus, @Json(name = metadatametadata: Map<String, Any>? = null, @Json(name = merchant_idmerchantId: String? = null, @Json(name = objectobject: String)
Transaction id

Properties

amount
Link copied to clipboard
var amount: Float
Amount to transfer
currencyId
Link copied to clipboard
var currencyId: CurrencyId? = null
Currency id of amount, e.g.
id
Link copied to clipboard
var id: String
Transaction id
merchantId
Link copied to clipboard
var merchantId: String? = null
Data will be returned unchanged
metadata
Link copied to clipboard
var metadata: Map<String, Any>? = null
Custom data will be returned unchanged.
object
Link copied to clipboard
var object: String
paymentStatus
Link copied to clipboard
var paymentStatus: PaymentStatus
Payment status of the transaction, values NONE, RECEIVED, LOSS
purpose
Link copied to clipboard
var purpose: String
Purpose of transfer
recipientBankName
Link copied to clipboard
var recipientBankName: String? = null
Name of the recipient bank
recipientBic
Link copied to clipboard
var recipientBic: String? = null
BIC of the recipient account
recipientCountryId
Link copied to clipboard
var recipientCountryId: CountryId? = null
Two letter country code id, e.g.
recipientHolder
Link copied to clipboard
var recipientHolder: String? = null
Account holder of the recipient account
recipientIban
Link copied to clipboard
var recipientIban: String? = null
IBAN of the recipient account
senderBankName
Link copied to clipboard
var senderBankName: String? = null
Name of the sender bank
senderBic
Link copied to clipboard
var senderBic: String? = null
BIC of the sender account
senderCountryId
Link copied to clipboard
var senderCountryId: CountryId? = null
Two letter country code id, e.g.
senderHolder
Link copied to clipboard
var senderHolder: String? = null
Account holder of the sender account
senderIban
Link copied to clipboard
var senderIban: String? = null
IBAN of the sender account
testmode
Link copied to clipboard
var testmode: Boolean
Indicates whether or not it is a test transaction
transaction
Link copied to clipboard
var transaction: String
Internal XS2A transaction id.