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_ID
-
Constructor Summary
Constructors Constructor Description TransferInstrumentReference()
-
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.inthashCode()TransferInstrumentReferenceid(String id)voidsetAccountIdentifier(String accountIdentifier)voidsetId(String id)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
-
-
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)
-
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
-
-