Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SimpleLoyaltyVoucher

Hierarchy

  • SimpleLoyaltyVoucher

Index

Properties

campaign

campaign: string

campaign_id

campaign_id: string

code

code: string

Optional created_at

created_at: string

Optional holder_id

holder_id: string

id

id: string

Optional is_referral_code

is_referral_code: boolean

loyalty_card

loyalty_card: { balance: number; next_expiration_date?: string; next_expiration_points?: string; points: number }

Type declaration

  • balance: number
  • Optional next_expiration_date?: string
  • Optional next_expiration_points?: string
  • points: number

object

object: "voucher"

Optional referrer_id

referrer_id: string

type

type: "LOYALTY_CARD"