Skip to main content

VoucherSpending Object

Description

Record of voucher spending on a specific order.

Declaration

type VoucherSpending {
orderId: String
orderRef: ID
amount: Float
origin: String
date: Date
}

Fields

NameTypeDescription
orderIdStringOrder identifier string where the voucher was used.
orderRefIDInternal database reference to the order where the voucher was used.
amountFloatAmount of the voucher that was spent on this order.
originStringOrigin or source of the spending record.
dateDateDate when the voucher was spent.