Class Price.MigrateTo

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Price.MigrateTo
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Price

public static class Price.MigrateTo extends StripeObject
  • Constructor Details

    • MigrateTo

      public MigrateTo()
  • Method Details

    • getBehavior

      public String getBehavior()
      The behavior controlling at what point in the subscription lifecycle to migrate the price

      Equal to at_cycle_end.

    • getEffectiveAfter

      public Long getEffectiveAfter()
      The unix timestamp after at which subscriptions will start to migrate to the new price.
    • getPrice

      public String getPrice()
      The id of the price being migrated to.
    • setBehavior

      public void setBehavior(String behavior)
      The behavior controlling at what point in the subscription lifecycle to migrate the price

      Equal to at_cycle_end.

    • setEffectiveAfter

      public void setEffectiveAfter(Long effectiveAfter)
      The unix timestamp after at which subscriptions will start to migrate to the new price.
    • setPrice

      public void setPrice(String price)
      The id of the price being migrated to.
    • 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