Package com.stripe.model
Class Subscription.PauseCollection
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.PauseCollection
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
The Pause Collection settings determine how we will pause collection for this subscription and
for how long the subscription should be paused.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The payment collection behavior for this subscription while paused.The time after which the subscription will resume collecting payments.int
hashCode()
void
setBehavior
(String behavior) The payment collection behavior for this subscription while paused.void
setResumesAt
(Long resumesAt) The time after which the subscription will resume collecting payments.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PauseCollection
public PauseCollection()
-
-
Method Details
-
getBehavior
The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
. -
getResumesAt
The time after which the subscription will resume collecting payments. -
setBehavior
The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
. -
setResumesAt
The time after which the subscription will resume collecting payments. -
equals
-
canEqual
-
hashCode
public int hashCode()
-