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 class
For more details about BillingCycle, please refer to the API Reference.static class
For more details about InvoiceDiscountRule, please refer to the API Reference.static class
For more details about Payer, please refer to the API Reference.static class
For more details about Settings, 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 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 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.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.The current status of the cadence.The ID of the Test Clock.int
hashCode()
void
setBillingCycle
(Cadence.BillingCycle billingCycle) The billing cycle is the object that defines future billing cycle dates.void
setCreated
(Instant created) Timestamp of when the object was created.void
Unique identifier for the object.void
setInvoiceDiscountRules
(List<Cadence.InvoiceDiscountRule> invoiceDiscountRules) The discount rules applied to all invoices for the cadence.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
setNextBillingDate
(Instant nextBillingDate) The date that the billing cadence will next bill.void
String representing the object's type.void
setPayer
(Cadence.Payer payer) The payer determines the entity financially responsible for the bill.void
setSettings
(Cadence.Settings settings) The settings associated with the cadence.void
The current status of the cadence.void
setTestClock
(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 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. -
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. -
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 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. -
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. -
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.
-