Class ShopperInput


  • public class ShopperInput
    extends Object
    ShopperInput
    • Constructor Detail

      • ShopperInput

        public ShopperInput()
    • Method Detail

      • getBillingAddress

        public ShopperInput.BillingAddressEnum getBillingAddress()
        Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly
        Returns:
        billingAddress
      • setBillingAddress

        public void setBillingAddress​(ShopperInput.BillingAddressEnum billingAddress)
        Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly
        Parameters:
        billingAddress -
      • getDeliveryAddress

        public ShopperInput.DeliveryAddressEnum getDeliveryAddress()
        Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly
        Returns:
        deliveryAddress
      • setDeliveryAddress

        public void setDeliveryAddress​(ShopperInput.DeliveryAddressEnum deliveryAddress)
        Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly
        Parameters:
        deliveryAddress -
      • getPersonalDetails

        public ShopperInput.PersonalDetailsEnum getPersonalDetails()
        Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly
        Returns:
        personalDetails
      • setPersonalDetails

        public void setPersonalDetails​(ShopperInput.PersonalDetailsEnum personalDetails)
        Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly
        Parameters:
        personalDetails -
      • equals

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

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

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

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