Package com.stripe.model.v2.billing
Class LicensedItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.LicensedItem
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about TaxDetails, 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
Timestamp of when the object was created.Description that customers will see in the invoice line item.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.An internal key you can use to search for a particular billable item.Set of key-value pairs that you can attach to an object.String representing the object's type.Stripe Tax details.The unit to use when displaying prices for this billable item in places like Checkout.int
hashCode()
void
setCreated
(Instant created) Timestamp of when the object was created.void
setDisplayName
(String displayName) Description that customers will see in the invoice line item.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
setLookupKey
(String lookupKey) An internal key you can use to search for a particular billable item.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
setTaxDetails
(LicensedItem.TaxDetails taxDetails) Stripe Tax details.void
setUnitLabel
(String unitLabel) The unit to use when displaying prices for this billable item in places like Checkout.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
LicensedItem
public LicensedItem()
-
-
Method Details
-
getCreated
Timestamp of when the object was created. -
getDisplayName
Description that customers will see in the invoice line item. Maximum length of 250 characters. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getLookupKey
An internal key you can use to search for a particular billable item. 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. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.licensed_item
. -
getTaxDetails
Stripe Tax details. -
getUnitLabel
The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to "seat" for Checkout to display "(price) per seat", or "environment" to display "(price) per environment". Maximum length of 100 characters. -
setCreated
Timestamp of when the object was created. -
setDisplayName
Description that customers will see in the invoice line item. Maximum length of 250 characters. -
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. -
setLookupKey
An internal key you can use to search for a particular billable item. 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. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.licensed_item
. -
setTaxDetails
Stripe Tax details. -
setUnitLabel
The unit to use when displaying prices for this billable item in places like Checkout. For example, set this field to "seat" for Checkout to display "(price) per seat", or "environment" to display "(price) per environment". Maximum length of 100 characters. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-