Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GiveawayInfoResults

Hierarchy

  • VirtualClass<{ winner?: boolean; refunded?: boolean; startDate: int; giftCodeSlug?: string; finishDate: int; winnersCount: int; activatedCount: int }>
    • GiveawayInfoResults

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { winner?: boolean; refunded?: boolean; startDate: number; giftCodeSlug?: string; finishDate: number; winnersCount: number; activatedCount: number }

Type declaration

  • Optional winner?: boolean
  • Optional refunded?: boolean
  • startDate: number
  • Optional giftCodeSlug?: string
  • finishDate: number
  • winnersCount: number
  • activatedCount: number
CONSTRUCTOR_ID: 13456752
SUBCLASS_OF_ID: 2527295421
classType: "constructor"
className: "payments.GiveawayInfoResults"
winner?: boolean
refunded?: boolean
startDate: number
giftCodeSlug?: string
finishDate: number
winnersCount: number
activatedCount: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { winner?: boolean; refunded?: boolean; startDate: number; giftCodeSlug?: string; finishDate: number; winnersCount: number; activatedCount: number }
  • Returns { winner?: boolean; refunded?: boolean; startDate: number; giftCodeSlug?: string; finishDate: number; winnersCount: number; activatedCount: number }

    • Optional winner?: boolean
    • Optional refunded?: boolean
    • startDate: number
    • Optional giftCodeSlug?: string
    • finishDate: number
    • winnersCount: number
    • activatedCount: number

Constructors

  • new GiveawayInfoResults(args: { winner?: boolean; refunded?: boolean; startDate: number; giftCodeSlug?: string; finishDate: number; winnersCount: number; activatedCount: number }): GiveawayInfoResults
  • Parameters

    • args: { winner?: boolean; refunded?: boolean; startDate: number; giftCodeSlug?: string; finishDate: number; winnersCount: number; activatedCount: number }
      • Optional winner?: boolean
      • Optional refunded?: boolean
      • startDate: number
      • Optional giftCodeSlug?: string
      • finishDate: number
      • winnersCount: number
      • activatedCount: number

    Returns GiveawayInfoResults

Generated using TypeDoc