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
| Name | Type | Description |
|---|---|---|
orderId | String | Order identifier string where the voucher was used. |
orderRef | ID | Internal database reference to the order where the voucher was used. |
amount | Float | Amount of the voucher that was spent on this order. |
origin | String | Origin or source of the spending record. |
date | Date | Date when the voucher was spent. |