SimplePaymentCustomerResponse
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'
- STATUS_ACTIVE = 'active'
- STATUS_DISABLED = 'disabled'
- STATUS_INACTIVE = 'inactive'
- STATUS_REVOKED = 'revoked'
- STATUS_SUSPENDED = 'suspended'
- STATUS_VOLUNTARY_CANCELLATION = 'voluntary_cancellation'
- $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
- getAuditInfo() : AuditInfoVo
- Gets audit_info
- getComments() : string
- Gets comments
- 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
- getId() : string
- Gets id
- 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
- getStatus() : string
- Gets status
- getStatusAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getUrl() : string
- Gets url
- 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
- setAuditInfo() : $this
- Sets audit_info
- setComments() : $this
- Sets comments
- 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
- setId() : $this
- Sets id
- 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
- setStatus() : $this
- Sets status
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setUrl() : $this
- Sets url
- 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'
STATUS_ACTIVE
public
mixed
STATUS_ACTIVE
= 'active'
STATUS_DISABLED
public
mixed
STATUS_DISABLED
= 'disabled'
STATUS_INACTIVE
public
mixed
STATUS_INACTIVE
= 'inactive'
STATUS_REVOKED
public
mixed
STATUS_REVOKED
= 'revoked'
STATUS_SUSPENDED
public
mixed
STATUS_SUSPENDED
= 'suspended'
STATUS_VOLUNTARY_CANCELLATION
public
mixed
STATUS_VOLUNTARY_CANCELLATION
= 'voluntary_cancellation'
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
= ['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', 'customer_reference' => 'customer_reference', 'id' => 'id', 'status' => 'status', 'url' => 'url', 'audit_info' => 'audit_info', 'comments' => 'comments']
$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
= ['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', 'customer_reference' => 'getCustomerReference', 'id' => 'getId', 'status' => 'getStatus', 'url' => 'getUrl', 'audit_info' => 'getAuditInfo', 'comments' => 'getComments']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['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', 'customer_reference' => 'setCustomerReference', 'id' => 'setId', 'status' => 'setStatus', 'url' => 'setUrl', 'audit_info' => 'setAuditInfo', 'comments' => 'setComments']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['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, 'customer_reference' => null, 'id' => null, 'status' => null, 'url' => null, 'audit_info' => null, 'comments' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'SimplePaymentCustomerResponse'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['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]', 'customer_reference' => 'string', 'id' => 'string', 'status' => 'string', 'url' => 'string', 'audit_info' => '\Orbipay\PaymentsApi\Client\Model\AuditInfoVo', 'comments' => '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 —getAuditInfo()
Gets audit_info
public
getAuditInfo() : AuditInfoVo
Return values
AuditInfoVo —getComments()
Gets comments
public
getComments() : string
Return values
string —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 —getId()
Gets id
public
getId() : 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 —getStatus()
Gets status
public
getStatus() : string
Return values
string —getStatusAllowableValues()
Gets allowable values of the enum
public
getStatusAllowableValues() : 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> —getUrl()
Gets url
public
getUrl() : string
Return values
string —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 —setAuditInfo()
Sets audit_info
public
setAuditInfo(AuditInfoVo $audit_info) : $this
Parameters
- $audit_info : AuditInfoVo
-
audit_info
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. API clients need to ensure that no sensitive information is passed in the memo. Alacriti (EBPP) is not responsible for the security of any sensitive information that may be passed as part of the memo.
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. This will default to the registered_email while creating a customer.
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 —setId()
Sets id
public
setId(string $id) : $this
Parameters
- $id : string
-
The unique identifier assigned by EBPP to 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 —setStatus()
Sets status
public
setStatus(string $status) : $this
Parameters
- $status : string
-
The status of the customer in EBPP.
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> —setUrl()
Sets url
public
setUrl(string $url) : $this
Parameters
- $url : string
-
This URL fetches the Customer details.
Return values
$this —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>