Package com.stripe.model
Class Price.MigrateTo
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Price.MigrateTo
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Price
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The behavior controlling at what point in the subscription lifecycle to migrate the priceThe unix timestamp after at which subscriptions will start to migrate to the new price.getPrice()
The id of the price being migrated to.int
hashCode()
void
setBehavior
(String behavior) The behavior controlling at what point in the subscription lifecycle to migrate the pricevoid
setEffectiveAfter
(Long effectiveAfter) The unix timestamp after at which subscriptions will start to migrate to the new price.void
The id of the price being migrated to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MigrateTo
public MigrateTo()
-
-
Method Details
-
getBehavior
The behavior controlling at what point in the subscription lifecycle to migrate the priceEqual to
at_cycle_end
. -
getEffectiveAfter
The unix timestamp after at which subscriptions will start to migrate to the new price. -
getPrice
The id of the price being migrated to. -
setBehavior
The behavior controlling at what point in the subscription lifecycle to migrate the priceEqual to
at_cycle_end
. -
setEffectiveAfter
The unix timestamp after at which subscriptions will start to migrate to the new price. -
setPrice
The id of the price being migrated to. -
equals
-
canEqual
-
hashCode
public int hashCode()
-