Class Source.SourceOrder

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.SourceOrder
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Source

public static class Source.SourceOrder extends StripeObject
  • Constructor Details

    • SourceOrder

      public SourceOrder()
  • Method Details

    • getAmount

      public 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.
    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getEmail

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

      public List<Source.SourceOrder.Item> getItems()
      List of items constituting the order.
    • getShipping

      public ShippingDetails getShipping()
    • setAmount

      public void setAmount(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.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setEmail

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

      public void setItems(List<Source.SourceOrder.Item> items)
      List of items constituting the order.
    • setShipping

      public void setShipping(ShippingDetails shipping)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object