CustomerSnapshotResponse
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
- $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
- getEmail() : string
- Gets email
- getFirstName() : string
- Gets first_name
- getHomePhone() : string
- Gets home_phone
- getId() : string
- Gets id
- getLastName() : string
- Gets last_name
- getMiddleName() : string
- Gets middle_name
- getModelName() : string
- The original name of the model.
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getUrl() : string
- Gets url
- 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
- setEmail() : $this
- Sets email
- setFirstName() : $this
- Sets first_name
- setHomePhone() : $this
- Sets home_phone
- setId() : $this
- Sets id
- setLastName() : $this
- Sets last_name
- setMiddleName() : $this
- Sets middle_name
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setUrl() : $this
- Sets url
- 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
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
= ['id' => 'id', 'url' => 'url', 'customer_reference' => 'customer_reference', 'first_name' => 'first_name', 'last_name' => 'last_name', 'middle_name' => 'middle_name', 'email' => 'email', 'home_phone' => 'home_phone', 'address' => 'address']
$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
= ['id' => 'getId', 'url' => 'getUrl', 'customer_reference' => 'getCustomerReference', 'first_name' => 'getFirstName', 'last_name' => 'getLastName', 'middle_name' => 'getMiddleName', 'email' => 'getEmail', 'home_phone' => 'getHomePhone', 'address' => 'getAddress']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['id' => 'setId', 'url' => 'setUrl', 'customer_reference' => 'setCustomerReference', 'first_name' => 'setFirstName', 'last_name' => 'setLastName', 'middle_name' => 'setMiddleName', 'email' => 'setEmail', 'home_phone' => 'setHomePhone', 'address' => 'setAddress']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['id' => null, 'url' => null, 'customer_reference' => null, 'first_name' => null, 'last_name' => null, 'middle_name' => null, 'email' => 'email', 'home_phone' => null, 'address' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'CustomerSnapshotResponse'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['id' => 'string', 'url' => 'string', 'customer_reference' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'middle_name' => 'string', 'email' => 'string', 'home_phone' => 'string', 'address' => '\Orbipay\PaymentsApi\Client\Model\AddressVo']
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 —getCustomerReference()
Gets customer_reference
public
getCustomerReference() : string
Return values
string —getEmail()
Gets email
public
getEmail() : string
Return values
string —getFirstName()
Gets first_name
public
getFirstName() : string
Return values
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 —getMiddleName()
Gets middle_name
public
getMiddleName() : string
Return values
string —getModelName()
The original name of the model.
public
getModelName() : 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> —getUrl()
Gets url
public
getUrl() : 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 —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 —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 —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 —setMiddleName()
Sets middle_name
public
setMiddleName(string $middle_name) : $this
Parameters
- $middle_name : string
-
The middle initial of the customer.
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
-
The URL that can be used to fetch the details 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>