Class LicensedItem

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.LicensedItem
All Implemented Interfaces:
HasId, StripeObjectInterface

public class LicensedItem extends StripeObject implements HasId
  • Constructor Details

    • LicensedItem

      public LicensedItem()
  • Method Details

    • getCreated

      public Instant getCreated()
      Timestamp of when the object was created.
    • getDisplayName

      public String getDisplayName()
      Description that customers will see in the invoice line item. Maximum length of 250 characters.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getLookupKey

      public String getLookupKey()
      An internal key you can use to search for a particular billable item. Maximum length of 200 characters.
    • getMetadata

      public Map<String,String> 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

      public String 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

      public LicensedItem.TaxDetails getTaxDetails()
      Stripe Tax details.
    • getUnitLabel

      public String 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

      public void setCreated(Instant created)
      Timestamp of when the object was created.
    • setDisplayName

      public void setDisplayName(String displayName)
      Description that customers will see in the invoice line item. Maximum length of 250 characters.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setLookupKey

      public void setLookupKey(String lookupKey)
      An internal key you can use to search for a particular billable item. Maximum length of 200 characters.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      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

      public void setObject(String object)
      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

      public void setTaxDetails(LicensedItem.TaxDetails taxDetails)
      Stripe Tax details.
    • setUnitLabel

      public void setUnitLabel(String unitLabel)
      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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId