Package com.adyen.model.transferwebhooks
Class InternalCategoryData
- java.lang.Object
-
- com.adyen.model.transferwebhooks.InternalCategoryData
-
public class InternalCategoryData extends Object
InternalCategoryData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInternalCategoryData.TypeEnum**internal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_MODIFICATION_PSP_REFERENCEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description InternalCategoryData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this InternalCategoryData object is equal to o.static InternalCategoryDatafromJson(String jsonString)Create an instance of InternalCategoryData given an JSON stringStringgetModificationMerchantReference()The capture's merchant reference included in the transfer.StringgetModificationPspReference()The capture reference included in the transfer.InternalCategoryData.TypeEnumgetType()**internal**inthashCode()InternalCategoryDatamodificationMerchantReference(String modificationMerchantReference)The capture's merchant reference included in the transfer.InternalCategoryDatamodificationPspReference(String modificationPspReference)The capture reference included in the transfer.voidsetModificationMerchantReference(String modificationMerchantReference)The capture's merchant reference included in the transfer.voidsetModificationPspReference(String modificationPspReference)The capture reference included in the transfer.voidsetType(InternalCategoryData.TypeEnum type)**internal**StringtoJson()Convert an instance of InternalCategoryData to an JSON stringStringtoString()InternalCategoryDatatype(InternalCategoryData.TypeEnum type)**internal**
-
-
-
Field Detail
-
JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_MODIFICATION_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODIFICATION_PSP_REFERENCE
public static final String JSON_PROPERTY_MODIFICATION_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
modificationMerchantReference
public InternalCategoryData modificationMerchantReference(String modificationMerchantReference)
The capture's merchant reference included in the transfer.- Parameters:
modificationMerchantReference-- Returns:
- the current
InternalCategoryDatainstance, allowing for method chaining
-
getModificationMerchantReference
public String getModificationMerchantReference()
The capture's merchant reference included in the transfer.- Returns:
- modificationMerchantReference
-
setModificationMerchantReference
public void setModificationMerchantReference(String modificationMerchantReference)
The capture's merchant reference included in the transfer.- Parameters:
modificationMerchantReference-
-
modificationPspReference
public InternalCategoryData modificationPspReference(String modificationPspReference)
The capture reference included in the transfer.- Parameters:
modificationPspReference-- Returns:
- the current
InternalCategoryDatainstance, allowing for method chaining
-
getModificationPspReference
public String getModificationPspReference()
The capture reference included in the transfer.- Returns:
- modificationPspReference
-
setModificationPspReference
public void setModificationPspReference(String modificationPspReference)
The capture reference included in the transfer.- Parameters:
modificationPspReference-
-
type
public InternalCategoryData type(InternalCategoryData.TypeEnum type)
**internal**- Parameters:
type-- Returns:
- the current
InternalCategoryDatainstance, allowing for method chaining
-
getType
public InternalCategoryData.TypeEnum getType()
**internal**- Returns:
- type
-
setType
public void setType(InternalCategoryData.TypeEnum type)
**internal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this InternalCategoryData object is equal to o.
-
fromJson
public static InternalCategoryData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InternalCategoryData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InternalCategoryData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InternalCategoryData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InternalCategoryData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-