module:models/FeeResponse()

new module:models/FeeResponse()

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

Constructs a new FeeResponse.

Members

static, readonly FeeTypeEnum :String

Allowed values for the fee_type property.

Properties:
Name Type Description
add_to_principal String

value: "add_to_principal"

bill_separately String

value: "bill_separately"

inner fee_amount :String

The fee amount upto 2 decimal places.

inner fee_type :module:models/FeeResponse.FeeTypeEnum

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.

inner id :String

The unique identifier assigned by EBPP to the fee. In case of split fee.

inner url :String

This URL fetches the details of fee as a payment resource. In case of split fee.

Methods

static constructFromObject(data, obj) → {module:models/FeeResponse}

Constructs a FeeResponse from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/FeeResponse

Optional instance to populate.

Returns:
module:models/FeeResponse -

The populated FeeResponse instance.