Class Invoice.Parent

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.Parent
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Invoice

public static class Invoice.Parent extends StripeObject
For more details about Parent, please refer to the API Reference.
  • Constructor Details

    • Parent

      public Parent()
  • Method Details

    • getQuoteDetails

      public Invoice.Parent.QuoteDetails getQuoteDetails()
      Details about the quote that generated this invoice.
    • getSubscriptionDetails

      public Invoice.Parent.SubscriptionDetails getSubscriptionDetails()
      Details about the subscription that generated this invoice.
    • getType

      public String getType()
      The type of parent that generated this invoice

      One of quote_details, or subscription_details.

    • setQuoteDetails

      public void setQuoteDetails(Invoice.Parent.QuoteDetails quoteDetails)
      Details about the quote that generated this invoice.
    • setSubscriptionDetails

      public void setSubscriptionDetails(Invoice.Parent.SubscriptionDetails subscriptionDetails)
      Details about the subscription that generated this invoice.
    • setType

      public void setType(String type)
      The type of parent that generated this invoice

      One of quote_details, or subscription_details.

    • 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