Package com.stripe.model.v2.billing
Class BillSetting
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.BillSetting
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Calculation, please refer to the API Reference.static class
For more details about Invoice, 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
Settings related to calculating a bill.Timestamp of when the object was created.An optional field for adding a display name for the BillSetting object.getId()
The ID of the BillSetting object.Settings related to invoice behavior.The ID of the invoice rendering template to be used when generating invoices.The latest version of the current settings object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.The current live version of the settings object.A lookup key used to retrieve settings dynamically from a static string.String representing the object's type.int
hashCode()
void
setCalculation
(BillSetting.Calculation calculation) Settings related to calculating a bill.void
setCreated
(Instant created) Timestamp of when the object was created.void
setDisplayName
(String displayName) An optional field for adding a display name for the BillSetting object.void
The ID of the BillSetting object.void
setInvoice
(BillSetting.Invoice invoice) Settings related to invoice behavior.void
setInvoiceRenderingTemplate
(String invoiceRenderingTemplate) The ID of the invoice rendering template to be used when generating invoices.void
setLatestVersion
(String latestVersion) The latest version of the current settings 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
setLiveVersion
(String liveVersion) The current live version of the settings object.void
setLookupKey
(String lookupKey) A lookup key used to retrieve settings dynamically from a static string.void
String representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
BillSetting
public BillSetting()
-
-
Method Details
-
getCalculation
Settings related to calculating a bill. -
getCreated
Timestamp of when the object was created. -
getDisplayName
An optional field for adding a display name for the BillSetting object. -
getInvoice
Settings related to invoice behavior. -
getInvoiceRenderingTemplate
The ID of the invoice rendering template to be used when generating invoices. -
getLatestVersion
The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated. -
getLiveVersion
The current live version of the settings object. This can be different from latest_version if settings are updated without setting live_version='latest'. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.bill_setting
. -
setCalculation
Settings related to calculating a bill. -
setCreated
Timestamp of when the object was created. -
setDisplayName
An optional field for adding a display name for the BillSetting object. -
setId
The ID of the BillSetting object. -
setInvoice
Settings related to invoice behavior. -
setInvoiceRenderingTemplate
The ID of the invoice rendering template to be used when generating invoices. -
setLatestVersion
The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated. -
setLiveVersion
The current live version of the settings object. This can be different from latest_version if settings are updated without setting live_version='latest'. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.bill_setting
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the BillSetting object.
-