Name | Type | Description | Notes |
---|---|---|---|
handle | str | Per subscription unique handle for the subscription discount. | |
discount | str | Discount for subscription discount | |
state | str | Discount state `active` or `deleted`. | |
coupon | str | Coupon reference if this discount was released by a coupon code | [optional] |
deleted | datetime | Date when the discount was deleted if deleted. In ISO-8601 extended offset date-time format. | [optional] |
created | datetime | Date when the discount was created. In ISO-8601 extended offset date-time format. | |
name | str | Name of discount. Will be used as order line text. | |
description | str | Optional description of discount | [optional] |
amount | int | Fixed amount discount deducted from order line amounts including VAT | [optional] |
percentage | int | Percentage discount applied to each applicable order line | [optional] |
count | int | Number of invoices this subscription discount has been applied to | |
invoices | list[str] | List of invoices this subscription discount has been applied to | |
apply_to | list[str] | Which order lines the discount is applicable to: `all`, `setup_fee`, `plan`, `additional_cost`, `add_on` and `ondemand` | |
fixed_count | int | Apply discount to a fixed number of invoices | [optional] |
fixed_period_unit | str | Time unit use for fixed valid period | [optional] |
fixed_period | int | Fixed period length e.g. 12 months or 14 days | [optional] |
fixed_usage_reached | bool | Whether fixed usage for subscription discount has been reached | |
fixed_period_passed | bool | Whether fixed period for subscription discount has been passed |
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.