Class TransferInstrumentReference
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.TransferInstrumentReference
-
public class TransferInstrumentReference extends Object
TransferInstrumentReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferInstrumentReference.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_IDENTIFIERstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_REAL_LAST_FOURstatic StringSERIALIZED_NAME_TRUSTED_SOURCE
-
Constructor Summary
Constructors Constructor Description TransferInstrumentReference()TransferInstrumentReference(Boolean trustedSource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferInstrumentReferenceaccountIdentifier(String accountIdentifier)booleanequals(Object 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 TI was created from a trusted source.inthashCode()TransferInstrumentReferenceid(String id)TransferInstrumentReferencerealLastFour(String realLastFour)voidsetAccountIdentifier(String accountIdentifier)voidsetId(String id)voidsetRealLastFour(String realLastFour)StringtoJson()Convert an instance of TransferInstrumentReference to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_IDENTIFIER
public static final String SERIALIZED_NAME_ACCOUNT_IDENTIFIER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REAL_LAST_FOUR
public static final String SERIALIZED_NAME_REAL_LAST_FOUR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRUSTED_SOURCE
public static final String SERIALIZED_NAME_TRUSTED_SOURCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransferInstrumentReference
public TransferInstrumentReference()
-
TransferInstrumentReference
public TransferInstrumentReference(Boolean trustedSource)
-
-
Method Detail
-
accountIdentifier
public TransferInstrumentReference accountIdentifier(String accountIdentifier)
-
getAccountIdentifier
public String getAccountIdentifier()
The masked IBAN or bank account number.- Returns:
- accountIdentifier
-
setAccountIdentifier
public void setAccountIdentifier(String accountIdentifier)
-
id
public TransferInstrumentReference id(String id)
-
getId
public String getId()
The unique identifier of the resource.- Returns:
- id
-
setId
public void setId(String id)
-
realLastFour
public TransferInstrumentReference realLastFour(String realLastFour)
-
getRealLastFour
public String getRealLastFour()
Four last digits of the bank account number.- Returns:
- realLastFour
-
setRealLastFour
public void setRealLastFour(String realLastFour)
-
getTrustedSource
public Boolean getTrustedSource()
Identifies if the TI was created from a trusted source.- Returns:
- trustedSource
-
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 TransferInstrumentReference
-
fromJson
public static TransferInstrumentReference fromJson(String jsonString) throws IOException
Create an instance of TransferInstrumentReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferInstrumentReference
- Throws:
IOException- if the JSON string is invalid with respect to TransferInstrumentReference
-
toJson
public String toJson()
Convert an instance of TransferInstrumentReference to an JSON string- Returns:
- JSON string
-
-