Class InvoiceDiscount

Hierarchy

  • InvoiceDiscount

Implements

Constructors

Properties

amount: number = 0
calc_flow: CalcFlow = CalcFlow.AfterSubtotal

Calculation flow

calc_type: CalcType = CalcType.Flat
coupon_uid: string = ''

Discount unique id

name: string = ''

the name can be the voucher or coupon name

percent: number = 0
type: DiscountType = DiscountType.Custom

Discount Type

voucher_uid: string = ''

Discount unique id

Generated using TypeDoc