Class Fee


  • public class Fee
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Fee()  
      Fee​(java.lang.String feeAmount)  
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Fee

        public Fee()
      • Fee

        public Fee​(java.lang.String feeAmount)
    • 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