Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BeneficiaryAddressRequest(val line1: String? = null, val line2: String? = null, val postalCode: String? = null, val city: String? = null, val state: String? = null, val country: CountryModel? = null) : Address

Beneficiary Address.

Link copied to clipboard
@Serializable
data class BeneficiaryRequest(val externalId: String, val type: BeneficiaryTypeModel, val legalType: BeneficiaryLegalTypeModel = BeneficiaryLegalTypeModel.INDIVIDUAL, val businessName: String? = null, val firstName: String? = null, val middleName: String? = null, val secondLastName: String? = null, val lastName: String? = null, val dateOfBirth: String? = null, val country: CountryModel, val currency: CurrencyModel, val address: BeneficiaryAddressRequest? = null, val phoneNumber: String? = null, val label: String? = null)

Model that holds the beneficiary data to be created.

Link copied to clipboard
@Serializable
data class BeneficiaryUpdateRequest(val externalId: String? = null, val firstName: String? = null, val middleName: String? = null, val secondLastName: String? = null, val lastName: String? = null, val businessName: String? = null, val dateOfBirth: String? = null, val address: BeneficiaryAddressRequest? = null, val phoneNumber: String?, val label: String?)

Model that holds the beneficiary data to be updated.

Link copied to clipboard
@Serializable
data class PayoutMethodAddressRequest(val line1: String? = null, val line2: String? = null, val postalCode: String? = null, val city: String, val state: String? = null)

Payout method Address.

Link copied to clipboard
@Serializable
data class PayoutMethodRequest(val externalId: String, val primary: Boolean, val country: CountryModel? = null, val currency: CurrencyModel? = null, val label: String? = null, val payoutMethodDetails: PayoutMethodFullDetailsModel)

Model that holds the payout method data to be created.

Link copied to clipboard
@Serializable
data class PayoutMethodUpdateRequest(val externalId: String? = null, val primary: Boolean? = null, val label: String? = null)

Model that holds the payout method data to be updated.

Link copied to clipboard
@Serializable
data class QuoteRequest(val amount: Long, val beneficiaryUuid: String, val payoutMethodUuid: String? = null, val amountCurrency: AmountCurrencyModel, val exchangeRate: String? = null, val exchangeRateMarkup: Float? = null, var quoteServiceFees: List<ServiceFeeRequestModel>? = null)

Model that holds the quote data to be created.

Link copied to clipboard
@Serializable
data class RemittanceRequest(val quoteUuid: String, val externalId: String? = null, val paymentMethodUuid: String? = null, val description: String? = null)

Model that holds the remittance transaction to an international beneficiary.