PrepaidCodeRedemption

PrepaidCodeRedemption

Represents a redemption of a prepaid 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
prepaidCode PrepaidCode! The prepaid code that was redeemed
prepaidCodeId ID! The prepaid code that 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)
updatedAt DateTime! Timestamp when the redemption was last updated
visitId ID The visit ID associated with this redemption (null if not associated with a visit)

Definition

"""Represents a redemption of a prepaid code"""
type PrepaidCodeRedemption {
  """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!
  """The prepaid code that was redeemed"""
  prepaidCode: PrepaidCode!
  """The prepaid code that was redeemed"""
  prepaidCodeId: 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
  """Timestamp when the redemption was last updated"""
  updatedAt: DateTime!
  """
  The visit ID associated with this redemption (null if not associated with a visit)
  """
  visitId: ID
}