Fee
in package
Fee Class Doc Comment
Tags
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
- $fee_amount : string
- $fee_type : string
- $id : string
- $url : string
- __construct() : mixed
- Fee constructor.
- attributeMap() : array<string|int, mixed>
- Array of attributes where the key is the local name, and the value is the original name
- getFeeAmount() : string
- Gets fee_amount
- getFeeType() : string
- Gets fee_type
- getId() : string
- Gets id
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getUrl() : string
- Gets url
- 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
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
= ['fee_type' => 'fee_type', 'fee_amount' => 'fee_amount', 'id' => 'id', 'url' => 'url']
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string|int, string>
$getters
= ['fee_type' => 'getFeeType', 'fee_amount' => 'getFeeAmount', 'id' => 'getId', 'url' => 'getUrl']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['fee_type' => 'setFeeType', 'fee_amount' => 'setFeeAmount', 'id' => 'setId', 'url' => 'setUrl']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['fee_type' => null, 'fee_amount' => null, 'id' => null, 'url' => null]
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['fee_type' => 'string', 'fee_amount' => 'string', 'id' => 'string', 'url' => 'string']
$fee_amount
private
string
$fee_amount
$fee_type
private
string
$fee_type
$id
private
string
$id
$url
private
string
$url
Methods
__construct()
Fee constructor.
public
__construct([string $fee_amount = null ]) : mixed
Parameters
- $fee_amount : string = null
Return values
mixed —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> —getFeeAmount()
Gets fee_amount
public
getFeeAmount() : string
Return values
string —$fee_amount The fee amount upto 2 decimal places.
getFeeType()
Gets fee_type
public
getFeeType() : string
Return values
string —$fee_type The way the fee is being charged to the customer. Fee could be added to the amount being paid, or, it could be charged separately by the biller. The fee_type would default to add_to_principal if the fee is not configured for the client in EBPP.
getId()
Gets id
public
getId() : string
Return values
string —$id The unique identifier assigned by EBPP to the fee. In case of split fee.
getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUrl()
Gets url
public
getUrl() : string
Return values
string —$url This URL fetches the details of fee as a payment resource. In case of split fee.
jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
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>