Class BillSetting

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

public class BillSetting extends StripeObject implements HasId
  • Constructor Details

    • BillSetting

      public BillSetting()
  • Method Details

    • getCalculation

      public BillSetting.Calculation getCalculation()
      Settings related to calculating a bill.
    • getCreated

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

      public String getDisplayName()
      An optional field for adding a display name for the BillSetting object.
    • getInvoice

      public BillSetting.Invoice getInvoice()
      Settings related to invoice behavior.
    • getInvoiceRenderingTemplate

      public String getInvoiceRenderingTemplate()
      The ID of the invoice rendering template to be used when generating invoices.
    • getLatestVersion

      public String getLatestVersion()
      The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated.
    • getLiveVersion

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

      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()
      A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.
    • 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.bill_setting.

    • setCalculation

      public void setCalculation(BillSetting.Calculation calculation)
      Settings related to calculating a bill.
    • setCreated

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

      public void setDisplayName(String displayName)
      An optional field for adding a display name for the BillSetting object.
    • setId

      public void setId(String id)
      The ID of the BillSetting object.
    • setInvoice

      public void setInvoice(BillSetting.Invoice invoice)
      Settings related to invoice behavior.
    • setInvoiceRenderingTemplate

      public void setInvoiceRenderingTemplate(String invoiceRenderingTemplate)
      The ID of the invoice rendering template to be used when generating invoices.
    • setLatestVersion

      public void setLatestVersion(String latestVersion)
      The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated.
    • setLiveVersion

      public void setLiveVersion(String liveVersion)
      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

      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)
      A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters.
    • 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.bill_setting.

    • 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()
      The ID of the BillSetting object.
      Specified by:
      getId in interface HasId