interface Discount {
    coupon?: Billing.v2beta1.DiscountCoupon;
    creationDate?: Date;
    description: string;
    filters: Billing.v2beta1.DiscountFilter[];
    id: string;
    mode: Billing.v2beta1.DiscountDiscountMode;
    organizationId: string;
    startDate?: Date;
    stopDate?: Date;
    value: number;
    valueRemaining: number;
    valueUsed: number;
}

Properties

The description of the coupon.

creationDate?: Date

The creation date of the discount.

description: string

The description of the discount.

List of the discount scopes.

id: string

The ID of the discount.

The mode of the discount.

organizationId: string

The organization ID of the discount.

startDate?: Date

The start date of the discount.

stopDate?: Date

The stop date of the discount.

value: number

The initial value of the discount.

valueRemaining: number

The remaining value of the discount.

valueUsed: number

The value indicating how much of the discount has been used.