Class BillSettingVersion

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

public class BillSettingVersion extends StripeObject implements HasId
  • Constructor Details

    • BillSettingVersion

      public BillSettingVersion()
  • Method Details

    • getCalculation

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

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

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

      public String getInvoiceRenderingTemplate()
      The ID of the invoice rendering template to be used when generating invoices.
    • 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.
    • 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_version.

    • setCalculation

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

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

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

      public void setInvoice(BillSettingVersion.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.
    • 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.
    • 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_version.

    • 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 BillSettingVersion object.
      Specified by:
      getId in interface HasId