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
public static class Subscription.PauseCollection extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PauseCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getBehavior()
The payment collection behavior for this subscription while paused.java.lang.Long
getResumesAt()
The time after which the subscription will resume collecting payments.int
hashCode()
void
setBehavior(java.lang.String behavior)
The payment collection behavior for this subscription while paused.void
setResumesAt(java.lang.Long resumesAt)
The time after which the subscription will resume collecting payments.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getBehavior
public java.lang.String getBehavior()
The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
.
-
getResumesAt
public java.lang.Long getResumesAt()
The time after which the subscription will resume collecting payments.
-
setBehavior
public void setBehavior(java.lang.String behavior)
The payment collection behavior for this subscription while paused. One ofkeep_as_draft
,mark_uncollectible
, orvoid
.
-
setResumesAt
public void setResumesAt(java.lang.Long resumesAt)
The time after which the subscription will resume collecting payments.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-