Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PaymentBreakdown

Hierarchy

  • PaymentBreakdown

Implements

Index

Properties

grossTotal

grossTotal: Currency

Final displayable price (including tax, discounts, surcharges)

netTotal

netTotal: Currency

Order price after any discounts / coupons are appled Should include delivery charge and any surcharges but not tax.

Optional pos

pos: Record<string, Currency>

A bag of data to be used for proving POS-specific payment information e.g. detailed tax breakdown

Optional rounding

rounding: Currency

Number of pennies rounded +/- Some markets round cash transaction Range = -0.99 to 0.99 Example: -0.01 when the price is lowered 1 penny or 0.01 when the price is raised.

taxTotal

taxTotal: Currency

Total tax payable on all charges

taxes

taxes: TaxLine[]

Detailed tax breakdown that is used for display to the customer

Generated using TypeDoc