CreatePaymentSetupRequest
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
- PAYMENT_SETUP_SCHEDULE_TYPE_AUTOPAY_ENROLLMENT = 'autopay_enrollment'
- PAYMENT_SETUP_SCHEDULE_TYPE_PAYMENT_PLAN = 'payment_plan'
- PAYMENT_SETUP_SCHEDULE_TYPE_VARIABLE_RECURRING_ENROLLMENT = 'variable_recurring_enrollment'
- $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
- getAmount() : string
- Gets amount
- getCardCvvNumber() : string
- Gets card_cvv_number
- getComments() : string
- Gets comments
- getCustomer() : CustomerMinimalRequest
- Gets customer
- getCustomerAccount() : CustomerAccountMinimalRequest
- Gets customer_account
- getCustomFields() : mixed
- Gets custom_fields
- getFee() : FeeRequest
- Gets fee
- getFundingAccount() : FundingAccountMinimalRequest
- Gets funding_account
- getModelName() : string
- The original name of the model.
- getPaymentSchedule() : PaymentScheduleVo
- Gets payment_schedule
- getPaymentSetupReference() : string
- Gets payment_setup_reference
- getPaymentSetupScheduleType() : string
- Gets payment_setup_schedule_type
- getPaymentSetupScheduleTypeAllowableValues() : 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.
- setAmount() : $this
- Sets amount
- setCardCvvNumber() : $this
- Sets card_cvv_number
- setComments() : $this
- Sets comments
- setCustomer() : $this
- Sets customer
- setCustomerAccount() : $this
- Sets customer_account
- setCustomFields() : $this
- Sets custom_fields
- setFee() : $this
- Sets fee
- setFundingAccount() : $this
- Sets funding_account
- setPaymentSchedule() : $this
- Sets payment_schedule
- setPaymentSetupReference() : $this
- Sets payment_setup_reference
- setPaymentSetupScheduleType() : $this
- Sets payment_setup_schedule_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
PAYMENT_SETUP_SCHEDULE_TYPE_AUTOPAY_ENROLLMENT
public
mixed
PAYMENT_SETUP_SCHEDULE_TYPE_AUTOPAY_ENROLLMENT
= 'autopay_enrollment'
PAYMENT_SETUP_SCHEDULE_TYPE_PAYMENT_PLAN
public
mixed
PAYMENT_SETUP_SCHEDULE_TYPE_PAYMENT_PLAN
= 'payment_plan'
PAYMENT_SETUP_SCHEDULE_TYPE_VARIABLE_RECURRING_ENROLLMENT
public
mixed
PAYMENT_SETUP_SCHEDULE_TYPE_VARIABLE_RECURRING_ENROLLMENT
= 'variable_recurring_enrollment'
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
= ['payment_setup_reference' => 'payment_setup_reference', 'payment_setup_schedule_type' => 'payment_setup_schedule_type', 'amount' => 'amount', 'card_cvv_number' => 'card_cvv_number', 'fee' => 'fee', 'customer' => 'customer', 'funding_account' => 'funding_account', 'customer_account' => 'customer_account', 'payment_schedule' => 'payment_schedule', 'custom_fields' => 'custom_fields', '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
= ['payment_setup_reference' => 'getPaymentSetupReference', 'payment_setup_schedule_type' => 'getPaymentSetupScheduleType', 'amount' => 'getAmount', 'card_cvv_number' => 'getCardCvvNumber', 'fee' => 'getFee', 'customer' => 'getCustomer', 'funding_account' => 'getFundingAccount', 'customer_account' => 'getCustomerAccount', 'payment_schedule' => 'getPaymentSchedule', 'custom_fields' => 'getCustomFields', 'comments' => 'getComments']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['payment_setup_reference' => 'setPaymentSetupReference', 'payment_setup_schedule_type' => 'setPaymentSetupScheduleType', 'amount' => 'setAmount', 'card_cvv_number' => 'setCardCvvNumber', 'fee' => 'setFee', 'customer' => 'setCustomer', 'funding_account' => 'setFundingAccount', 'customer_account' => 'setCustomerAccount', 'payment_schedule' => 'setPaymentSchedule', 'custom_fields' => 'setCustomFields', 'comments' => 'setComments']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['payment_setup_reference' => null, 'payment_setup_schedule_type' => null, 'amount' => null, 'card_cvv_number' => null, 'fee' => null, 'customer' => null, 'funding_account' => null, 'customer_account' => null, 'payment_schedule' => null, 'custom_fields' => null, 'comments' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'CreatePaymentSetupRequest'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['payment_setup_reference' => 'string', 'payment_setup_schedule_type' => 'string', 'amount' => 'string', 'card_cvv_number' => 'string', 'fee' => '\Orbipay\PaymentsApi\Client\Model\FeeRequest', 'customer' => '\Orbipay\PaymentsApi\Client\Model\CustomerMinimalRequest', 'funding_account' => '\Orbipay\PaymentsApi\Client\Model\FundingAccountMinimalRequest', 'customer_account' => '\Orbipay\PaymentsApi\Client\Model\CustomerAccountMinimalRequest', 'payment_schedule' => '\Orbipay\PaymentsApi\Client\Model\PaymentScheduleVo', 'custom_fields' => 'map[string,string]', '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> —getAmount()
Gets amount
public
getAmount() : string
Return values
string —getCardCvvNumber()
Gets card_cvv_number
public
getCardCvvNumber() : string
Return values
string —getComments()
Gets comments
public
getComments() : string
Return values
string —getCustomer()
Gets customer
public
getCustomer() : CustomerMinimalRequest
Return values
CustomerMinimalRequest —getCustomerAccount()
Gets customer_account
public
getCustomerAccount() : CustomerAccountMinimalRequest
Return values
CustomerAccountMinimalRequest —getCustomFields()
Gets custom_fields
public
getCustomFields() : mixed
Return values
mixed —getFee()
Gets fee
public
getFee() : FeeRequest
Return values
FeeRequest —getFundingAccount()
Gets funding_account
public
getFundingAccount() : FundingAccountMinimalRequest
Return values
FundingAccountMinimalRequest —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getPaymentSchedule()
Gets payment_schedule
public
getPaymentSchedule() : PaymentScheduleVo
Return values
PaymentScheduleVo —getPaymentSetupReference()
Gets payment_setup_reference
public
getPaymentSetupReference() : string
Return values
string —getPaymentSetupScheduleType()
Gets payment_setup_schedule_type
public
getPaymentSetupScheduleType() : string
Return values
string —getPaymentSetupScheduleTypeAllowableValues()
Gets allowable values of the enum
public
getPaymentSetupScheduleTypeAllowableValues() : 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 —setAmount()
Sets amount
public
setAmount(string $amount) : $this
Parameters
- $amount : string
-
The amount being paid. In case the payment_amount_type is 'discounted_amount', 'penalty_amount' or 'other', the amount needs to be specified. In other cases, this is derived from the payment_amount_type.
Return values
$this —setCardCvvNumber()
Sets card_cvv_number
public
setCardCvvNumber(string $card_cvv_number) : $this
Parameters
- $card_cvv_number : string
-
This is never returned by EBPP. This needs to be passed to EBPP when making or editing a payment with a card funding account.
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 —setCustomer()
Sets customer
public
setCustomer(CustomerMinimalRequest $customer) : $this
Parameters
- $customer : CustomerMinimalRequest
-
customer
Return values
$this —setCustomerAccount()
Sets customer_account
public
setCustomerAccount(CustomerAccountMinimalRequest $customer_account) : $this
Parameters
- $customer_account : CustomerAccountMinimalRequest
-
customer_account
Return values
$this —setCustomFields()
Sets custom_fields
public
setCustomFields(mixed $custom_fields) : $this
Parameters
- $custom_fields : mixed
Return values
$this —setFee()
Sets fee
public
setFee(FeeRequest $fee) : $this
Parameters
- $fee : FeeRequest
-
fee
Return values
$this —setFundingAccount()
Sets funding_account
public
setFundingAccount(FundingAccountMinimalRequest $funding_account) : $this
Parameters
- $funding_account : FundingAccountMinimalRequest
-
funding_account
Return values
$this —setPaymentSchedule()
Sets payment_schedule
public
setPaymentSchedule(PaymentScheduleVo $payment_schedule) : $this
Parameters
- $payment_schedule : PaymentScheduleVo
-
payment_schedule
Return values
$this —setPaymentSetupReference()
Sets payment_setup_reference
public
setPaymentSetupReference(string $payment_setup_reference) : $this
Parameters
- $payment_setup_reference : string
-
The unique identifier in the client system for the paymentSetup.
Return values
$this —setPaymentSetupScheduleType()
Sets payment_setup_schedule_type
public
setPaymentSetupScheduleType(string $payment_setup_schedule_type) : $this
Parameters
- $payment_setup_schedule_type : string
-
The schedule type for the payment setup.
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>