Package com.adyen.model.disputes
Class SupplyDefenseDocumentRequest
- java.lang.Object
-
- com.adyen.model.disputes.SupplyDefenseDocumentRequest
-
public class SupplyDefenseDocumentRequest extends Object
SupplyDefenseDocumentRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DEFENSE_DOCUMENTSstatic StringJSON_PROPERTY_DISPUTE_PSP_REFERENCEstatic StringJSON_PROPERTY_MERCHANT_ACCOUNT_CODE
-
Constructor Summary
Constructors Constructor Description SupplyDefenseDocumentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SupplyDefenseDocumentRequestaddDefenseDocumentsItem(DefenseDocument defenseDocumentsItem)SupplyDefenseDocumentRequestdefenseDocuments(List<DefenseDocument> defenseDocuments)SupplyDefenseDocumentRequestdisputePspReference(String disputePspReference)booleanequals(Object o)Return true if this SupplyDefenseDocumentRequest object is equal to o.static SupplyDefenseDocumentRequestfromJson(String jsonString)Create an instance of SupplyDefenseDocumentRequest given an JSON stringList<DefenseDocument>getDefenseDocuments()An array containing a list of the defense documents.StringgetDisputePspReference()The PSP reference assigned to the dispute.StringgetMerchantAccountCode()The merchant account identifier, for which you want to process the dispute transaction.inthashCode()SupplyDefenseDocumentRequestmerchantAccountCode(String merchantAccountCode)voidsetDefenseDocuments(List<DefenseDocument> defenseDocuments)voidsetDisputePspReference(String disputePspReference)voidsetMerchantAccountCode(String merchantAccountCode)StringtoJson()Convert an instance of SupplyDefenseDocumentRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DEFENSE_DOCUMENTS
public static final String JSON_PROPERTY_DEFENSE_DOCUMENTS
- 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
-
defenseDocuments
public SupplyDefenseDocumentRequest defenseDocuments(List<DefenseDocument> defenseDocuments)
-
addDefenseDocumentsItem
public SupplyDefenseDocumentRequest addDefenseDocumentsItem(DefenseDocument defenseDocumentsItem)
-
getDefenseDocuments
public List<DefenseDocument> getDefenseDocuments()
An array containing a list of the defense documents.- Returns:
- defenseDocuments
-
setDefenseDocuments
public void setDefenseDocuments(List<DefenseDocument> defenseDocuments)
-
disputePspReference
public SupplyDefenseDocumentRequest disputePspReference(String disputePspReference)
-
getDisputePspReference
public String getDisputePspReference()
The PSP reference assigned to the dispute.- Returns:
- disputePspReference
-
setDisputePspReference
public void setDisputePspReference(String disputePspReference)
-
merchantAccountCode
public SupplyDefenseDocumentRequest merchantAccountCode(String merchantAccountCode)
-
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)
-
equals
public boolean equals(Object o)
Return true if this SupplyDefenseDocumentRequest object is equal to o.
-
fromJson
public static SupplyDefenseDocumentRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SupplyDefenseDocumentRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SupplyDefenseDocumentRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SupplyDefenseDocumentRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SupplyDefenseDocumentRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-