PayerData

data class PayerData(val reference: String, val firstName: String?, val lastName: String?, val organisationName: String?, val email: String?, val phoneNumber: String?) : Parcelable

Information about the payer

Parameters

reference

String Your unique reference for the payer, e.g. customer ID or email address. It can feature a combination of letters and numbers, along with an optional single @ symbol and a curated selection of special characters like !$#%^&*.-_. Please, note that special characters are not permitted at the end of the reference value, and the @ symbol is only allowed in the middle of the reference value.

firstName

String First name. This field is required when PayerData.lastName is provided.

lastName

String Last name. This field is required when PayerData.firstName is provided.

organisationName

String Organisation name. This field is required when PayerData.firstName and PayerData.lastName are not provided.

email

String Email address.

phoneNumber

String Phone number, in E.164 format.

Constructors

Link copied to clipboard
constructor(reference: String, firstName: String?, lastName: String?, organisationName: String?, email: String?, phoneNumber: String?)

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

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)