Package com.adyen.model.payment
Class ResponseAdditionalDataDomesticError
- java.lang.Object
-
- com.adyen.model.payment.ResponseAdditionalDataDomesticError
-
public class ResponseAdditionalDataDomesticError extends Object
ResponseAdditionalDataDomesticError
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAWstatic StringJSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalDataDomesticError()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseAdditionalDataDomesticErrordomesticRefusalReasonRaw(String domesticRefusalReasonRaw)The reason the transaction was declined, given by the local issuer.ResponseAdditionalDataDomesticErrordomesticShopperAdvice(String domesticShopperAdvice)The action the shopper should take, in a local language.booleanequals(Object o)Return true if this ResponseAdditionalDataDomesticError object is equal to o.static ResponseAdditionalDataDomesticErrorfromJson(String jsonString)Create an instance of ResponseAdditionalDataDomesticError given an JSON stringStringgetDomesticRefusalReasonRaw()The reason the transaction was declined, given by the local issuer.StringgetDomesticShopperAdvice()The action the shopper should take, in a local language.inthashCode()voidsetDomesticRefusalReasonRaw(String domesticRefusalReasonRaw)The reason the transaction was declined, given by the local issuer.voidsetDomesticShopperAdvice(String domesticShopperAdvice)The action the shopper should take, in a local language.StringtoJson()Convert an instance of ResponseAdditionalDataDomesticError to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW
public static final String JSON_PROPERTY_DOMESTIC_REFUSAL_REASON_RAW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE
public static final String JSON_PROPERTY_DOMESTIC_SHOPPER_ADVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
domesticRefusalReasonRaw
public ResponseAdditionalDataDomesticError domesticRefusalReasonRaw(String domesticRefusalReasonRaw)
The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.- Parameters:
domesticRefusalReasonRaw-- Returns:
- the current
ResponseAdditionalDataDomesticErrorinstance, allowing for method chaining
-
getDomesticRefusalReasonRaw
public String getDomesticRefusalReasonRaw()
The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.- Returns:
- domesticRefusalReasonRaw
-
setDomesticRefusalReasonRaw
public void setDomesticRefusalReasonRaw(String domesticRefusalReasonRaw)
The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.- Parameters:
domesticRefusalReasonRaw-
-
domesticShopperAdvice
public ResponseAdditionalDataDomesticError domesticShopperAdvice(String domesticShopperAdvice)
The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.- Parameters:
domesticShopperAdvice-- Returns:
- the current
ResponseAdditionalDataDomesticErrorinstance, allowing for method chaining
-
getDomesticShopperAdvice
public String getDomesticShopperAdvice()
The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.- Returns:
- domesticShopperAdvice
-
setDomesticShopperAdvice
public void setDomesticShopperAdvice(String domesticShopperAdvice)
The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.- Parameters:
domesticShopperAdvice-
-
equals
public boolean equals(Object o)
Return true if this ResponseAdditionalDataDomesticError object is equal to o.
-
fromJson
public static ResponseAdditionalDataDomesticError fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ResponseAdditionalDataDomesticError given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalDataDomesticError
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ResponseAdditionalDataDomesticError
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ResponseAdditionalDataDomesticError to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-