Package com.adyen.model.transfers
Class RelayedAuthorisationData
- java.lang.Object
-
- com.adyen.model.transfers.RelayedAuthorisationData
-
public class RelayedAuthorisationData extends Object
RelayedAuthorisationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_REFERENCE
-
Constructor Summary
Constructors Constructor Description RelayedAuthorisationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this RelayedAuthorisationData object is equal to o.static RelayedAuthorisationDatafromJson(String jsonString)Create an instance of RelayedAuthorisationData given an JSON stringMap<String,String>getMetadata()Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.StringgetReference()Your reference for the relayed authorisation data.inthashCode()RelayedAuthorisationDatametadata(Map<String,String> metadata)RelayedAuthorisationDataputMetadataItem(String key, String metadataItem)RelayedAuthorisationDatareference(String reference)voidsetMetadata(Map<String,String> metadata)Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.voidsetReference(String reference)Your reference for the relayed authorisation data.StringtoJson()Convert an instance of RelayedAuthorisationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
metadata
public RelayedAuthorisationData metadata(Map<String,String> metadata)
-
putMetadataItem
public RelayedAuthorisationData putMetadataItem(String key, String metadataItem)
-
getMetadata
public Map<String,String> getMetadata()
Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.- Returns:
- metadata
-
setMetadata
public void setMetadata(Map<String,String> metadata)
Contains key-value pairs of your references and descriptions, for example, `customId`:`your-own-custom-field-12345`.- Parameters:
metadata-
-
reference
public RelayedAuthorisationData reference(String reference)
-
getReference
public String getReference()
Your reference for the relayed authorisation data.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the relayed authorisation data.- Parameters:
reference-
-
equals
public boolean equals(Object o)
Return true if this RelayedAuthorisationData object is equal to o.
-
fromJson
public static RelayedAuthorisationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RelayedAuthorisationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RelayedAuthorisationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RelayedAuthorisationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RelayedAuthorisationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-