Prepaid
Prepaid
Prepaid
Represents a prepaid that can be redeemed for wash packages
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
codesPerBook |
Int |
Number of codes per prepaid book (null if not set) |
companyId |
ID! |
The company this prepaid belongs to |
createdAt |
DateTime! |
Timestamp when the prepaid was created |
createdBy |
Employee |
The employee who created this prepaid |
createdById |
ID |
The employee who created this prepaid |
description |
String! |
Description of what this prepaid provides |
exportableCodeCount |
Int! |
Number of codes that can be included in an export (unactivated and not yet exported) |
exports |
[SimplePrepaidExport!]! |
List of exports for this prepaid |
id |
ID! |
Unique identifier for the prepaid |
importedFromSitewatch |
Boolean! |
Whether this prepaid was imported from Sitewatch |
maxRedemptionsPerPrepaid |
Int |
Maximum number of times this prepaid can be redeemed per prepaid code |
name |
String! |
Human-readable name for the prepaid |
updatedAt |
DateTime! |
Timestamp when the prepaid was last updated |
washPackage |
WashPackage! |
The wash package that this prepaid provides |
washPackageId |
ID! |
The wash package that this prepaid provides |
Definition
"""Represents a prepaid that can be redeemed for wash packages"""
type Prepaid {
"""Number of codes per prepaid book (null if not set)"""
codesPerBook: Int
"""The company this prepaid belongs to"""
companyId: ID!
"""Timestamp when the prepaid was created"""
createdAt: DateTime!
"""The employee who created this prepaid"""
createdBy: Employee
"""The employee who created this prepaid"""
createdById: ID
"""Description of what this prepaid provides"""
description: String!
"""
Number of codes that can be included in an export (unactivated and not yet exported)
"""
exportableCodeCount: Int!
"""List of exports for this prepaid"""
exports: [SimplePrepaidExport!]!
"""Unique identifier for the prepaid"""
id: ID!
"""Whether this prepaid was imported from Sitewatch"""
importedFromSitewatch: Boolean!
"""Maximum number of times this prepaid can be redeemed per prepaid code"""
maxRedemptionsPerPrepaid: Int
"""Human-readable name for the prepaid"""
name: String!
"""Timestamp when the prepaid was last updated"""
updatedAt: DateTime!
"""The wash package that this prepaid provides"""
washPackage: WashPackage!
"""The wash package that this prepaid provides"""
washPackageId: ID!
}