Package com.stripe.model.v2.billing
Class RateCardSubscription
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.RateCardSubscription
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about CollectionStatusTransitions, please refer to the API Reference.static class
For more details about ServicingStatusTransitions, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The ID of the Billing Cadence.The payment status of a Rate Card Subscription.The collection status transitions of the Rate Card Subscription.Timestamp of when the object was created.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.The ID of the Rate Card.The ID of the Rate Card Version.The servicing status of a Rate Card Subscription.The servicing status transitions of the Rate Card Subscription.The ID of the Test Clock, if any.int
hashCode()
void
setBillingCadence
(String billingCadence) The ID of the Billing Cadence.void
setCollectionStatus
(String collectionStatus) The payment status of a Rate Card Subscription.void
setCollectionStatusTransitions
(RateCardSubscription.CollectionStatusTransitions collectionStatusTransitions) The collection status transitions of the Rate Card Subscription.void
setCreated
(Instant created) Timestamp of when the object was created.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
setRateCard
(String rateCard) The ID of the Rate Card.void
setRateCardVersion
(String rateCardVersion) The ID of the Rate Card Version.void
setServicingStatus
(String servicingStatus) The servicing status of a Rate Card Subscription.void
setServicingStatusTransitions
(RateCardSubscription.ServicingStatusTransitions servicingStatusTransitions) The servicing status transitions of the Rate Card Subscription.void
setTestClock
(String testClock) The ID of the Test Clock, if any.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
RateCardSubscription
public RateCardSubscription()
-
-
Method Details
-
getBillingCadence
The ID of the Billing Cadence. -
getCollectionStatus
The payment status of a Rate Card Subscription.One of
awaiting_customer_action
,current
,past_due
,paused
, orunpaid
. -
getCollectionStatusTransitions
The collection status transitions of the Rate Card Subscription. -
getCreated
Timestamp of when the object was created. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.rate_card_subscription
. -
getRateCard
The ID of the Rate Card. -
getRateCardVersion
The ID of the Rate Card Version. -
getServicingStatus
The servicing status of a Rate Card Subscription.One of
active
,canceled
,paused
, orpending
. -
getServicingStatusTransitions
The servicing status transitions of the Rate Card Subscription. -
getTestClock
The ID of the Test Clock, if any. -
setBillingCadence
The ID of the Billing Cadence. -
setCollectionStatus
The payment status of a Rate Card Subscription.One of
awaiting_customer_action
,current
,past_due
,paused
, orunpaid
. -
setCollectionStatusTransitions
public void setCollectionStatusTransitions(RateCardSubscription.CollectionStatusTransitions collectionStatusTransitions) The collection status transitions of the Rate Card Subscription. -
setCreated
Timestamp of when the object was created. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.rate_card_subscription
. -
setRateCard
The ID of the Rate Card. -
setRateCardVersion
The ID of the Rate Card Version. -
setServicingStatus
The servicing status of a Rate Card Subscription.One of
active
,canceled
,paused
, orpending
. -
setServicingStatusTransitions
public void setServicingStatusTransitions(RateCardSubscription.ServicingStatusTransitions servicingStatusTransitions) The servicing status transitions of the Rate Card Subscription. -
setTestClock
The ID of the Test Clock, if any. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-