Class TransferInstrumentReference
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.TransferInstrumentReference
-
public class TransferInstrumentReference extends Object
TransferInstrumentReference
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDENTIFIERstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_REAL_LAST_FOURstatic StringJSON_PROPERTY_TRUSTED_SOURCE
-
Constructor Summary
Constructors Constructor Description TransferInstrumentReference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferInstrumentReferenceaccountIdentifier(String accountIdentifier)The masked IBAN or bank account number.booleanequals(Object o)Return true if this TransferInstrumentReference object is equal to o.static TransferInstrumentReferencefromJson(String jsonString)Create an instance of TransferInstrumentReference given an JSON stringStringgetAccountIdentifier()The masked IBAN or bank account number.StringgetId()The unique identifier of the resource.StringgetRealLastFour()Four last digits of the bank account number.BooleangetTrustedSource()Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).inthashCode()TransferInstrumentReferenceid(String id)The unique identifier of the resource.TransferInstrumentReferencerealLastFour(String realLastFour)Four last digits of the bank account number.voidsetAccountIdentifier(String accountIdentifier)The masked IBAN or bank account number.voidsetId(String id)The unique identifier of the resource.voidsetRealLastFour(String realLastFour)Four last digits of the bank account number.voidsetTrustedSource(Boolean trustedSource)Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).StringtoJson()Convert an instance of TransferInstrumentReference to an JSON stringStringtoString()TransferInstrumentReferencetrustedSource(Boolean trustedSource)Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_IDENTIFIER
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFIER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REAL_LAST_FOUR
public static final String JSON_PROPERTY_REAL_LAST_FOUR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRUSTED_SOURCE
public static final String JSON_PROPERTY_TRUSTED_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountIdentifier
public TransferInstrumentReference accountIdentifier(String accountIdentifier)
The masked IBAN or bank account number.- Parameters:
accountIdentifier-- Returns:
- the current
TransferInstrumentReferenceinstance, allowing for method chaining
-
getAccountIdentifier
public String getAccountIdentifier()
The masked IBAN or bank account number.- Returns:
- accountIdentifier
-
setAccountIdentifier
public void setAccountIdentifier(String accountIdentifier)
The masked IBAN or bank account number.- Parameters:
accountIdentifier-
-
id
public TransferInstrumentReference id(String id)
The unique identifier of the resource.- Parameters:
id-- Returns:
- the current
TransferInstrumentReferenceinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the resource.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the resource.- Parameters:
id-
-
realLastFour
public TransferInstrumentReference realLastFour(String realLastFour)
Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.- Parameters:
realLastFour-- Returns:
- the current
TransferInstrumentReferenceinstance, allowing for method chaining
-
getRealLastFour
public String getRealLastFour()
Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.- Returns:
- realLastFour
-
setRealLastFour
public void setRealLastFour(String realLastFour)
Four last digits of the bank account number. If the transfer instrument is created using [instant bank account verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding), and it is a virtual bank account, these digits may be different from the last four digits of the masked account number.- Parameters:
realLastFour-
-
trustedSource
public TransferInstrumentReference trustedSource(Boolean trustedSource)
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Parameters:
trustedSource-- Returns:
- the current
TransferInstrumentReferenceinstance, allowing for method chaining
-
getTrustedSource
public Boolean getTrustedSource()
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Returns:
- trustedSource
-
setTrustedSource
public void setTrustedSource(Boolean trustedSource)
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Parameters:
trustedSource-
-
equals
public boolean equals(Object o)
Return true if this TransferInstrumentReference object is equal to o.
-
fromJson
public static TransferInstrumentReference fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferInstrumentReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferInstrumentReference
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferInstrumentReference
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferInstrumentReference to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-