Class Passcodes


  • public class Passcodes
    extends Object
    Passcodes
    • Constructor Detail

      • Passcodes

        public Passcodes()
    • Method Detail

      • getAdminMenuPin

        public String getAdminMenuPin()
        The passcode for the Admin menu and the Settings menu.
        Returns:
        adminMenuPin
      • setAdminMenuPin

        public void setAdminMenuPin​(String adminMenuPin)
        The passcode for the Admin menu and the Settings menu.
        Parameters:
        adminMenuPin -
      • getRefundPin

        public String getRefundPin()
        The passcode for referenced and unreferenced refunds on standalone terminals.
        Returns:
        refundPin
      • setRefundPin

        public void setRefundPin​(String refundPin)
        The passcode for referenced and unreferenced refunds on standalone terminals.
        Parameters:
        refundPin -
      • getScreenLockPin

        public String getScreenLockPin()
        The passcode to unlock the terminal screen after a timeout.
        Returns:
        screenLockPin
      • setScreenLockPin

        public void setScreenLockPin​(String screenLockPin)
        The passcode to unlock the terminal screen after a timeout.
        Parameters:
        screenLockPin -
      • getTxMenuPin

        public String getTxMenuPin()
        The passcode for the Transactions menu.
        Returns:
        txMenuPin
      • setTxMenuPin

        public void setTxMenuPin​(String txMenuPin)
        The passcode for the Transactions menu.
        Parameters:
        txMenuPin -
      • equals

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

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

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

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