Package com.adyen.model.transfers
Class TransferInfo
- java.lang.Object
-
- com.adyen.model.transfers.TransferInfo
-
public class TransferInfo extends Object
TransferInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferInfo.CategoryEnumThe category of the transfer.static classTransferInfo.PrioritiesEnumGets or Sets prioritiesstatic classTransferInfo.PriorityEnumThe priority for the bank transfer.static classTransferInfo.TypeEnumThe type of transfer.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_BALANCE_ACCOUNT_IDstatic StringJSON_PROPERTY_CATEGORYstatic StringJSON_PROPERTY_COUNTERPARTYstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_PRIORITIESstatic StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_REFERENCE_FOR_BENEFICIARYstatic StringJSON_PROPERTY_REVIEWstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_ULTIMATE_PARTY
-
Constructor Summary
Constructors Constructor Description TransferInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferInfoaddPrioritiesItem(TransferInfo.PrioritiesEnum prioritiesItem)TransferInfoamount(Amount amount)amountTransferInfobalanceAccountId(String balanceAccountId)The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).TransferInfocategory(TransferInfo.CategoryEnum category)The category of the transfer.TransferInfocounterparty(CounterpartyInfoV3 counterparty)counterpartyTransferInfodescription(String description)Your description for the transfer.booleanequals(Object o)Return true if this TransferInfo object is equal to o.static TransferInfofromJson(String jsonString)Create an instance of TransferInfo given an JSON stringAmountgetAmount()amountStringgetBalanceAccountId()The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).TransferInfo.CategoryEnumgetCategory()The category of the transfer.CounterpartyInfoV3getCounterparty()counterpartyStringgetDescription()Your description for the transfer.StringgetPaymentInstrumentId()The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id).List<TransferInfo.PrioritiesEnum>getPriorities()The list of priorities for the bank transfer.TransferInfo.PriorityEnumgetPriority()The priority for the bank transfer.StringgetReference()Your reference for the transfer, used internally within your platform.StringgetReferenceForBeneficiary()A reference that is sent to the recipient.TransferRequestReviewgetReview()reviewTransferInfo.TypeEnumgetType()The type of transfer.UltimatePartyIdentificationgetUltimateParty()ultimatePartyinthashCode()TransferInfopaymentInstrumentId(String paymentInstrumentId)The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id).TransferInfopriorities(List<TransferInfo.PrioritiesEnum> priorities)The list of priorities for the bank transfer.TransferInfopriority(TransferInfo.PriorityEnum priority)The priority for the bank transfer.TransferInforeference(String reference)Your reference for the transfer, used internally within your platform.TransferInforeferenceForBeneficiary(String referenceForBeneficiary)A reference that is sent to the recipient.TransferInforeview(TransferRequestReview review)reviewvoidsetAmount(Amount amount)amountvoidsetBalanceAccountId(String balanceAccountId)The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).voidsetCategory(TransferInfo.CategoryEnum category)The category of the transfer.voidsetCounterparty(CounterpartyInfoV3 counterparty)counterpartyvoidsetDescription(String description)Your description for the transfer.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id).voidsetPriorities(List<TransferInfo.PrioritiesEnum> priorities)The list of priorities for the bank transfer.voidsetPriority(TransferInfo.PriorityEnum priority)The priority for the bank transfer.voidsetReference(String reference)Your reference for the transfer, used internally within your platform.voidsetReferenceForBeneficiary(String referenceForBeneficiary)A reference that is sent to the recipient.voidsetReview(TransferRequestReview review)reviewvoidsetType(TransferInfo.TypeEnum type)The type of transfer.voidsetUltimateParty(UltimatePartyIdentification ultimateParty)ultimatePartyStringtoJson()Convert an instance of TransferInfo to an JSON stringStringtoString()TransferInfotype(TransferInfo.TypeEnum type)The type of transfer.TransferInfoultimateParty(UltimatePartyIdentification ultimateParty)ultimateParty
-
-
-
Field Detail
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_ACCOUNT_ID
public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CATEGORY
public static final String JSON_PROPERTY_CATEGORY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTERPARTY
public static final String JSON_PROPERTY_COUNTERPARTY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITIES
public static final String JSON_PROPERTY_PRIORITIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY
public static final String JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REVIEW
public static final String JSON_PROPERTY_REVIEW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ULTIMATE_PARTY
public static final String JSON_PROPERTY_ULTIMATE_PARTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
amount
public TransferInfo amount(Amount amount)
amount- Parameters:
amount-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getAmount
public Amount getAmount()
amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
amount- Parameters:
amount-
-
balanceAccountId
public TransferInfo balanceAccountId(String balanceAccountId)
The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Parameters:
balanceAccountId-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getBalanceAccountId
public String getBalanceAccountId()
The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Returns:
- balanceAccountId
-
setBalanceAccountId
public void setBalanceAccountId(String balanceAccountId)
The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount** assigned to the balance account, you must specify the [payment instrument ID](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id) of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Parameters:
balanceAccountId-
-
category
public TransferInfo category(TransferInfo.CategoryEnum category)
The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - **topUp**: an incoming transfer initiated by your user to top up their balance account.- Parameters:
category-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getCategory
public TransferInfo.CategoryEnum getCategory()
The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - **topUp**: an incoming transfer initiated by your user to top up their balance account.- Returns:
- category
-
setCategory
public void setCategory(TransferInfo.CategoryEnum category)
The category of the transfer. Possible values: - **bank**: a transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **card**: a transfer involving a third-party card. - **internal**: a transfer between [balance accounts](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: a transfer initiated by a Adyen-issued card. - **platformPayment**: funds movements related to payments that are acquired for your users. - **topUp**: an incoming transfer initiated by your user to top up their balance account.- Parameters:
category-
-
counterparty
public TransferInfo counterparty(CounterpartyInfoV3 counterparty)
counterparty- Parameters:
counterparty-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getCounterparty
public CounterpartyInfoV3 getCounterparty()
counterparty- Returns:
- counterparty
-
setCounterparty
public void setCounterparty(CounterpartyInfoV3 counterparty)
counterparty- Parameters:
counterparty-
-
description
public TransferInfo description(String description)
Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**- Parameters:
description-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getDescription
public String getDescription()
Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**- Returns:
- description
-
setDescription
public void setDescription(String description)
Your description for the transfer. It is used by most banks as the transfer description. We recommend sending a maximum of 140 characters, otherwise the description may be truncated. Supported characters: **[a-z] [A-Z] [0-9] / - ?** **: ( ) . , ' + Space** Supported characters for **regular** and **fast** transfers to a US counterparty: **[a-z] [A-Z] [0-9] & $ % # @** **~ = + - _ ' \" ! ?**- Parameters:
description-
-
paymentInstrumentId
public TransferInfo paymentInstrumentId(String paymentInstrumentId)
The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Parameters:
paymentInstrumentId-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Returns:
- paymentInstrumentId
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
The unique identifier of the source [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/paymentInstruments#responses-200-id). If you want to make a transfer using a **virtual** **bankAccount**, you must specify the payment instrument ID of the **virtual** **bankAccount**. If you only specify a balance account ID, Adyen uses the default **physical** **bankAccount** payment instrument assigned to the balance account.- Parameters:
paymentInstrumentId-
-
priorities
public TransferInfo priorities(List<TransferInfo.PrioritiesEnum> priorities)
The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities).- Parameters:
priorities-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
addPrioritiesItem
public TransferInfo addPrioritiesItem(TransferInfo.PrioritiesEnum prioritiesItem)
-
getPriorities
public List<TransferInfo.PrioritiesEnum> getPriorities()
The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities).- Returns:
- priorities
-
setPriorities
public void setPriorities(List<TransferInfo.PrioritiesEnum> priorities)
The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that's not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities).- Parameters:
priorities-
-
priority
public TransferInfo priority(TransferInfo.PriorityEnum priority)
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Parameters:
priority-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getPriority
public TransferInfo.PriorityEnum getPriority()
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Returns:
- priority
-
setPriority
public void setPriority(TransferInfo.PriorityEnum priority)
The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).- Parameters:
priority-
-
reference
public TransferInfo reference(String reference)
Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.- Parameters:
reference-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getReference
public String getReference()
Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the transfer, used internally within your platform. If you don't provide this in the request, Adyen generates a unique reference.- Parameters:
reference-
-
referenceForBeneficiary
public TransferInfo referenceForBeneficiary(String referenceForBeneficiary)
A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.- Parameters:
referenceForBeneficiary-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getReferenceForBeneficiary
public String getReferenceForBeneficiary()
A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.- Returns:
- referenceForBeneficiary
-
setReferenceForBeneficiary
public void setReferenceForBeneficiary(String referenceForBeneficiary)
A reference that is sent to the recipient. This reference is also sent in all webhooks related to the transfer, so you can use it to track statuses for both parties involved in the funds movement. Supported characters: **a-z**, **A-Z**, **0-9**. The maximum length depends on the `category`. - **internal**: 80 characters - **bank**: 35 characters when transferring to an IBAN, 15 characters for others.- Parameters:
referenceForBeneficiary-
-
review
public TransferInfo review(TransferRequestReview review)
review- Parameters:
review-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getReview
public TransferRequestReview getReview()
review- Returns:
- review
-
setReview
public void setReview(TransferRequestReview review)
review- Parameters:
review-
-
type
public TransferInfo type(TransferInfo.TypeEnum type)
The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**.- Parameters:
type-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getType
public TransferInfo.TypeEnum getType()
The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**.- Returns:
- type
-
setType
public void setType(TransferInfo.TypeEnum type)
The type of transfer. Possible values: - **bankTransfer**: for push transfers to a transfer instrument or a bank account. The `category` must be **bank**. - **internalTransfer**: for push transfers between balance accounts. The `category` must be **internal**. - **internalDirectDebit**: for pull transfers (direct debits) between balance accounts. The `category` must be **internal**.- Parameters:
type-
-
ultimateParty
public TransferInfo ultimateParty(UltimatePartyIdentification ultimateParty)
ultimateParty- Parameters:
ultimateParty-- Returns:
- the current
TransferInfoinstance, allowing for method chaining
-
getUltimateParty
public UltimatePartyIdentification getUltimateParty()
ultimateParty- Returns:
- ultimateParty
-
setUltimateParty
public void setUltimateParty(UltimatePartyIdentification ultimateParty)
ultimateParty- Parameters:
ultimateParty-
-
equals
public boolean equals(Object o)
Return true if this TransferInfo object is equal to o.
-
fromJson
public static TransferInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-