Package com.adyen.model.transfers
Class CounterpartyInfoV3
- java.lang.Object
-
- com.adyen.model.transfers.CounterpartyInfoV3
-
public class CounterpartyInfoV3 extends Object
CounterpartyInfoV3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCounterpartyInfoV3.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BALANCE_ACCOUNT_IDstatic StringSERIALIZED_NAME_BANK_ACCOUNTstatic StringSERIALIZED_NAME_TRANSFER_INSTRUMENT_ID
-
Constructor Summary
Constructors Constructor Description CounterpartyInfoV3()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CounterpartyInfoV3balanceAccountId(String balanceAccountId)CounterpartyInfoV3bankAccount(BankAccountV3 bankAccount)booleanequals(Object o)static CounterpartyInfoV3fromJson(String jsonString)Create an instance of CounterpartyInfoV3 given an JSON stringStringgetBalanceAccountId()Unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).BankAccountV3getBankAccount()Get bankAccountStringgetTransferInstrumentId()Unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).inthashCode()voidsetBalanceAccountId(String balanceAccountId)voidsetBankAccount(BankAccountV3 bankAccount)voidsetTransferInstrumentId(String transferInstrumentId)StringtoJson()Convert an instance of CounterpartyInfoV3 to an JSON stringStringtoString()CounterpartyInfoV3transferInstrumentId(String transferInstrumentId)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_BALANCE_ACCOUNT_ID
public static final String SERIALIZED_NAME_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BANK_ACCOUNT
public static final String SERIALIZED_NAME_BANK_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSFER_INSTRUMENT_ID
public static final String SERIALIZED_NAME_TRANSFER_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
balanceAccountId
public CounterpartyInfoV3 balanceAccountId(String balanceAccountId)
-
getBalanceAccountId
public String getBalanceAccountId()
Unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).- Returns:
- balanceAccountId
-
setBalanceAccountId
public void setBalanceAccountId(String balanceAccountId)
-
bankAccount
public CounterpartyInfoV3 bankAccount(BankAccountV3 bankAccount)
-
getBankAccount
public BankAccountV3 getBankAccount()
Get bankAccount- Returns:
- bankAccount
-
setBankAccount
public void setBankAccount(BankAccountV3 bankAccount)
-
transferInstrumentId
public CounterpartyInfoV3 transferInstrumentId(String transferInstrumentId)
-
getTransferInstrumentId
public String getTransferInstrumentId()
Unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).- Returns:
- transferInstrumentId
-
setTransferInstrumentId
public void setTransferInstrumentId(String transferInstrumentId)
-
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 CounterpartyInfoV3
-
fromJson
public static CounterpartyInfoV3 fromJson(String jsonString) throws IOException
Create an instance of CounterpartyInfoV3 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CounterpartyInfoV3
- Throws:
IOException- if the JSON string is invalid with respect to CounterpartyInfoV3
-
toJson
public String toJson()
Convert an instance of CounterpartyInfoV3 to an JSON string- Returns:
- JSON string
-
-