Package com.stripe.model.v2.billing
Class Cadence
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Cadence
- All Implemented Interfaces:
HasId,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe billing cycle is the object that defines future billing cycle dates.static classFor more details about InvoiceDiscountRule, please refer to the API Reference.static classThe payer determines the entity financially responsible for the bill.static classThe settings associated with the cadence.static classSettings data that contains expanded billing settings configuration with actual values. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe billing cycle is the object that defines future billing cycle dates.Timestamp of when the object was created.getId()Unique identifier for the object.The discount rules applied to all invoices for the cadence.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.A lookup key used to retrieve cadences dynamically from a static string.Set of key-value pairs that you can attach to an object.The date that the billing cadence will next bill.String representing the object's type.getPayer()The payer determines the entity financially responsible for the bill.The settings associated with the cadence.Settings data that contains expanded billing settings configuration with actual values.The current status of the cadence.The ID of the Test Clock.inthashCode()voidsetBillingCycle(Cadence.BillingCycle billingCycle) The billing cycle is the object that defines future billing cycle dates.voidsetCreated(Instant created) Timestamp of when the object was created.voidUnique identifier for the object.voidsetInvoiceDiscountRules(List<Cadence.InvoiceDiscountRule> invoiceDiscountRules) The discount rules applied to all invoices for the cadence.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLookupKey(String lookupKey) A lookup key used to retrieve cadences dynamically from a static string.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidsetNextBillingDate(Instant nextBillingDate) The date that the billing cadence will next bill.voidString representing the object's type.voidsetPayer(Cadence.Payer payer) The payer determines the entity financially responsible for the bill.voidsetSettings(Cadence.Settings settings) The settings associated with the cadence.voidsetSettingsData(Cadence.SettingsData settingsData) Settings data that contains expanded billing settings configuration with actual values.voidThe current status of the cadence.voidsetTestClock(String testClock) The ID of the Test Clock.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Cadence
public Cadence()
-
-
Method Details
-
getBillingCycle
The billing cycle is the object that defines future billing cycle dates. -
getCreated
Timestamp of when the object was created. -
getInvoiceDiscountRules
The discount rules applied to all invoices for the cadence. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getLookupKey
A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters. -
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. -
getNextBillingDate
The date that the billing cadence will next bill. Null if the cadence is not active. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.cadence. -
getPayer
The payer determines the entity financially responsible for the bill. -
getSettings
The settings associated with the cadence. -
getSettingsData
Settings data that contains expanded billing settings configuration with actual values. -
getStatus
The current status of the cadence.One of
active, orcanceled. -
getTestClock
The ID of the Test Clock. -
setBillingCycle
The billing cycle is the object that defines future billing cycle dates. -
setCreated
Timestamp of when the object was created. -
setId
Unique identifier for the object. -
setInvoiceDiscountRules
The discount rules applied to all invoices for the cadence. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setLookupKey
A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters. -
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. -
setNextBillingDate
The date that the billing cadence will next bill. Null if the cadence is not active. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.cadence. -
setPayer
The payer determines the entity financially responsible for the bill. -
setSettings
The settings associated with the cadence. -
setSettingsData
Settings data that contains expanded billing settings configuration with actual values. -
setStatus
The current status of the cadence.One of
active, orcanceled. -
setTestClock
The ID of the Test Clock. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-