Documentation

PaymentNetworkResponseVo implements ModelInterface, ArrayAccess

Warning:

This class subject to change without prior notice, Please dont use this class directly.

Tags
category

Class

description

The response received from either the ACH or Card network.

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
getModelName()  : string
The original name of the model.
getPaymentAuthCode()  : string
Gets payment_auth_code
getPaymentResponseCode()  : string
Gets payment_response_code
getPaymentResponseMsg()  : string
Gets payment_response_msg
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.
setPaymentAuthCode()  : $this
Sets payment_auth_code
setPaymentResponseCode()  : $this
Sets payment_response_code
setPaymentResponseMsg()  : $this
Sets payment_response_msg
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

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_code' => 'payment_auth_code', 'payment_response_code' => 'payment_response_code', 'payment_response_msg' => 'payment_response_msg']

$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_code' => 'getPaymentAuthCode', 'payment_response_code' => 'getPaymentResponseCode', 'payment_response_msg' => 'getPaymentResponseMsg']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['payment_auth_code' => 'setPaymentAuthCode', 'payment_response_code' => 'setPaymentResponseCode', 'payment_response_msg' => 'setPaymentResponseMsg']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['payment_auth_code' => null, 'payment_response_code' => null, 'payment_response_msg' => null]

$swaggerModelName

The original name of the model.

protected static string $swaggerModelName = 'PaymentNetworkResponseVo'

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['payment_auth_code' => 'string', 'payment_response_code' => 'string', 'payment_response_msg' => '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>

getPaymentAuthCode()

Gets payment_auth_code

public getPaymentAuthCode() : string
Return values
string

getPaymentResponseCode()

Gets payment_response_code

public getPaymentResponseCode() : string
Return values
string

getPaymentResponseMsg()

Gets payment_response_msg

public getPaymentResponseMsg() : 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

setPaymentAuthCode()

Sets payment_auth_code

public setPaymentAuthCode(string $payment_auth_code) : $this
Parameters
$payment_auth_code : string

The Auth Code returned by the card gateway. This is relevant only for card payments.

Return values
$this

setPaymentResponseCode()

Sets payment_response_code

public setPaymentResponseCode(string $payment_response_code) : $this
Parameters
$payment_response_code : string

This is the ACH return code in the case of a returned payment over the NACHA ACH network. In the case of declined card payment, it's the decline code received from the card issuer or the card processor. In the case of a card chargeback, it's the chargeback code received from the card network.

Return values
$this

setPaymentResponseMsg()

Sets payment_response_msg

public setPaymentResponseMsg(string $payment_response_msg) : $this
Parameters
$payment_response_msg : string

The text describing the appropriate code captured in the payment_response_code as received from the corresponding payment network.

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>
Return values
array<string|int, mixed>

Search results