WashCodeRedemption

WashCodeRedemption

Represents a redemption of a wash code

Kind: Object

Fields

Field Type Description
createdAt DateTime! Timestamp when the redemption was created
id ID! Unique identifier for the redemption
location Location! The location where this code was redeemed
locationId ID! The location where this code was redeemed
redeemedAt DateTime When this code was redeemed
redeemedBy Employee The employee who redeemed this code (null if redeemed without an employee)
redeemedById ID The employee who redeemed this code (null if redeemed without an employee)
vehicle Vehicle The vehicle this code was redeemed for (null if not recorded)
vehicleId ID The vehicle this code was redeemed for (null if not recorded)
visitId ID The visit ID associated with this redemption (null if not associated with a visit)
washCode WashCode! The wash code that was redeemed
washCodeId ID! The wash code that was redeemed

Definition

"""Represents a redemption of a wash code"""
type WashCodeRedemption {
  """Timestamp when the redemption was created"""
  createdAt: DateTime!
  """Unique identifier for the redemption"""
  id: ID!
  """The location where this code was redeemed"""
  location: Location!
  """The location where this code was redeemed"""
  locationId: ID!
  """When this code was redeemed"""
  redeemedAt: DateTime
  """
  The employee who redeemed this code (null if redeemed without an employee)
  """
  redeemedBy: Employee
  """
  The employee who redeemed this code (null if redeemed without an employee)
  """
  redeemedById: ID
  """The vehicle this code was redeemed for (null if not recorded)"""
  vehicle: Vehicle
  """The vehicle this code was redeemed for (null if not recorded)"""
  vehicleId: ID
  """
  The visit ID associated with this redemption (null if not associated with a visit)
  """
  visitId: ID
  """The wash code that was redeemed"""
  washCode: WashCode!
  """The wash code that was redeemed"""
  washCodeId: ID!
}