Class Session.TotalDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.TotalDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.TotalDetails extends StripeObject
  • Constructor Details

    • TotalDetails

      public TotalDetails()
  • Method Details

    • getAmountDiscount

      public Long getAmountDiscount()
      This is the sum of all the discounts.
    • getAmountShipping

      public Long getAmountShipping()
      This is the sum of all the shipping amounts.
    • getAmountTax

      public Long getAmountTax()
      This is the sum of all the tax amounts.
    • getBreakdown

      public Session.TotalDetails.Breakdown getBreakdown()
    • setAmountDiscount

      public void setAmountDiscount(Long amountDiscount)
      This is the sum of all the discounts.
    • setAmountShipping

      public void setAmountShipping(Long amountShipping)
      This is the sum of all the shipping amounts.
    • setAmountTax

      public void setAmountTax(Long amountTax)
      This is the sum of all the tax amounts.
    • setBreakdown

      public void setBreakdown(Session.TotalDetails.Breakdown breakdown)
    • 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