Class ResponseAdditionalDataDomesticError


  • public class ResponseAdditionalDataDomesticError
    extends Object
    ResponseAdditionalDataDomesticError
    • 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
    • Constructor Detail

      • ResponseAdditionalDataDomesticError

        public ResponseAdditionalDataDomesticError()
    • 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 - The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.
        Returns:
        the current ResponseAdditionalDataDomesticError instance, 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 The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.
      • 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 - The reason the transaction was declined, given by the local issuer. Currently available for merchants in Japan.
      • 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 - The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.
        Returns:
        the current ResponseAdditionalDataDomesticError instance, 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 The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.
      • 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 - The action the shopper should take, in a local language. Currently available in Japanese, for merchants in Japan.
      • includeNullValues

        public ResponseAdditionalDataDomesticError includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this ResponseAdditionalDataDomesticError object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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