Package com.adyen.model.management
Class Opi
- java.lang.Object
-
- com.adyen.model.management.Opi
-
public class Opi extends Object
Opi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpi.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ENABLE_PAY_AT_TABLEstatic StringSERIALIZED_NAME_PAY_AT_TABLE_STORE_NUMBERstatic StringSERIALIZED_NAME_PAY_AT_TABLE_U_R_L
-
Constructor Summary
Constructors Constructor Description Opi()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpienablePayAtTable(Boolean enablePayAtTable)booleanequals(Object o)static OpifromJson(String jsonString)Create an instance of Opi given an JSON stringBooleangetEnablePayAtTable()Indicates if Pay at table is enabled.StringgetPayAtTableStoreNumber()The store number to use for Pay at Table.StringgetPayAtTableURL()The URL and port number used for Pay at Table communication.inthashCode()OpipayAtTableStoreNumber(String payAtTableStoreNumber)OpipayAtTableURL(String payAtTableURL)voidsetEnablePayAtTable(Boolean enablePayAtTable)voidsetPayAtTableStoreNumber(String payAtTableStoreNumber)voidsetPayAtTableURL(String payAtTableURL)StringtoJson()Convert an instance of Opi 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_ENABLE_PAY_AT_TABLE
public static final String SERIALIZED_NAME_ENABLE_PAY_AT_TABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAY_AT_TABLE_STORE_NUMBER
public static final String SERIALIZED_NAME_PAY_AT_TABLE_STORE_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAY_AT_TABLE_U_R_L
public static final String SERIALIZED_NAME_PAY_AT_TABLE_U_R_L
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnablePayAtTable
public Boolean getEnablePayAtTable()
Indicates if Pay at table is enabled.- Returns:
- enablePayAtTable
-
setEnablePayAtTable
public void setEnablePayAtTable(Boolean enablePayAtTable)
-
getPayAtTableStoreNumber
public String getPayAtTableStoreNumber()
The store number to use for Pay at Table.- Returns:
- payAtTableStoreNumber
-
setPayAtTableStoreNumber
public void setPayAtTableStoreNumber(String payAtTableStoreNumber)
-
getPayAtTableURL
public String getPayAtTableURL()
The URL and port number used for Pay at Table communication.- Returns:
- payAtTableURL
-
setPayAtTableURL
public void setPayAtTableURL(String payAtTableURL)
-
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 Opi
-
fromJson
public static Opi fromJson(String jsonString) throws IOException
Create an instance of Opi given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Opi
- Throws:
IOException- if the JSON string is invalid with respect to Opi
-
toJson
public String toJson()
Convert an instance of Opi to an JSON string- Returns:
- JSON string
-
-