Package com.adyen.model.disputes
Class DeleteDefenseDocumentRequest
- java.lang.Object
-
- com.adyen.model.disputes.DeleteDefenseDocumentRequest
-
public class DeleteDefenseDocumentRequest extends Object
DeleteDefenseDocumentRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DEFENSE_DOCUMENT_TYPEstatic StringJSON_PROPERTY_DISPUTE_PSP_REFERENCEstatic StringJSON_PROPERTY_MERCHANT_ACCOUNT_CODE
-
Constructor Summary
Constructors Constructor Description DeleteDefenseDocumentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteDefenseDocumentRequestdefenseDocumentType(String defenseDocumentType)The document type code of the defense document.DeleteDefenseDocumentRequestdisputePspReference(String disputePspReference)The PSP reference assigned to the dispute.booleanequals(Object o)Return true if this DeleteDefenseDocumentRequest object is equal to o.static DeleteDefenseDocumentRequestfromJson(String jsonString)Create an instance of DeleteDefenseDocumentRequest given an JSON stringStringgetDefenseDocumentType()The document type code of the defense document.StringgetDisputePspReference()The PSP reference assigned to the dispute.StringgetMerchantAccountCode()The merchant account identifier, for which you want to process the dispute transaction.inthashCode()DeleteDefenseDocumentRequestmerchantAccountCode(String merchantAccountCode)The merchant account identifier, for which you want to process the dispute transaction.voidsetDefenseDocumentType(String defenseDocumentType)The document type code of the defense document.voidsetDisputePspReference(String disputePspReference)The PSP reference assigned to the dispute.voidsetMerchantAccountCode(String merchantAccountCode)The merchant account identifier, for which you want to process the dispute transaction.StringtoJson()Convert an instance of DeleteDefenseDocumentRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE
public static final String JSON_PROPERTY_DEFENSE_DOCUMENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPUTE_PSP_REFERENCE
public static final String JSON_PROPERTY_DISPUTE_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
defenseDocumentType
public DeleteDefenseDocumentRequest defenseDocumentType(String defenseDocumentType)
The document type code of the defense document.- Parameters:
defenseDocumentType-- Returns:
- the current
DeleteDefenseDocumentRequestinstance, allowing for method chaining
-
getDefenseDocumentType
public String getDefenseDocumentType()
The document type code of the defense document.- Returns:
- defenseDocumentType
-
setDefenseDocumentType
public void setDefenseDocumentType(String defenseDocumentType)
The document type code of the defense document.- Parameters:
defenseDocumentType-
-
disputePspReference
public DeleteDefenseDocumentRequest disputePspReference(String disputePspReference)
The PSP reference assigned to the dispute.- Parameters:
disputePspReference-- Returns:
- the current
DeleteDefenseDocumentRequestinstance, allowing for method chaining
-
getDisputePspReference
public String getDisputePspReference()
The PSP reference assigned to the dispute.- Returns:
- disputePspReference
-
setDisputePspReference
public void setDisputePspReference(String disputePspReference)
The PSP reference assigned to the dispute.- Parameters:
disputePspReference-
-
merchantAccountCode
public DeleteDefenseDocumentRequest merchantAccountCode(String merchantAccountCode)
The merchant account identifier, for which you want to process the dispute transaction.- Parameters:
merchantAccountCode-- Returns:
- the current
DeleteDefenseDocumentRequestinstance, allowing for method chaining
-
getMerchantAccountCode
public String getMerchantAccountCode()
The merchant account identifier, for which you want to process the dispute transaction.- Returns:
- merchantAccountCode
-
setMerchantAccountCode
public void setMerchantAccountCode(String merchantAccountCode)
The merchant account identifier, for which you want to process the dispute transaction.- Parameters:
merchantAccountCode-
-
equals
public boolean equals(Object o)
Return true if this DeleteDefenseDocumentRequest object is equal to o.
-
fromJson
public static DeleteDefenseDocumentRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DeleteDefenseDocumentRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteDefenseDocumentRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DeleteDefenseDocumentRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DeleteDefenseDocumentRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-