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)The passcode for the Admin menu and the Settings menu.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)The passcode for referenced and unreferenced refunds on standalone terminals.PasscodesscreenLockPin(String screenLockPin)The passcode to unlock the terminal screen after a timeout.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)The passcode for the Transactions menu.
-
-
-
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
-
adminMenuPin
public Passcodes adminMenuPin(String adminMenuPin)
The passcode for the Admin menu and the Settings menu.- Parameters:
adminMenuPin-- Returns:
- the current
Passcodesinstance, allowing for method chaining
-
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-
-
refundPin
public Passcodes refundPin(String refundPin)
The passcode for referenced and unreferenced refunds on standalone terminals.- Parameters:
refundPin-- Returns:
- the current
Passcodesinstance, allowing for method chaining
-
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-
-
screenLockPin
public Passcodes screenLockPin(String screenLockPin)
The passcode to unlock the terminal screen after a timeout.- Parameters:
screenLockPin-- Returns:
- the current
Passcodesinstance, allowing for method chaining
-
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-
-
txMenuPin
public Passcodes txMenuPin(String txMenuPin)
The passcode for the Transactions menu.- Parameters:
txMenuPin-- Returns:
- the current
Passcodesinstance, allowing for method chaining
-
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
-
-