Class DokuDetails


  • public class DokuDetails
    extends Object
    DokuDetails
    • Constructor Detail

      • DokuDetails

        public DokuDetails()
    • Method Detail

      • checkoutAttemptId

        public DokuDetails checkoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId - The checkout attempt identifier.
        Returns:
        the current DokuDetails instance, allowing for method chaining
      • getCheckoutAttemptId

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

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

        public DokuDetails firstName​(String firstName)
        The shopper's first name.
        Parameters:
        firstName - The shopper's first name.
        Returns:
        the current DokuDetails instance, allowing for method chaining
      • getFirstName

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

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

        public DokuDetails lastName​(String lastName)
        The shopper's last name.
        Parameters:
        lastName - The shopper's last name.
        Returns:
        the current DokuDetails instance, allowing for method chaining
      • getLastName

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

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

        public DokuDetails shopperEmail​(String shopperEmail)
        The shopper's email.
        Parameters:
        shopperEmail - The shopper's email.
        Returns:
        the current DokuDetails instance, allowing for method chaining
      • getShopperEmail

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

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

        public DokuDetails type​(DokuDetails.TypeEnum type)
        **doku**
        Parameters:
        type - **doku**
        Returns:
        the current DokuDetails instance, allowing for method chaining
      • equals

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

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

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

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