Package com.adyen.model.management
Class Passcodes
- java.lang.Object
-
- com.adyen.model.management.Passcodes
-
public class Passcodes extends Object
Passcodes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasscodes.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADMIN_MENU_PINstatic StringSERIALIZED_NAME_REFUND_PINstatic StringSERIALIZED_NAME_SCREEN_LOCK_PINstatic StringSERIALIZED_NAME_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)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 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)voidsetRefundPin(String refundPin)voidsetScreenLockPin(String screenLockPin)voidsetTxMenuPin(String txMenuPin)StringtoJson()Convert an instance of Passcodes to an JSON stringStringtoString()PasscodestxMenuPin(String txMenuPin)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ADMIN_MENU_PIN
public static final String SERIALIZED_NAME_ADMIN_MENU_PIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFUND_PIN
public static final String SERIALIZED_NAME_REFUND_PIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCREEN_LOCK_PIN
public static final String SERIALIZED_NAME_SCREEN_LOCK_PIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TX_MENU_PIN
public static final String SERIALIZED_NAME_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)
-
getRefundPin
public String getRefundPin()
The passcode for unreferenced refunds on standalone terminals.- Returns:
- refundPin
-
setRefundPin
public void setRefundPin(String refundPin)
-
getScreenLockPin
public String getScreenLockPin()
The passcode to unlock the terminal screen after a timeout.- Returns:
- screenLockPin
-
setScreenLockPin
public void setScreenLockPin(String screenLockPin)
-
getTxMenuPin
public String getTxMenuPin()
The passcode for the Transactions menu.- Returns:
- txMenuPin
-
setTxMenuPin
public void setTxMenuPin(String txMenuPin)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Passcodes
-
fromJson
public static Passcodes fromJson(String jsonString) throws IOException
Create an instance of Passcodes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Passcodes
- Throws:
IOException- if the JSON string is invalid with respect to Passcodes
-
toJson
public String toJson()
Convert an instance of Passcodes to an JSON string- Returns:
- JSON string
-
-