Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VouchersImport

Hierarchy

  • VouchersImport

Index

Properties

Optional active

active: boolean

Optional additional_info

additional_info: string

Optional category

category: string

code

code: string

Optional code_config

code_config: { charset?: string; length?: number; pattern?: string; prefix?: string; suffix?: string }

Type declaration

  • Optional charset?: string
  • Optional length?: number
  • Optional pattern?: string
  • Optional prefix?: string
  • Optional suffix?: string

discount

Optional expiration_date

expiration_date: string

Optional metadata

metadata: Record<string, any>

Optional redemption

redemption: { quantity: number }

Type declaration

  • quantity: number

Optional start_date

start_date: string

Optional type

type: "GIFT_VOUCHER" | "DISCOUNT_VOUCHER"