Class Source.Order

    • Constructor Detail

      • Order

        public Order()
    • Method Detail

      • getAmount

        public java.lang.Long getAmount()
        A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.
      • getEmail

        public java.lang.String getEmail()
        The email address of the customer placing the order.
      • getItems

        public java.util.List<Source.OrderItem> getItems()
        List of items constituting the order.
      • setAmount

        public void setAmount​(java.lang.Long amount)
        A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.
      • setEmail

        public void setEmail​(java.lang.String email)
        The email address of the customer placing the order.
      • setItems

        public void setItems​(java.util.List<Source.OrderItem> items)
        List of items constituting the order.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object