SimpleWashCode

SimpleWashCode

Minimal wash code fields for list results

Kind: Object

Fields

Field Type Description
code String! The code string
createdAt DateTime! Timestamp when the wash code was created
expiresAt DateTime When this code expires (null if it never expires)
id ID! Unique identifier for the wash code
maxRedemptions Int Maximum number of times this code can be redeemed (null if unlimited)
washCodeGroupId ID! The wash code group this code belongs to
washPackageId ID! The wash package this code is redeemable for

Definition

"""Minimal wash code fields for list results"""
type SimpleWashCode {
  """The code string"""
  code: String!
  """Timestamp when the wash code was created"""
  createdAt: DateTime!
  """When this code expires (null if it never expires)"""
  expiresAt: DateTime
  """Unique identifier for the wash code"""
  id: ID!
  """Maximum number of times this code can be redeemed (null if unlimited)"""
  maxRedemptions: Int
  """The wash code group this code belongs to"""
  washCodeGroupId: ID!
  """The wash package this code is redeemable for"""
  washPackageId: ID!
}