Package com.adyen.model.transfers
Class InternalReviewTrackingData
- java.lang.Object
-
- com.adyen.model.transfers.InternalReviewTrackingData
-
public class InternalReviewTrackingData extends Object
InternalReviewTrackingData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInternalReviewTrackingData.ReasonEnumThe reason why the transfer failed Adyen's internal review.static classInternalReviewTrackingData.StatusEnumThe status of the transfer.static classInternalReviewTrackingData.TypeEnumThe type of tracking event.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description InternalReviewTrackingData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this InternalReviewTrackingData object is equal to o.static InternalReviewTrackingDatafromJson(String jsonString)Create an instance of InternalReviewTrackingData given an JSON stringInternalReviewTrackingData.ReasonEnumgetReason()The reason why the transfer failed Adyen's internal review.InternalReviewTrackingData.StatusEnumgetStatus()The status of the transfer.InternalReviewTrackingData.TypeEnumgetType()The type of tracking event.inthashCode()InternalReviewTrackingDatareason(InternalReviewTrackingData.ReasonEnum reason)voidsetReason(InternalReviewTrackingData.ReasonEnum reason)The reason why the transfer failed Adyen's internal review.voidsetStatus(InternalReviewTrackingData.StatusEnum status)The status of the transfer.voidsetType(InternalReviewTrackingData.TypeEnum type)The type of tracking event.InternalReviewTrackingDatastatus(InternalReviewTrackingData.StatusEnum status)StringtoJson()Convert an instance of InternalReviewTrackingData to an JSON stringStringtoString()InternalReviewTrackingDatatype(InternalReviewTrackingData.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_REASON
public static final String JSON_PROPERTY_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
reason
public InternalReviewTrackingData reason(InternalReviewTrackingData.ReasonEnum reason)
-
getReason
public InternalReviewTrackingData.ReasonEnum getReason()
The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new).- Returns:
- reason
-
setReason
public void setReason(InternalReviewTrackingData.ReasonEnum reason)
The reason why the transfer failed Adyen's internal review. Possible values: - **refusedForRegulatoryReasons**: the transfer does not comply with Adyen's risk policy. For more information, [contact the Support Team](https://www.adyen.help/hc/en-us/requests/new).- Parameters:
reason-
-
status
public InternalReviewTrackingData status(InternalReviewTrackingData.StatusEnum status)
-
getStatus
public InternalReviewTrackingData.StatusEnum getStatus()
The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`.- Returns:
- status
-
setStatus
public void setStatus(InternalReviewTrackingData.StatusEnum status)
The status of the transfer. Possible values: - **pending**: the transfer is under internal review. - **failed**: the transfer failed Adyen's internal review. For details, see `reason`.- Parameters:
status-
-
type
public InternalReviewTrackingData type(InternalReviewTrackingData.TypeEnum type)
-
getType
public InternalReviewTrackingData.TypeEnum getType()
The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.- Returns:
- type
-
setType
public void setType(InternalReviewTrackingData.TypeEnum type)
The type of tracking event. Possible values: - **internalReview**: the transfer was flagged because it does not comply with Adyen's risk policy.- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this InternalReviewTrackingData object is equal to o.
-
fromJson
public static InternalReviewTrackingData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of InternalReviewTrackingData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InternalReviewTrackingData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to InternalReviewTrackingData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of InternalReviewTrackingData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-