Class Invoice.Parent

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

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

    • Parent

      public Parent()
  • 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.
    • 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