CreateCustomerRequest
in package
implements
ModelInterface, ArrayAccess
Warning:
This class subject to change without prior notice, Please dont use this class directly.
Tags
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
- getComments() : string
- Gets comments
- getCustomerAccounts() : array<string|int, CreateCustomerAccountRequest>
- Gets customer_accounts
- 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
- setComments() : $this
- Sets comments
- setCustomerAccounts() : $this
- Sets customer_accounts
- 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
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
GENDER_FEMALE
public
mixed
GENDER_FEMALE
= 'female'
GENDER_MALE
public
mixed
GENDER_MALE
= 'male'
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_accounts' => 'customer_accounts', 'comments' => 'comments', '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']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string|int, string>
$getters
= ['customer_accounts' => 'getCustomerAccounts', 'comments' => 'getComments', '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_accounts' => 'setCustomerAccounts', 'comments' => 'setComments', '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_accounts' => null, 'comments' => null, '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
= 'CreateCustomerRequest'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['customer_accounts' => '\Orbipay\PaymentsApi\Client\Model\CreateCustomerAccountRequest[]', 'comments' => 'string', '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 —__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
string —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> —getAddress()
Gets address
public
getAddress() : AddressVo
Return values
AddressVo —getComments()
Gets comments
public
getComments() : string
Return values
string —getCustomerAccounts()
Gets customer_accounts
public
getCustomerAccounts() : array<string|int, CreateCustomerAccountRequest>
Return values
array<string|int, CreateCustomerAccountRequest> —getCustomerReference()
Gets customer_reference
public
getCustomerReference() : string
Return values
string —getCustomFields()
Gets custom_fields
public
getCustomFields() : mixed
Return values
mixed —getDateOfBirth()
Gets date_of_birth
public
getDateOfBirth() : string
Return values
string —getEmail()
Gets email
public
getEmail() : string
Return values
string —getFirstName()
Gets first_name
public
getFirstName() : string
Return values
string —getGender()
Gets gender
public
getGender() : string
Return values
string —getGenderAllowableValues()
Gets allowable values of the enum
public
getGenderAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getHomePhone()
Gets home_phone
public
getHomePhone() : string
Return values
string —getLastName()
Gets last_name
public
getLastName() : string
Return values
string —getLocale()
Gets locale
public
getLocale() : string
Return values
string —getMiddleName()
Gets middle_name
public
getMiddleName() : string
Return values
string —getMobilePhone()
Gets mobile_phone
public
getMobilePhone() : string
Return values
string —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getRegisteredEmail()
Gets registered_email
public
getRegisteredEmail() : string
Return values
string —getSsn()
Gets ssn
public
getSsn() : string
Return values
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> —getWorkPhone()
Gets work_phone
public
getWorkPhone() : string
Return values
string —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 —setAddress()
Sets address
public
setAddress(AddressVo $address) : $this
Parameters
- $address : AddressVo
-
address
Return values
$this —setComments()
Sets comments
public
setComments(string $comments) : $this
Parameters
- $comments : string
-
Comments that can be used to recollect the operation performed on the resource object.
Return values
$this —setCustomerAccounts()
Sets customer_accounts
public
setCustomerAccounts(array<string|int, CreateCustomerAccountRequest> $customer_accounts) : $this
Parameters
- $customer_accounts : array<string|int, CreateCustomerAccountRequest>
-
customer_accounts
Return values
$this —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>