Class Fee
- java.lang.Object
-
- com.orbipay.paymentsapi.client.wrappers.Fee
-
public class Fee extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Fee
fromJson(java.lang.String json)
java.lang.String
getFeeAmount()
The fee amount upto 2 decimal places.java.lang.String
getFeeType()
The way the fee is being charged to the customer.java.lang.String
getId()
The unique identifier assigned by EBPP to the fee.java.lang.String
getUrl()
This URL fetches the details of fee as a payment resource.java.lang.String
toJson()
-
-
-
Method Detail
-
getFeeType
public java.lang.String getFeeType()
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.- Returns:
- feeType
-
getFeeAmount
public java.lang.String getFeeAmount()
The fee amount upto 2 decimal places.- Returns:
- feeAmount
-
getId
public java.lang.String getId()
The unique identifier assigned by EBPP to the fee. In case of split fee.- Returns:
- id
-
getUrl
public java.lang.String getUrl()
This URL fetches the details of fee as a payment resource. In case of split fee.- Returns:
- url
-
fromJson
public static Fee fromJson(java.lang.String json) throws OrbipayApiException
- Throws:
OrbipayApiException
-
toJson
public java.lang.String toJson() throws OrbipayApiException
- Throws:
OrbipayApiException
-
-