Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GenerateCodes

Hierarchy

Index

Properties

child?: Core.Graph
curie: "fx:generate_codes"
links?: Readonly<Record<string, Core.Graph>>
props: { current_balance?: number; length: number; number_of_codes: number; prefix: string }

Type declaration

  • Optional current_balance?: number

    Optional initial balance (gift cards only). Defaults to 0.

  • length: number

    Optional length of the coupon code. Defaults to 6 characters.

  • number_of_codes: number

    Optional number of coupon code variations you would like. Defaults to 10.

  • prefix: string

    Optional number of coupon code variations you would like to generate. For example, if you would like all the coupon code variations to have a "summer_special" prefix, set that here.

zooms?: Readonly<Record<string, undefined | Core.Graph>>

Generated using TypeDoc