Class TerminalSettingsData
- java.lang.Object
-
- com.adyen.model.managementwebhooks.TerminalSettingsData
-
public class TerminalSettingsData extends Object
TerminalSettingsData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTerminalSettingsData.UpdateSourceEnumIndicates whether the terminal settings were updated using the Customer Area or the Management API.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMPANY_IDstatic StringJSON_PROPERTY_MERCHANT_IDstatic StringJSON_PROPERTY_STORE_IDstatic StringJSON_PROPERTY_TERMINAL_IDstatic StringJSON_PROPERTY_UPDATE_SOURCEstatic StringJSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description TerminalSettingsData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminalSettingsDatacompanyId(String companyId)The unique identifier of the company account.booleanequals(Object o)Return true if this TerminalSettingsData object is equal to o.static TerminalSettingsDatafromJson(String jsonString)Create an instance of TerminalSettingsData given an JSON stringStringgetCompanyId()The unique identifier of the company account.StringgetMerchantId()The unique identifier of the merchant account.StringgetStoreId()The unique identifier of the store.StringgetTerminalId()The unique identifier of the terminal.TerminalSettingsData.UpdateSourceEnumgetUpdateSource()Indicates whether the terminal settings were updated using the Customer Area or the Management API.StringgetUser()The user that updated the terminal settings.inthashCode()TerminalSettingsDatamerchantId(String merchantId)The unique identifier of the merchant account.voidsetCompanyId(String companyId)The unique identifier of the company account.voidsetMerchantId(String merchantId)The unique identifier of the merchant account.voidsetStoreId(String storeId)The unique identifier of the store.voidsetTerminalId(String terminalId)The unique identifier of the terminal.voidsetUpdateSource(TerminalSettingsData.UpdateSourceEnum updateSource)Indicates whether the terminal settings were updated using the Customer Area or the Management API.voidsetUser(String user)The user that updated the terminal settings.TerminalSettingsDatastoreId(String storeId)The unique identifier of the store.TerminalSettingsDataterminalId(String terminalId)The unique identifier of the terminal.StringtoJson()Convert an instance of TerminalSettingsData to an JSON stringStringtoString()TerminalSettingsDataupdateSource(TerminalSettingsData.UpdateSourceEnum updateSource)Indicates whether the terminal settings were updated using the Customer Area or the Management API.TerminalSettingsDatauser(String user)The user that updated the terminal settings.
-
-
-
Field Detail
-
JSON_PROPERTY_COMPANY_ID
public static final String JSON_PROPERTY_COMPANY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ID
public static final String JSON_PROPERTY_MERCHANT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_ID
public static final String JSON_PROPERTY_STORE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TERMINAL_ID
public static final String JSON_PROPERTY_TERMINAL_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATE_SOURCE
public static final String JSON_PROPERTY_UPDATE_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER
public static final String JSON_PROPERTY_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
companyId
public TerminalSettingsData companyId(String companyId)
The unique identifier of the company account.- Parameters:
companyId-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getCompanyId
public String getCompanyId()
The unique identifier of the company account.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
The unique identifier of the company account.- Parameters:
companyId-
-
merchantId
public TerminalSettingsData merchantId(String merchantId)
The unique identifier of the merchant account.- Parameters:
merchantId-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getMerchantId
public String getMerchantId()
The unique identifier of the merchant account.- Returns:
- merchantId
-
setMerchantId
public void setMerchantId(String merchantId)
The unique identifier of the merchant account.- Parameters:
merchantId-
-
storeId
public TerminalSettingsData storeId(String storeId)
The unique identifier of the store.- Parameters:
storeId-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getStoreId
public String getStoreId()
The unique identifier of the store.- Returns:
- storeId
-
setStoreId
public void setStoreId(String storeId)
The unique identifier of the store.- Parameters:
storeId-
-
terminalId
public TerminalSettingsData terminalId(String terminalId)
The unique identifier of the terminal.- Parameters:
terminalId-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getTerminalId
public String getTerminalId()
The unique identifier of the terminal.- Returns:
- terminalId
-
setTerminalId
public void setTerminalId(String terminalId)
The unique identifier of the terminal.- Parameters:
terminalId-
-
updateSource
public TerminalSettingsData updateSource(TerminalSettingsData.UpdateSourceEnum updateSource)
Indicates whether the terminal settings were updated using the Customer Area or the Management API.- Parameters:
updateSource-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getUpdateSource
public TerminalSettingsData.UpdateSourceEnum getUpdateSource()
Indicates whether the terminal settings were updated using the Customer Area or the Management API.- Returns:
- updateSource
-
setUpdateSource
public void setUpdateSource(TerminalSettingsData.UpdateSourceEnum updateSource)
Indicates whether the terminal settings were updated using the Customer Area or the Management API.- Parameters:
updateSource-
-
user
public TerminalSettingsData user(String user)
The user that updated the terminal settings. Can be Adyen or your API credential username.- Parameters:
user-- Returns:
- the current
TerminalSettingsDatainstance, allowing for method chaining
-
getUser
public String getUser()
The user that updated the terminal settings. Can be Adyen or your API credential username.- Returns:
- user
-
setUser
public void setUser(String user)
The user that updated the terminal settings. Can be Adyen or your API credential username.- Parameters:
user-
-
equals
public boolean equals(Object o)
Return true if this TerminalSettingsData object is equal to o.
-
fromJson
public static TerminalSettingsData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TerminalSettingsData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TerminalSettingsData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TerminalSettingsData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TerminalSettingsData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-