Class Order.ShippingMethod

    • Constructor Detail

      • ShippingMethod

        public ShippingMethod()
    • 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 line item.
      • getDeliveryEstimate

        public Order.ShippingMethod.DeliveryEstimate getDeliveryEstimate()
        The estimated delivery date for the given shipping method. Can be either a specific date or a range.
      • getDescription

        public java.lang.String getDescription()
        An arbitrary string attached to the object. Often useful for displaying to users.
      • 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 line item.
      • setDeliveryEstimate

        public void setDeliveryEstimate​(Order.ShippingMethod.DeliveryEstimate deliveryEstimate)
        The estimated delivery date for the given shipping method. Can be either a specific date or a range.
      • setDescription

        public void setDescription​(java.lang.String description)
        An arbitrary string attached to the object. Often useful for displaying to users.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • 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
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId