Class Standalone


  • public class Standalone
    extends Object
    Standalone
    • Constructor Detail

      • Standalone

        public Standalone()
    • Method Detail

      • getCurrencyCode

        public String getCurrencyCode()
        The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
        Returns:
        currencyCode
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)
        The default currency of the standalone payment terminal as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.
        Parameters:
        currencyCode -
      • enableStandalone

        public Standalone enableStandalone​(Boolean enableStandalone)
      • getEnableStandalone

        public Boolean getEnableStandalone()
        Enable standalone mode.
        Returns:
        enableStandalone
      • setEnableStandalone

        public void setEnableStandalone​(Boolean enableStandalone)
        Enable standalone mode.
        Parameters:
        enableStandalone -
      • equals

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

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

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

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