Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Vouchers

Index

Constructors

constructor

Properties

balance

balance: Balance

qualifications

qualifications: VouchersQualification

Methods

bulkUpdate

bulkUpdateMetadata

create

  • create(voucher: VouchersCreate): Promise<Pick<VouchersResponse, "object" | "id" | "created_at" | "active" | "type" | "category" | "start_date" | "expiration_date" | "validity_timeframe" | "validity_day_of_week" | "metadata" | "redemption" | "additional_info" | "code" | "campaign" | "discount" | "gift" | "publish" | "assets" | "loyalty_card" | "is_referral_code" | "referrer_id" | "holder_id" | "updated_at">>
  • Parameters

    Returns Promise<Pick<VouchersResponse, "object" | "id" | "created_at" | "active" | "type" | "category" | "start_date" | "expiration_date" | "validity_timeframe" | "validity_day_of_week" | "metadata" | "redemption" | "additional_info" | "code" | "campaign" | "discount" | "gift" | "publish" | "assets" | "loyalty_card" | "is_referral_code" | "referrer_id" | "holder_id" | "updated_at">>

delete

disable

enable

exportTransactions

get

import

importCSV

  • importCSV(filePath: string): Promise<AsyncActionCreateResponse>

list

listTransactions

releaseValidationSession

  • releaseValidationSession(code: string, sessionKey: string): Promise<unknown>

update