Class InvoiceUpcomingParams.InvoiceItem.Period

java.lang.Object
com.stripe.param.InvoiceUpcomingParams.InvoiceItem.Period
Enclosing class:
InvoiceUpcomingParams.InvoiceItem

public static class InvoiceUpcomingParams.InvoiceItem.Period extends Object
ID of the promotion code to create a new discount for.
  • Method Details

    • builder

    • getEnd

      public Long getEnd()
      Required. The end of the period, which must be greater than or equal to the start. This value is inclusive.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getStart

      public Long getStart()
      Required. The start of the period. This value is inclusive.