CreatePaymentAuthorizationRequest
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
- getAuthAmount() : string
- Gets auth_amount
- getCardCvvNumber() : string
- Gets card_cvv_number
- getComments() : string
- Gets comments
- getCustomer() : PaymentAuthCustomerRequest
- Gets customer
- getCustomerAccount() : PaymentAuthCustomerAccountRequest
- Gets customer_account
- getCustomFields() : mixed
- Gets custom_fields
- getFundingAccount() : PaymentAuthFundingAccountRequest
- Gets funding_account
- getModelName() : string
- The original name of the model.
- getPaymentAuthReference() : string
- Gets payment_auth_reference
- 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.
- setAuthAmount() : $this
- Sets auth_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
- setFundingAccount() : $this
- Sets funding_account
- setPaymentAuthReference() : $this
- Sets payment_auth_reference
- 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
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_auth_reference' => 'payment_auth_reference', 'auth_amount' => 'auth_amount', 'card_cvv_number' => 'card_cvv_number', 'customer' => 'customer', 'funding_account' => 'funding_account', 'customer_account' => 'customer_account', 'comments' => 'comments', '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
= ['payment_auth_reference' => 'getPaymentAuthReference', 'auth_amount' => 'getAuthAmount', 'card_cvv_number' => 'getCardCvvNumber', 'customer' => 'getCustomer', 'funding_account' => 'getFundingAccount', 'customer_account' => 'getCustomerAccount', 'comments' => 'getComments', 'custom_fields' => 'getCustomFields']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['payment_auth_reference' => 'setPaymentAuthReference', 'auth_amount' => 'setAuthAmount', 'card_cvv_number' => 'setCardCvvNumber', 'customer' => 'setCustomer', 'funding_account' => 'setFundingAccount', 'customer_account' => 'setCustomerAccount', 'comments' => 'setComments', 'custom_fields' => 'setCustomFields']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['payment_auth_reference' => null, 'auth_amount' => null, 'card_cvv_number' => null, 'customer' => null, 'funding_account' => null, 'customer_account' => null, 'comments' => null, 'custom_fields' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'CreatePaymentAuthorizationRequest'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['payment_auth_reference' => 'string', 'auth_amount' => 'string', 'card_cvv_number' => 'string', 'customer' => '\Orbipay\PaymentsApi\Client\Model\PaymentAuthCustomerRequest', 'funding_account' => '\Orbipay\PaymentsApi\Client\Model\PaymentAuthFundingAccountRequest', 'customer_account' => '\Orbipay\PaymentsApi\Client\Model\PaymentAuthCustomerAccountRequest', 'comments' => 'string', '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> —getAuthAmount()
Gets auth_amount
public
getAuthAmount() : 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() : PaymentAuthCustomerRequest
Return values
PaymentAuthCustomerRequest —getCustomerAccount()
Gets customer_account
public
getCustomerAccount() : PaymentAuthCustomerAccountRequest
Return values
PaymentAuthCustomerAccountRequest —getCustomFields()
Gets custom_fields
public
getCustomFields() : mixed
Return values
mixed —getFundingAccount()
Gets funding_account
public
getFundingAccount() : PaymentAuthFundingAccountRequest
Return values
PaymentAuthFundingAccountRequest —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getPaymentAuthReference()
Gets payment_auth_reference
public
getPaymentAuthReference() : 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> —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 —setAuthAmount()
Sets auth_amount
public
setAuthAmount(string $auth_amount) : $this
Parameters
- $auth_amount : string
-
The amount being authorized.
Return values
$this —setCardCvvNumber()
Sets card_cvv_number
public
setCardCvvNumber(string $card_cvv_number) : $this
Parameters
- $card_cvv_number : string
-
card_cvv_number
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 —setCustomer()
Sets customer
public
setCustomer(PaymentAuthCustomerRequest $customer) : $this
Parameters
- $customer : PaymentAuthCustomerRequest
-
customer
Return values
$this —setCustomerAccount()
Sets customer_account
public
setCustomerAccount(PaymentAuthCustomerAccountRequest $customer_account) : $this
Parameters
- $customer_account : PaymentAuthCustomerAccountRequest
-
customer_account
Return values
$this —setCustomFields()
Sets custom_fields
public
setCustomFields(mixed $custom_fields) : $this
Parameters
- $custom_fields : mixed
Return values
$this —setFundingAccount()
Sets funding_account
public
setFundingAccount(PaymentAuthFundingAccountRequest $funding_account) : $this
Parameters
- $funding_account : PaymentAuthFundingAccountRequest
-
funding_account
Return values
$this —setPaymentAuthReference()
Sets payment_auth_reference
public
setPaymentAuthReference(string $payment_auth_reference) : $this
Parameters
- $payment_auth_reference : string
-
The unique identifier in the client system for the payment authorization. This is mandatory in case of voyager fleet card payment.
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>