Class GetTerminalsUnderAccountResponse
- java.lang.Object
-
- com.adyen.model.posterminalmanagement.GetTerminalsUnderAccountResponse
-
public class GetTerminalsUnderAccountResponse extends Object
GetTerminalsUnderAccountResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMPANY_ACCOUNTstatic StringJSON_PROPERTY_INVENTORY_TERMINALSstatic StringJSON_PROPERTY_MERCHANT_ACCOUNTS
-
Constructor Summary
Constructors Constructor Description GetTerminalsUnderAccountResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTerminalsUnderAccountResponseaddInventoryTerminalsItem(String inventoryTerminalsItem)GetTerminalsUnderAccountResponseaddMerchantAccountsItem(MerchantAccount merchantAccountsItem)GetTerminalsUnderAccountResponsecompanyAccount(String companyAccount)Your company account.booleanequals(Object o)Return true if this GetTerminalsUnderAccountResponse object is equal to o.static GetTerminalsUnderAccountResponsefromJson(String jsonString)Create an instance of GetTerminalsUnderAccountResponse given an JSON stringStringgetCompanyAccount()Your company account.List<String>getInventoryTerminals()Array that returns a list of all terminals that are in the inventory of the company account.List<MerchantAccount>getMerchantAccounts()Array that returns a list of all merchant accounts belonging to the company account.inthashCode()GetTerminalsUnderAccountResponseinventoryTerminals(List<String> inventoryTerminals)Array that returns a list of all terminals that are in the inventory of the company account.GetTerminalsUnderAccountResponsemerchantAccounts(List<MerchantAccount> merchantAccounts)Array that returns a list of all merchant accounts belonging to the company account.voidsetCompanyAccount(String companyAccount)Your company account.voidsetInventoryTerminals(List<String> inventoryTerminals)Array that returns a list of all terminals that are in the inventory of the company account.voidsetMerchantAccounts(List<MerchantAccount> merchantAccounts)Array that returns a list of all merchant accounts belonging to the company account.StringtoJson()Convert an instance of GetTerminalsUnderAccountResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMPANY_ACCOUNT
public static final String JSON_PROPERTY_COMPANY_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVENTORY_TERMINALS
public static final String JSON_PROPERTY_INVENTORY_TERMINALS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNTS
public static final String JSON_PROPERTY_MERCHANT_ACCOUNTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
companyAccount
public GetTerminalsUnderAccountResponse companyAccount(String companyAccount)
Your company account.- Parameters:
companyAccount-- Returns:
- the current
GetTerminalsUnderAccountResponseinstance, allowing for method chaining
-
getCompanyAccount
public String getCompanyAccount()
Your company account.- Returns:
- companyAccount
-
setCompanyAccount
public void setCompanyAccount(String companyAccount)
Your company account.- Parameters:
companyAccount-
-
inventoryTerminals
public GetTerminalsUnderAccountResponse inventoryTerminals(List<String> inventoryTerminals)
Array that returns a list of all terminals that are in the inventory of the company account.- Parameters:
inventoryTerminals-- Returns:
- the current
GetTerminalsUnderAccountResponseinstance, allowing for method chaining
-
addInventoryTerminalsItem
public GetTerminalsUnderAccountResponse addInventoryTerminalsItem(String inventoryTerminalsItem)
-
getInventoryTerminals
public List<String> getInventoryTerminals()
Array that returns a list of all terminals that are in the inventory of the company account.- Returns:
- inventoryTerminals
-
setInventoryTerminals
public void setInventoryTerminals(List<String> inventoryTerminals)
Array that returns a list of all terminals that are in the inventory of the company account.- Parameters:
inventoryTerminals-
-
merchantAccounts
public GetTerminalsUnderAccountResponse merchantAccounts(List<MerchantAccount> merchantAccounts)
Array that returns a list of all merchant accounts belonging to the company account.- Parameters:
merchantAccounts-- Returns:
- the current
GetTerminalsUnderAccountResponseinstance, allowing for method chaining
-
addMerchantAccountsItem
public GetTerminalsUnderAccountResponse addMerchantAccountsItem(MerchantAccount merchantAccountsItem)
-
getMerchantAccounts
public List<MerchantAccount> getMerchantAccounts()
Array that returns a list of all merchant accounts belonging to the company account.- Returns:
- merchantAccounts
-
setMerchantAccounts
public void setMerchantAccounts(List<MerchantAccount> merchantAccounts)
Array that returns a list of all merchant accounts belonging to the company account.- Parameters:
merchantAccounts-
-
equals
public boolean equals(Object o)
Return true if this GetTerminalsUnderAccountResponse object is equal to o.
-
fromJson
public static GetTerminalsUnderAccountResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetTerminalsUnderAccountResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetTerminalsUnderAccountResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetTerminalsUnderAccountResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetTerminalsUnderAccountResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-