Package com.adyen.model.management
Class PayAtTable
- java.lang.Object
-
- com.adyen.model.management.PayAtTable
-
public class PayAtTable extends Object
PayAtTable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayAtTable.AuthenticationMethodEnumAllowed authentication methods: Magswipe, Manual Entry.static classPayAtTable.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_AUTHENTICATION_METHODstatic StringSERIALIZED_NAME_ENABLE_PAY_AT_TABLE
-
Constructor Summary
Constructors Constructor Description PayAtTable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayAtTableauthenticationMethod(PayAtTable.AuthenticationMethodEnum authenticationMethod)PayAtTableenablePayAtTable(Boolean enablePayAtTable)booleanequals(Object o)static PayAtTablefromJson(String jsonString)Create an instance of PayAtTable given an JSON stringPayAtTable.AuthenticationMethodEnumgetAuthenticationMethod()Allowed authentication methods: Magswipe, Manual Entry.BooleangetEnablePayAtTable()Enable Pay at table.inthashCode()voidsetAuthenticationMethod(PayAtTable.AuthenticationMethodEnum authenticationMethod)voidsetEnablePayAtTable(Boolean enablePayAtTable)StringtoJson()Convert an instance of PayAtTable to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_AUTHENTICATION_METHOD
public static final String SERIALIZED_NAME_AUTHENTICATION_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLE_PAY_AT_TABLE
public static final String SERIALIZED_NAME_ENABLE_PAY_AT_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
authenticationMethod
public PayAtTable authenticationMethod(PayAtTable.AuthenticationMethodEnum authenticationMethod)
-
getAuthenticationMethod
public PayAtTable.AuthenticationMethodEnum getAuthenticationMethod()
Allowed authentication methods: Magswipe, Manual Entry.- Returns:
- authenticationMethod
-
setAuthenticationMethod
public void setAuthenticationMethod(PayAtTable.AuthenticationMethodEnum authenticationMethod)
-
enablePayAtTable
public PayAtTable enablePayAtTable(Boolean enablePayAtTable)
-
getEnablePayAtTable
public Boolean getEnablePayAtTable()
Enable Pay at table.- Returns:
- enablePayAtTable
-
setEnablePayAtTable
public void setEnablePayAtTable(Boolean enablePayAtTable)
-
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 PayAtTable
-
fromJson
public static PayAtTable fromJson(String jsonString) throws IOException
Create an instance of PayAtTable given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayAtTable
- Throws:
IOException- if the JSON string is invalid with respect to PayAtTable
-
toJson
public String toJson()
Convert an instance of PayAtTable to an JSON string- Returns:
- JSON string
-
-