Class StoreAndForward


  • public class StoreAndForward
    extends Object
    StoreAndForward
    • Constructor Detail

      • StoreAndForward

        public StoreAndForward()
    • Method Detail

      • getMaxAmount

        public List<MinorUnitsMonetaryValue> getMaxAmount()
        The maximum amount that the terminal accepts for a single store-and-forward payment.
        Returns:
        maxAmount
      • setMaxAmount

        public void setMaxAmount​(List<MinorUnitsMonetaryValue> maxAmount)
        The maximum amount that the terminal accepts for a single store-and-forward payment.
        Parameters:
        maxAmount -
      • getMaxPayments

        public Integer getMaxPayments()
        The maximum number of store-and-forward transactions per terminal that you can process while offline.
        Returns:
        maxPayments
      • setMaxPayments

        public void setMaxPayments​(Integer maxPayments)
        The maximum number of store-and-forward transactions per terminal that you can process while offline.
        Parameters:
        maxPayments -
      • getSupportedCardTypes

        public SupportedCardTypes getSupportedCardTypes()
        Get supportedCardTypes
        Returns:
        supportedCardTypes
      • setSupportedCardTypes

        public void setSupportedCardTypes​(SupportedCardTypes supportedCardTypes)
        supportedCardTypes
        Parameters:
        supportedCardTypes -
      • equals

        public boolean equals​(Object o)
        Return true if this StoreAndForward object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static StoreAndForward fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of StoreAndForward given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of StoreAndForward
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to StoreAndForward
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of StoreAndForward to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException