wrappers/FeeRefund

The FeeRefund wrapper module.

Members

inner fee_refund_amount :String

The refunded fee amount upto 2 decimal places.

inner fee_type :String

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.

Methods

static constructFromObject(data, obj) → {module:wrappers/FeeRefund}

Constructs a FeeRefund 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:wrappers/FeeRefund

Optional instance to populate.

Returns:
module:wrappers/FeeRefund -

The populated FeeRefund instance.