PBTEnrollmentResponse
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
- ENROLLMENT_STATUS_ENROLLED = 'enrolled'
- ENROLLMENT_STATUS_UNENROLLED = 'unenrolled'
- PAYMENT_AMOUNT_TYPE_CURRENT_BALANCE = 'current_balance'
- PAYMENT_AMOUNT_TYPE_MINIMUM_PAYMENT_DUE = 'minimum_payment_due'
- PAYMENT_AMOUNT_TYPE_PAST_PAYMENT_DUE = 'past_payment_due'
- PAYMENT_AMOUNT_TYPE_STATEMENT_BALANCE = 'statement_balance'
- $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
- getContact() : PBTContactResponse
- Gets contact
- getCustomer() : CustomerSnapshotResponse
- Gets customer
- getCustomerAccount() : CustomerAccountSnapshotResponse
- Gets customer_account
- getDaysBeforeDue() : string
- Gets days_before_due
- getEnrollmentStatus() : string
- Gets enrollment_status
- getEnrollmentStatusAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getFundingAccount() : FundingAccountSnapshotResponse
- Gets funding_account
- getModelName() : string
- The original name of the model.
- getPaymentAmountType() : string
- Gets payment_amount_type
- getPaymentAmountTypeAllowableValues() : 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)
- offsetExists() : bool
- Returns true if offset exists. False otherwise.
- offsetGet() : mixed
- Gets offset.
- offsetSet() : void
- Sets value based on offset.
- offsetUnset() : void
- Unsets offset.
- setContact() : $this
- Sets contact
- setCustomer() : $this
- Sets customer
- setCustomerAccount() : $this
- Sets customer_account
- setDaysBeforeDue() : $this
- Sets days_before_due
- setEnrollmentStatus() : $this
- Sets enrollment_status
- setFundingAccount() : $this
- Sets funding_account
- setPaymentAmountType() : $this
- Sets payment_amount_type
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- 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
ENROLLMENT_STATUS_ENROLLED
public
mixed
ENROLLMENT_STATUS_ENROLLED
= 'enrolled'
ENROLLMENT_STATUS_UNENROLLED
public
mixed
ENROLLMENT_STATUS_UNENROLLED
= 'unenrolled'
PAYMENT_AMOUNT_TYPE_CURRENT_BALANCE
public
mixed
PAYMENT_AMOUNT_TYPE_CURRENT_BALANCE
= 'current_balance'
PAYMENT_AMOUNT_TYPE_MINIMUM_PAYMENT_DUE
public
mixed
PAYMENT_AMOUNT_TYPE_MINIMUM_PAYMENT_DUE
= 'minimum_payment_due'
PAYMENT_AMOUNT_TYPE_PAST_PAYMENT_DUE
public
mixed
PAYMENT_AMOUNT_TYPE_PAST_PAYMENT_DUE
= 'past_payment_due'
PAYMENT_AMOUNT_TYPE_STATEMENT_BALANCE
public
mixed
PAYMENT_AMOUNT_TYPE_STATEMENT_BALANCE
= 'statement_balance'
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
= ['contact' => 'contact', 'customer' => 'customer', 'funding_account' => 'funding_account', 'customer_account' => 'customer_account', 'payment_amount_type' => 'payment_amount_type', 'days_before_due' => 'days_before_due', 'enrollment_status' => 'enrollment_status']
$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
= ['contact' => 'getContact', 'customer' => 'getCustomer', 'funding_account' => 'getFundingAccount', 'customer_account' => 'getCustomerAccount', 'payment_amount_type' => 'getPaymentAmountType', 'days_before_due' => 'getDaysBeforeDue', 'enrollment_status' => 'getEnrollmentStatus']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['contact' => 'setContact', 'customer' => 'setCustomer', 'funding_account' => 'setFundingAccount', 'customer_account' => 'setCustomerAccount', 'payment_amount_type' => 'setPaymentAmountType', 'days_before_due' => 'setDaysBeforeDue', 'enrollment_status' => 'setEnrollmentStatus']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['contact' => null, 'customer' => null, 'funding_account' => null, 'customer_account' => null, 'payment_amount_type' => null, 'days_before_due' => null, 'enrollment_status' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'PBTEnrollmentResponse'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['contact' => '\Orbipay\PaymentsApi\Client\Model\PBTContactResponse', 'customer' => '\Orbipay\PaymentsApi\Client\Model\CustomerSnapshotResponse', 'funding_account' => '\Orbipay\PaymentsApi\Client\Model\FundingAccountSnapshotResponse', 'customer_account' => '\Orbipay\PaymentsApi\Client\Model\CustomerAccountSnapshotResponse', 'payment_amount_type' => 'string', 'days_before_due' => 'string', 'enrollment_status' => '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> —getContact()
Gets contact
public
getContact() : PBTContactResponse
Return values
PBTContactResponse —getCustomer()
Gets customer
public
getCustomer() : CustomerSnapshotResponse
Return values
CustomerSnapshotResponse —getCustomerAccount()
Gets customer_account
public
getCustomerAccount() : CustomerAccountSnapshotResponse
Return values
CustomerAccountSnapshotResponse —getDaysBeforeDue()
Gets days_before_due
public
getDaysBeforeDue() : string
Return values
string —getEnrollmentStatus()
Gets enrollment_status
public
getEnrollmentStatus() : string
Return values
string —getEnrollmentStatusAllowableValues()
Gets allowable values of the enum
public
getEnrollmentStatusAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getFundingAccount()
Gets funding_account
public
getFundingAccount() : FundingAccountSnapshotResponse
Return values
FundingAccountSnapshotResponse —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getPaymentAmountType()
Gets payment_amount_type
public
getPaymentAmountType() : string
Return values
string —getPaymentAmountTypeAllowableValues()
Gets allowable values of the enum
public
getPaymentAmountTypeAllowableValues() : 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 —setContact()
Sets contact
public
setContact(PBTContactResponse $contact) : $this
Parameters
- $contact : PBTContactResponse
-
contact
Return values
$this —setCustomer()
Sets customer
public
setCustomer(CustomerSnapshotResponse $customer) : $this
Parameters
- $customer : CustomerSnapshotResponse
-
customer
Return values
$this —setCustomerAccount()
Sets customer_account
public
setCustomerAccount(CustomerAccountSnapshotResponse $customer_account) : $this
Parameters
- $customer_account : CustomerAccountSnapshotResponse
-
customer_account
Return values
$this —setDaysBeforeDue()
Sets days_before_due
public
setDaysBeforeDue(string $days_before_due) : $this
Parameters
- $days_before_due : string
-
The number of days before the payment due date on which the payment alert is to be sent to the enrolled customer to the contact phone provided here.
Return values
$this —setEnrollmentStatus()
Sets enrollment_status
public
setEnrollmentStatus(string $enrollment_status) : $this
Parameters
- $enrollment_status : string
-
The status of the payment enrolment.
Return values
$this —setFundingAccount()
Sets funding_account
public
setFundingAccount(FundingAccountSnapshotResponse $funding_account) : $this
Parameters
- $funding_account : FundingAccountSnapshotResponse
-
funding_account
Return values
$this —setPaymentAmountType()
Sets payment_amount_type
public
setPaymentAmountType(string $payment_amount_type) : $this
Parameters
- $payment_amount_type : string
-
The type of amount, as per the bill/statement, that is being paid. The payment amount is derived from the amount type selected for the payment. This defaults to other.
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> —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>