Package com.adyen.model.transferwebhooks
Class TransferNotificationCounterParty
- java.lang.Object
-
- com.adyen.model.transferwebhooks.TransferNotificationCounterParty
-
public class TransferNotificationCounterParty extends Object
TransferNotificationCounterParty
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_ACCOUNT_IDstatic StringJSON_PROPERTY_BANK_ACCOUNTstatic StringJSON_PROPERTY_MERCHANTstatic StringJSON_PROPERTY_TRANSFER_INSTRUMENT_ID
-
Constructor Summary
Constructors Constructor Description TransferNotificationCounterParty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferNotificationCounterPartybalanceAccountId(String balanceAccountId)TransferNotificationCounterPartybankAccount(BankAccountV3 bankAccount)booleanequals(Object o)Return true if this TransferNotificationCounterParty object is equal to o.static TransferNotificationCounterPartyfromJson(String jsonString)Create an instance of TransferNotificationCounterParty given an JSON stringStringgetBalanceAccountId()The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).BankAccountV3getBankAccount()Get bankAccountTransferNotificationMerchantDatagetMerchant()Get merchantStringgetTransferInstrumentId()The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).inthashCode()TransferNotificationCounterPartymerchant(TransferNotificationMerchantData merchant)voidsetBalanceAccountId(String balanceAccountId)The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).voidsetBankAccount(BankAccountV3 bankAccount)bankAccountvoidsetMerchant(TransferNotificationMerchantData merchant)merchantvoidsetTransferInstrumentId(String transferInstrumentId)The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).StringtoJson()Convert an instance of TransferNotificationCounterParty to an JSON stringStringtoString()TransferNotificationCounterPartytransferInstrumentId(String transferInstrumentId)
-
-
-
Field Detail
-
JSON_PROPERTY_BALANCE_ACCOUNT_ID
public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT
public static final String JSON_PROPERTY_BANK_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT
public static final String JSON_PROPERTY_MERCHANT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_INSTRUMENT_ID
public static final String JSON_PROPERTY_TRANSFER_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
balanceAccountId
public TransferNotificationCounterParty balanceAccountId(String balanceAccountId)
-
getBalanceAccountId
public String getBalanceAccountId()
The 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)
The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).- Parameters:
balanceAccountId-
-
bankAccount
public TransferNotificationCounterParty bankAccount(BankAccountV3 bankAccount)
-
getBankAccount
public BankAccountV3 getBankAccount()
Get bankAccount- Returns:
- bankAccount
-
setBankAccount
public void setBankAccount(BankAccountV3 bankAccount)
bankAccount- Parameters:
bankAccount-
-
merchant
public TransferNotificationCounterParty merchant(TransferNotificationMerchantData merchant)
-
getMerchant
public TransferNotificationMerchantData getMerchant()
Get merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(TransferNotificationMerchantData merchant)
merchant- Parameters:
merchant-
-
transferInstrumentId
public TransferNotificationCounterParty transferInstrumentId(String transferInstrumentId)
-
getTransferInstrumentId
public String getTransferInstrumentId()
The 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)
The unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).- Parameters:
transferInstrumentId-
-
equals
public boolean equals(Object o)
Return true if this TransferNotificationCounterParty object is equal to o.
-
fromJson
public static TransferNotificationCounterParty fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferNotificationCounterParty given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferNotificationCounterParty
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferNotificationCounterParty
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferNotificationCounterParty to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-