Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidationsValidateVoucherParams

Hierarchy

  • ValidationsValidateVoucherParams

Index

Properties

Optional customer

customer: { description?: string; email?: string; id?: string; metadata?: Record<string, any>; name?: string; source_id?: string }

Type declaration

  • Optional description?: string
  • Optional email?: string
  • Optional id?: string
  • Optional metadata?: Record<string, any>
  • Optional name?: string
  • Optional source_id?: string

Optional gift

gift: { credits: number }

Type declaration

  • credits: number

Optional order

order: { amount?: number; id?: string; items?: OrdersItem[]; metadata?: Record<string, any>; source_id?: string }

Type declaration

  • Optional amount?: number
  • Optional id?: string
  • Optional items?: OrdersItem[]
  • Optional metadata?: Record<string, any>
  • Optional source_id?: string

Optional reward

reward: { id: string }

Type declaration

  • id: string

Optional session