Class Order.Customer.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Order.Customer.Builder setIsNew(boolean isNew) A flag indicating whether the customer is new (or not).
      Order.Customer build() Builds and returns an Order customer Object
      Order.Customer.Builder setEmail(String email) The SHA-256 hash of the transacting customer’s lowercase email, as a 64-character hex string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Order.Customer.Builder

        Order.Customer.Builder(String id)
        Parameters:
        id - The id for the transacting customer in your system (required)
    • Method Detail

      • setEmail

         Order.Customer.Builder setEmail(String email)

        The SHA-256 hash of the transacting customer’s lowercase email, as a 64-character hex string. Note: The value of the e-mail address must be converted to lowercase before computing the hash. The hash itself may use uppercase or lowercase hex characters.