Class Subscription.BillingSchedule.BillUntil

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.BillingSchedule.BillUntil
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Subscription.BillingSchedule

public static class Subscription.BillingSchedule.BillUntil extends StripeObject
Specifies the end of billing period.
  • Constructor Details

    • BillUntil

      public BillUntil()
  • Method Details

    • getComputedTimestamp

      public Long getComputedTimestamp()
      The timestamp the billing schedule will apply until.
    • getDuration

      Specifies the billing period.
    • getTimestamp

      public Long getTimestamp()
      If specified, the billing schedule will apply until the specified timestamp.
    • getType

      public String getType()
      Describes how the billing schedule will determine the end date. Either duration or timestamp.

      One of duration, or timestamp.

    • setComputedTimestamp

      public void setComputedTimestamp(Long computedTimestamp)
      The timestamp the billing schedule will apply until.
    • setDuration

      public void setDuration(Subscription.BillingSchedule.BillUntil.Duration duration)
      Specifies the billing period.
    • setTimestamp

      public void setTimestamp(Long timestamp)
      If specified, the billing schedule will apply until the specified timestamp.
    • setType

      public void setType(String type)
      Describes how the billing schedule will determine the end date. Either duration or timestamp.

      One of duration, or timestamp.

    • 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