Package com.alviere.android.payments.repository.model

Types

Address
Link copied to clipboard
class Address(@Json(name = "line_1"lineOne: String, @Json(name = "line_2"lineTwo: String?, @Json(name = "postal_code"postalCode: String, @Json(name = "city"city: String, @Json(name = "state"state: String, @Json(name = "country"country: String) : Parcelable
Address Object
AuthorizationType
Link copied to clipboard
enum AuthorizationType : Enum<AuthorizationType> , Parcelable
Alviere authorization type
BillingDetails
Link copied to clipboard
class BillingDetails(@Json(name = "first_name"firstName: String, @Json(name = "last_name"lastName: String, @Json(name = "email_address"emailAddress: String, @Json(name = "phone_number"phoneNumber: String, @Json(name = "address"address: Address) : Parcelable
Consumer identification details
CardValidation
Link copied to clipboard
class CardValidation(@Json(name = "error_code"errorCode: String, @Json(name = "error_description"errorDescription: String, @Json(name = "cvv_result"cvvResult: String, @Json(name = "avs_result"avsResult: String) : Serializable
Created Card Validation Object
Currency
Link copied to clipboard
enum Currency : Enum<Currency> , Parcelable
The currency details what currency type is being used for the transaction, using the ISO-4217 format.
ResponseResult
Link copied to clipboard
enum ResponseResult : Enum<ResponseResult>
Result of the operation
Transaction
Link copied to clipboard
class Transaction(@Json(name = "ptx_uuid"ptxUuid: String, @Json(name = "parent_ptx_uuid"parentPtxUuid: String?, @Json(name = "type"type: TransactionType, @Json(name = "status"status: TransactionStatus, @Json(name = "amount"amount: String, @Json(name = "currency"currency: Currency, @Json(name = "refunded"refunded: Boolean, @Json(name = "date"date: String)
The payment transaction
TransactionStatus
Link copied to clipboard
enum TransactionStatus : Enum<TransactionStatus>
The transaction status details the current status of the transaction during its life-cycle
TransactionType
Link copied to clipboard
enum TransactionType : Enum<TransactionType>
The payment transaction type details either the direction of funds flow such as debits or credits, or other types such as refunds.