Class Avs


  • public class Avs
    extends Object
    Avs
    • Constructor Detail

      • Avs

        public Avs()
    • Method Detail

      • addressEditable

        public Avs addressEditable​(Boolean addressEditable)
      • getAddressEditable

        public Boolean getAddressEditable()
        Indicates whether the shopper is allowed to modify the billing address for the current payment request.
        Returns:
        addressEditable
      • setAddressEditable

        public void setAddressEditable​(Boolean addressEditable)
        Indicates whether the shopper is allowed to modify the billing address for the current payment request.
        Parameters:
        addressEditable -
      • getEnabled

        public Avs.EnabledEnum getEnabled()
        Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Avs.EnabledEnum enabled)
        Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks.
        Parameters:
        enabled -
      • equals

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

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

        public static Avs fromJson​(String jsonString)
                            throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Avs given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Avs
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Avs
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Avs to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException