Skip to main content

SubscriptionPriceDiscountValueInput

The input fields for setting a subscription price discount's value.

input SubscriptionPriceDiscountValueInput {
fixedAmount: MoneyInput
percentage: Percentage
type: SubscriptionPriceDiscountType!
}

Fields​

SubscriptionPriceDiscountValueInput.fixedAmount ● MoneyInput input types​

The amount to take off each unit, when type is FIXED_AMOUNT.

SubscriptionPriceDiscountValueInput.percentage ● Percentage scalar types​

The percentage to take off each unit's price, when type is PERCENTAGE.

SubscriptionPriceDiscountValueInput.type ● SubscriptionPriceDiscountType! non-null enum types​

Whether the discount is a percentage or a fixed amount.

Member Of​

SubscriptionPriceDiscountInput input