Class QuotePreviewInvoice.TotalMarginAmount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewInvoice.TotalMarginAmount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
QuotePreviewInvoice

public static class QuotePreviewInvoice.TotalMarginAmount extends StripeObject
  • Constructor Details

    • TotalMarginAmount

      public TotalMarginAmount()
  • Method Details

    • getMargin

      public String getMargin()
      Get ID of expandable margin object.
    • setMargin

      public void setMargin(String id)
    • getMarginObject

      public Margin getMarginObject()
      Get expanded margin.
    • setMarginObject

      public void setMarginObject(Margin expandableObject)
    • getAmount

      public Long getAmount()
      The amount, in cents (or local equivalent), of the reduction in line item amount.
    • setAmount

      public void setAmount(Long amount)
      The amount, in cents (or local equivalent), of the reduction in line item amount.
    • 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