Skip to main content

Interface: IFeeCalc

Interface representing a fee calculator.

See

Cost Calculator - Tripay

Properties

code

code: string

The code of the fee calculator.

Defined in

src/merchant/merchant.interface.ts:13


fee

fee: Object

The fee details.

Type declaration

NameTypeDescription
flatnumberThe flat fee amount.
maxnull | numberThe maximum fee amount (nullable).
minnull | numberThe minimum fee amount (nullable).
percentstringThe percentage fee amount.

Defined in

src/merchant/merchant.interface.ts:23


name

name: string

The name of the fee calculator.

Defined in

src/merchant/merchant.interface.ts:18


total_fee

total_fee: Object

The total fee amounts.

Type declaration

NameTypeDescription
customernumberThe customer fee amount.
merchantnumberThe merchant fee amount.

Defined in

src/merchant/merchant.interface.ts:48