Name | Type | Description | Notes |
---|---|---|---|
enable_preview_mode | bool | Specifies whether to create a subscription or preview the invoices that would be generated. | [optional] |
number_of_periods | int | The number of invoice periods to show in a preview. | [optional] |
preview_through_term_end | bool | Specifies whether to preview the charge through the end of the subscription term. Applicable to termed subscriptions only. | [optional] |
preview_type | str | The type of preview to return: * `InvoiceItem` - Return an invoice item preview * `ChargeMetrics` - Return a charge metrics preview * `InvoiceItemChargeMetrics` - Return an invoice item and charge metrics of that item | [optional] [default to 'InvoiceItem'] |