IReceiptCard interface

Displays a rich receipt to a user for something they've either bought or are planning to buy.

Properties

buttons

Set of actions applicable to the current card. Not all channels support buttons and the number of allowed buttons varies by channel.

facts

Array of additional facts to display to user (shipping charges and such.) Not all facts will be displayed on all channels.

items

Array of receipt items.

tap

This action will be activated when user taps on the card. Not all channels support tap actions.

tax

Total amount of TAX paid (or should be paid.)

title

Title of the Card.

total

Total amount of money paid (or should be paid.)

vat

Total amount of VAT paid (or should be paid.)

Property Details

buttons

Set of actions applicable to the current card. Not all channels support buttons and the number of allowed buttons varies by channel.

buttons: ICardAction[]

Property Value

facts

Array of additional facts to display to user (shipping charges and such.) Not all facts will be displayed on all channels.

facts: IFact[]

Property Value

IFact[]

items

Array of receipt items.

items: IReceiptItem[]

Property Value

tap

This action will be activated when user taps on the card. Not all channels support tap actions.

tap: ICardAction

Property Value

tax

Total amount of TAX paid (or should be paid.)

tax: string

Property Value

string

title

Title of the Card.

title: string

Property Value

string

total

Total amount of money paid (or should be paid.)

total: string

Property Value

string

vat

Total amount of VAT paid (or should be paid.)

vat: string

Property Value

string