Class QuoteLine

All Implemented Interfaces:
HasId, StripeObjectInterface

public class QuoteLine extends StripeObject implements HasId
A quote line defines a set of changes that will be applied upon quote acceptance.
  • Constructor Details

    • QuoteLine

      public QuoteLine()
  • Method Details

    • getActions

      public List<QuoteLine.Action> getActions()
      A list of items the customer is being quoted for.
    • getAppliesTo

      public QuoteLine.AppliesTo getAppliesTo()
      Details to identify the subscription schedule the quote line applies to.
    • getBillingCycleAnchor

      public String getBillingCycleAnchor()
      For a point-in-time operation, this attribute lets you set or update whether the subscription's billing cycle anchor is reset at the starts_at timestamp.

      One of automatic, or line_starts_at.

    • getEndsAt

      public QuoteLine.EndsAt getEndsAt()
      Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at starts_at, and a restricted set of attributes is supported on the quote line.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to quote_line.

    • getProrationBehavior

      public String getProrationBehavior()
      Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.

      One of always_invoice, create_prorations, or none.

    • getSetScheduleEnd

      public String getSetScheduleEnd()
      Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.

      One of line_ends_at, or line_starts_at.

    • getStartsAt

      public QuoteLine.StartsAt getStartsAt()
      Details to identify the earliest timestamp where the proposed change should take effect.
    • getTrialSettings

      public QuoteLine.TrialSettings getTrialSettings()
      Settings related to subscription trials.
    • setActions

      public void setActions(List<QuoteLine.Action> actions)
      A list of items the customer is being quoted for.
    • setAppliesTo

      public void setAppliesTo(QuoteLine.AppliesTo appliesTo)
      Details to identify the subscription schedule the quote line applies to.
    • setBillingCycleAnchor

      public void setBillingCycleAnchor(String billingCycleAnchor)
      For a point-in-time operation, this attribute lets you set or update whether the subscription's billing cycle anchor is reset at the starts_at timestamp.

      One of automatic, or line_starts_at.

    • setEndsAt

      public void setEndsAt(QuoteLine.EndsAt endsAt)
      Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at starts_at, and a restricted set of attributes is supported on the quote line.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to quote_line.

    • setProrationBehavior

      public void setProrationBehavior(String prorationBehavior)
      Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.

      One of always_invoice, create_prorations, or none.

    • setSetScheduleEnd

      public void setSetScheduleEnd(String setScheduleEnd)
      Timestsamp helper to end the underlying schedule early, based on the acompanying line's start or end date.

      One of line_ends_at, or line_starts_at.

    • setStartsAt

      public void setStartsAt(QuoteLine.StartsAt startsAt)
      Details to identify the earliest timestamp where the proposed change should take effect.
    • setTrialSettings

      public void setTrialSettings(QuoteLine.TrialSettings trialSettings)
      Settings related to subscription trials.
    • 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
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId