Package com.adyen.model.management
Class Passcodes
- java.lang.Object
-
- com.adyen.model.management.Passcodes
-
public class Passcodes extends Object
Passcodes
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADMIN_MENU_PINstatic StringJSON_PROPERTY_REFUND_PINstatic StringJSON_PROPERTY_SCREEN_LOCK_PINstatic StringJSON_PROPERTY_TX_MENU_PIN
-
Constructor Summary
Constructors Constructor Description Passcodes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PasscodesadminMenuPin(String adminMenuPin)booleanequals(Object o)Return true if this Passcodes object is equal to o.static PasscodesfromJson(String jsonString)Create an instance of Passcodes given an JSON stringStringgetAdminMenuPin()The passcode for the Admin menu and the Settings menu.StringgetRefundPin()The passcode for referenced and unreferenced refunds on standalone terminals.StringgetScreenLockPin()The passcode to unlock the terminal screen after a timeout.StringgetTxMenuPin()The passcode for the Transactions menu.inthashCode()PasscodesrefundPin(String refundPin)PasscodesscreenLockPin(String screenLockPin)voidsetAdminMenuPin(String adminMenuPin)The passcode for the Admin menu and the Settings menu.voidsetRefundPin(String refundPin)The passcode for referenced and unreferenced refunds on standalone terminals.voidsetScreenLockPin(String screenLockPin)The passcode to unlock the terminal screen after a timeout.voidsetTxMenuPin(String txMenuPin)The passcode for the Transactions menu.StringtoJson()Convert an instance of Passcodes to an JSON stringStringtoString()PasscodestxMenuPin(String txMenuPin)
-
-
-
Field Detail
-
JSON_PROPERTY_ADMIN_MENU_PIN
public static final String JSON_PROPERTY_ADMIN_MENU_PIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFUND_PIN
public static final String JSON_PROPERTY_REFUND_PIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCREEN_LOCK_PIN
public static final String JSON_PROPERTY_SCREEN_LOCK_PIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TX_MENU_PIN
public static final String JSON_PROPERTY_TX_MENU_PIN
- See Also:
- Constant Field Values
-
-
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.
-
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
-
-