Package com.adyen.model.disputes
Class DefendDisputeResponse
- java.lang.Object
-
- com.adyen.model.disputes.DefendDisputeResponse
-
public class DefendDisputeResponse extends Object
DefendDisputeResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISPUTE_SERVICE_RESULT
-
Constructor Summary
Constructors Constructor Description DefendDisputeResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DefendDisputeResponsedisputeServiceResult(DisputeServiceResult disputeServiceResult)disputeServiceResultbooleanequals(Object o)Return true if this DefendDisputeResponse object is equal to o.static DefendDisputeResponsefromJson(String jsonString)Create an instance of DefendDisputeResponse given an JSON stringDisputeServiceResultgetDisputeServiceResult()disputeServiceResultinthashCode()voidsetDisputeServiceResult(DisputeServiceResult disputeServiceResult)disputeServiceResultStringtoJson()Convert an instance of DefendDisputeResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISPUTE_SERVICE_RESULT
public static final String JSON_PROPERTY_DISPUTE_SERVICE_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
disputeServiceResult
public DefendDisputeResponse disputeServiceResult(DisputeServiceResult disputeServiceResult)
disputeServiceResult- Parameters:
disputeServiceResult-- Returns:
- the current
DefendDisputeResponseinstance, allowing for method chaining
-
getDisputeServiceResult
public DisputeServiceResult getDisputeServiceResult()
disputeServiceResult- Returns:
- disputeServiceResult
-
setDisputeServiceResult
public void setDisputeServiceResult(DisputeServiceResult disputeServiceResult)
disputeServiceResult- Parameters:
disputeServiceResult-
-
equals
public boolean equals(Object o)
Return true if this DefendDisputeResponse object is equal to o.
-
fromJson
public static DefendDisputeResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DefendDisputeResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DefendDisputeResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DefendDisputeResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DefendDisputeResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-