Class EcontextVoucherDetails


  • public class EcontextVoucherDetails
    extends Object
    EcontextVoucherDetails
    • Constructor Detail

      • EcontextVoucherDetails

        public EcontextVoucherDetails()
    • Method Detail

      • getCheckoutAttemptId

        public String getCheckoutAttemptId()
        The checkout attempt identifier.
        Returns:
        checkoutAttemptId
      • setCheckoutAttemptId

        public void setCheckoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId -
      • getFirstName

        public String getFirstName()
        The shopper's first name.
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
        The shopper's first name.
        Parameters:
        firstName -
      • getLastName

        public String getLastName()
        The shopper's last name.
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
        The shopper's last name.
        Parameters:
        lastName -
      • getShopperEmail

        public String getShopperEmail()
        The shopper's email.
        Returns:
        shopperEmail
      • setShopperEmail

        public void setShopperEmail​(String shopperEmail)
        The shopper's email.
        Parameters:
        shopperEmail -
      • getTelephoneNumber

        public String getTelephoneNumber()
        The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted.
        Returns:
        telephoneNumber
      • setTelephoneNumber

        public void setTelephoneNumber​(String telephoneNumber)
        The shopper's contact number. It must have an international number format, for example **+31 20 779 1846**. Formats like **+31 (0)20 779 1846** or **0031 20 779 1846** are not accepted.
        Parameters:
        telephoneNumber -
      • equals

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

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

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

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