CheckoutVoucher Object
Description
Voucher information applied to a checkout.
Declaration
type CheckoutVoucher {
id: String
value: String
originalValue: String
redeemType: String
redeemed: Boolean
expires: Date
unlimited: Boolean
user: CheckoutUser
created: Date
note: CheckoutNote
}
Fields
| Name | Type | Description |
|---|---|---|
id | String | Voucher identifier string. |
value | String | Current value of the voucher after redemption. |
originalValue | String | Original value of the voucher before redemption. |
redeemType | String | Type of voucher redemption (e.g., "percentage", "fixed"). |
redeemed | Boolean | Whether the voucher has been redeemed. |
expires | Date | Expiration date of the voucher. |
unlimited | Boolean | Whether the voucher has unlimited uses. |
user | CheckoutUser | User who owns or used the voucher. |
created | Date | Date when the voucher was created. |
note | CheckoutNote | Note associated with the voucher. |