Documentation

PaymentNetworkResponse

PaymentNetworkResponse Class Doc Comment

Tags
category

Class

description

The response received from either the ACH or Card network.

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
$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
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
$payment_auth_code  : string
$payment_response_code  : string
$payment_response_msg  : string
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
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)
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
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']

$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]

$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

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

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

getPaymentResponseCode()

Gets payment_response_code

public getPaymentResponseCode() : string
Return values
string

$payment_response_code 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.

getPaymentResponseMsg()

Gets payment_response_msg

public getPaymentResponseMsg() : string
Return values
string

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

getters()

Array of attributes to getter functions (for serialization of requests)

public static getters() : array<string|int, mixed>
Return values
array<string|int, mixed>

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