Class Invoice.AppliesTo

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

public static class Invoice.AppliesTo extends StripeObject
  • Constructor Details

    • AppliesTo

      public AppliesTo()
  • Method Details

    • getNewReference

      public String getNewReference()
      A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same new_reference field will be applied to the creation of a new subscription schedule.
    • getSubscriptionSchedule

      public String getSubscriptionSchedule()
      The ID of the schedule the line applies to.
    • getType

      public String getType()
      Describes whether the quote line is affecting a new schedule or an existing schedule.

      One of new_reference, or subscription_schedule.

    • setNewReference

      public void setNewReference(String newReference)
      A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same new_reference field will be applied to the creation of a new subscription schedule.
    • setSubscriptionSchedule

      public void setSubscriptionSchedule(String subscriptionSchedule)
      The ID of the schedule the line applies to.
    • setType

      public void setType(String type)
      Describes whether the quote line is affecting a new schedule or an existing schedule.

      One of new_reference, or subscription_schedule.

    • 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