Documentation

RecordPaymentCustomerRequest implements ModelInterface, ArrayAccess

Warning:

This class subject to change without prior notice, Please dont use this class directly.

Tags
category

Class

Interfaces, Classes and Traits

ModelInterface
Warning:
ArrayAccess

Table of Contents

DISCRIMINATOR  = null
GENDER_FEMALE  = 'female'
GENDER_MALE  = 'male'
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getAddress()  : AddressVo
Gets address
getCustomerReference()  : string
Gets customer_reference
getCustomFields()  : mixed
Gets custom_fields
getDateOfBirth()  : string
Gets date_of_birth
getEmail()  : string
Gets email
getFirstName()  : string
Gets first_name
getGender()  : string
Gets gender
getGenderAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getHomePhone()  : string
Gets home_phone
getLastName()  : string
Gets last_name
getLocale()  : string
Gets locale
getMiddleName()  : string
Gets middle_name
getMobilePhone()  : string
Gets mobile_phone
getModelName()  : string
The original name of the model.
getRegisteredEmail()  : string
Gets registered_email
getSsn()  : string
Gets ssn
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getWorkPhone()  : string
Gets work_phone
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setAddress()  : $this
Sets address
setCustomerReference()  : $this
Sets customer_reference
setCustomFields()  : $this
Sets custom_fields
setDateOfBirth()  : $this
Sets date_of_birth
setEmail()  : $this
Sets email
setFirstName()  : $this
Sets first_name
setGender()  : $this
Sets gender
setHomePhone()  : $this
Sets home_phone
setLastName()  : $this
Sets last_name
setLocale()  : $this
Sets locale
setMiddleName()  : $this
Sets middle_name
setMobilePhone()  : $this
Sets mobile_phone
setRegisteredEmail()  : $this
Sets registered_email
setSsn()  : $this
Sets ssn
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setWorkPhone()  : $this
Sets work_phone
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['customer_reference' => 'customer_reference', 'first_name' => 'first_name', 'last_name' => 'last_name', 'middle_name' => 'middle_name', 'gender' => 'gender', 'date_of_birth' => 'date_of_birth', 'ssn' => 'ssn', 'locale' => 'locale', 'email' => 'email', 'registered_email' => 'registered_email', 'home_phone' => 'home_phone', 'work_phone' => 'work_phone', 'mobile_phone' => 'mobile_phone', 'address' => 'address', 'custom_fields' => 'custom_fields']

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['customer_reference' => 'getCustomerReference', 'first_name' => 'getFirstName', 'last_name' => 'getLastName', 'middle_name' => 'getMiddleName', 'gender' => 'getGender', 'date_of_birth' => 'getDateOfBirth', 'ssn' => 'getSsn', 'locale' => 'getLocale', 'email' => 'getEmail', 'registered_email' => 'getRegisteredEmail', 'home_phone' => 'getHomePhone', 'work_phone' => 'getWorkPhone', 'mobile_phone' => 'getMobilePhone', 'address' => 'getAddress', 'custom_fields' => 'getCustomFields']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['customer_reference' => 'setCustomerReference', 'first_name' => 'setFirstName', 'last_name' => 'setLastName', 'middle_name' => 'setMiddleName', 'gender' => 'setGender', 'date_of_birth' => 'setDateOfBirth', 'ssn' => 'setSsn', 'locale' => 'setLocale', 'email' => 'setEmail', 'registered_email' => 'setRegisteredEmail', 'home_phone' => 'setHomePhone', 'work_phone' => 'setWorkPhone', 'mobile_phone' => 'setMobilePhone', 'address' => 'setAddress', 'custom_fields' => 'setCustomFields']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['customer_reference' => null, 'first_name' => null, 'last_name' => null, 'middle_name' => null, 'gender' => null, 'date_of_birth' => null, 'ssn' => null, 'locale' => null, 'email' => 'email', 'registered_email' => 'email', 'home_phone' => null, 'work_phone' => null, 'mobile_phone' => null, 'address' => null, 'custom_fields' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'RecordPaymentCustomerRequest'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['customer_reference' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'middle_name' => 'string', 'gender' => 'string', 'date_of_birth' => 'string', 'ssn' => 'string', 'locale' => 'string', 'email' => 'string', 'registered_email' => 'string', 'home_phone' => 'string', 'work_phone' => 'string', 'mobile_phone' => 'string', 'address' => '\Orbipay\PaymentsApi\Client\Model\AddressVo', 'custom_fields' => 'map[string,string]']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

attributeMap()

Array of attributes where the key is the local name, and the value is the original name

public static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getGenderAllowableValues()

Gets allowable values of the enum

public getGenderAllowableValues() : array<string|int, string>
Return values
array<string|int, string>

getters()

Array of attributes to getter functions (for serialization of requests)

public static getters() : array<string|int, mixed>
Return values
array<string|int, mixed>

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool

offsetGet()

Gets offset.

public offsetGet(int $offset) : mixed
Parameters
$offset : int

Offset

Return values
mixed

offsetSet()

Sets value based on offset.

public offsetSet(int $offset, mixed $value) : void
Parameters
$offset : int

Offset

$value : mixed

Value to be set

Return values
void

offsetUnset()

Unsets offset.

public offsetUnset(int $offset) : void
Parameters
$offset : int

Offset

Return values
void

setCustomerReference()

Sets customer_reference

public setCustomerReference(string $customer_reference) : $this
Parameters
$customer_reference : string

The unique identifier in the client system for the customer.

Return values
$this

setCustomFields()

Sets custom_fields

public setCustomFields(mixed $custom_fields) : $this
Parameters
$custom_fields : mixed
Return values
$this

setDateOfBirth()

Sets date_of_birth

public setDateOfBirth(string $date_of_birth) : $this
Parameters
$date_of_birth : string

The date of birth of the customer. It should be in the full-date format as per ISO8601, namely, YYYY-MM-DD.

Return values
$this

setEmail()

Sets email

public setEmail(string $email) : $this
Parameters
$email : string

The email address of the customer to which notifications from EBPP will be sent.

Return values
$this

setFirstName()

Sets first_name

public setFirstName(string $first_name) : $this
Parameters
$first_name : string

The first name of the customer.

Return values
$this

setGender()

Sets gender

public setGender(string $gender) : $this
Parameters
$gender : string

The gender of the customer.

Return values
$this

setHomePhone()

Sets home_phone

public setHomePhone(string $home_phone) : $this
Parameters
$home_phone : string

The home phone number of the customer.

Return values
$this

setLastName()

Sets last_name

public setLastName(string $last_name) : $this
Parameters
$last_name : string

The last name of the customer.

Return values
$this

setLocale()

Sets locale

public setLocale(string $locale) : $this
Parameters
$locale : string

The language in which the customer wants the alerts and notifications from EBPP. This is to be specified in the format,
< ISO-639-1 language code >_< ISO ALPHA-2 Country Code >.
For e.g., en_US indicates the language preference as US English, which is also the default value.

Return values
$this

setMiddleName()

Sets middle_name

public setMiddleName(string $middle_name) : $this
Parameters
$middle_name : string

The middle name of the customer.

Return values
$this

setMobilePhone()

Sets mobile_phone

public setMobilePhone(string $mobile_phone) : $this
Parameters
$mobile_phone : string

The mobile phone number of the customer.

Return values
$this

setRegisteredEmail()

Sets registered_email

public setRegisteredEmail(string $registered_email) : $this
Parameters
$registered_email : string

The email address of the customer registered with the client. This may be used to uniquely identify the customer if the client is set up accordingly in EBPP.

Return values
$this

setSsn()

Sets ssn

public setSsn(string $ssn) : $this
Parameters
$ssn : string

The SSN of the customer if the account holder is an individual or the tax ID, if the customer is a business.

Return values
$this

setters()

Array of attributes to setter functions (for deserialization of responses)

public static setters() : array<string|int, mixed>
Return values
array<string|int, mixed>

setWorkPhone()

Sets work_phone

public setWorkPhone(string $work_phone) : $this
Parameters
$work_phone : string

The work phone number of the customer.

Return values
$this

swaggerFormats()

Array of property to format mappings. Used for (de)serialization

public static swaggerFormats() : array<string|int, mixed>
Return values
array<string|int, mixed>

swaggerTypes()

Array of property to type mappings. Used for (de)serialization

public static swaggerTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results