Class Quote.Computed.Upfront

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.Computed.Upfront
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
Quote.Computed

public static class Quote.Computed.Upfront extends StripeObject implements StripeActiveObject
For more details about Upfront, please refer to the API Reference.
  • Constructor Details

    • Upfront

      public Upfront()
  • Method Details

    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAmountSubtotal

      public Long getAmountSubtotal()
      Total before any discounts or taxes are applied.
    • getAmountTotal

      public Long getAmountTotal()
      Total after discounts and taxes are applied.
    • getLineItems

      public LineItemCollection getLineItems()
      The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice.
    • getTotalDetails

      public Quote.Computed.Upfront.TotalDetails getTotalDetails()
    • setAmountSubtotal

      public void setAmountSubtotal(Long amountSubtotal)
      Total before any discounts or taxes are applied.
    • setAmountTotal

      public void setAmountTotal(Long amountTotal)
      Total after discounts and taxes are applied.
    • setLineItems

      public void setLineItems(LineItemCollection lineItems)
      The line items that will appear on the next invoice after this quote is accepted. This does not include pending invoice items that exist on the customer but may still be included in the next invoice.
    • setTotalDetails

      public void setTotalDetails(Quote.Computed.Upfront.TotalDetails totalDetails)
    • 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