Class Quote.SubscriptionDataOverride

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.SubscriptionDataOverride
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Quote

public static class Quote.SubscriptionDataOverride extends StripeObject
  • Constructor Details

    • SubscriptionDataOverride

      public SubscriptionDataOverride()
  • Method Details

    • getAppliesTo

    • getBillOnAcceptance

      Describes the period to bill for upon accepting the quote.
    • getBillingBehavior

      public String getBillingBehavior()
      Configures when the subscription schedule generates prorations for phase transitions. Possible values are prorate_on_next_phase or prorate_up_front with the default being prorate_on_next_phase. prorate_on_next_phase will apply phase changes and generate prorations at transition time.prorate_up_front will bill for all phases within the current billing cycle up front.

      One of prorate_on_next_phase, or prorate_up_front.

    • getCustomer

      public String getCustomer()
      The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
    • getDescription

      public String getDescription()
      The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
    • getEndBehavior

      public String getEndBehavior()
      Behavior of the subscription schedule and underlying subscription when it ends.

      One of cancel, or release.

    • getProrationBehavior

      public String getProrationBehavior()
      Determines how to handle prorations when the quote is accepted.

      One of always_invoice, create_prorations, or none.

    • setAppliesTo

      public void setAppliesTo(Quote.SubscriptionDataOverride.AppliesTo appliesTo)
    • setBillOnAcceptance

      public void setBillOnAcceptance(Quote.SubscriptionDataOverride.BillOnAcceptance billOnAcceptance)
      Describes the period to bill for upon accepting the quote.
    • setBillingBehavior

      public void setBillingBehavior(String billingBehavior)
      Configures when the subscription schedule generates prorations for phase transitions. Possible values are prorate_on_next_phase or prorate_up_front with the default being prorate_on_next_phase. prorate_on_next_phase will apply phase changes and generate prorations at transition time.prorate_up_front will bill for all phases within the current billing cycle up front.

      One of prorate_on_next_phase, or prorate_up_front.

    • setCustomer

      public void setCustomer(String customer)
      The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
    • setDescription

      public void setDescription(String description)
      The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription.
    • setEndBehavior

      public void setEndBehavior(String endBehavior)
      Behavior of the subscription schedule and underlying subscription when it ends.

      One of cancel, or release.

    • setProrationBehavior

      public void setProrationBehavior(String prorationBehavior)
      Determines how to handle prorations when the quote is accepted.

      One of always_invoice, create_prorations, or none.

    • 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