Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Invoice

Hierarchy

  • VirtualClass<{ test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: TypeLabeledPrice[]; maxTipAmount?: long; suggestedTipAmounts?: long[]; termsUrl?: string }>
    • Invoice

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: LabeledPrice[]; maxTipAmount?: BigInteger; suggestedTipAmounts?: BigInteger[]; termsUrl?: string }

Type declaration

  • Optional test?: boolean
  • Optional nameRequested?: boolean
  • Optional phoneRequested?: boolean
  • Optional emailRequested?: boolean
  • Optional shippingAddressRequested?: boolean
  • Optional flexible?: boolean
  • Optional phoneToProvider?: boolean
  • Optional emailToProvider?: boolean
  • Optional recurring?: boolean
  • currency: string
  • prices: LabeledPrice[]
  • Optional maxTipAmount?: BigInteger
  • Optional suggestedTipAmounts?: BigInteger[]
  • Optional termsUrl?: string
CONSTRUCTOR_ID: 1572428309
SUBCLASS_OF_ID: 1608003288
classType: "constructor"
className: "Invoice"
test?: boolean
nameRequested?: boolean
phoneRequested?: boolean
emailRequested?: boolean
shippingAddressRequested?: boolean
flexible?: boolean
phoneToProvider?: boolean
emailToProvider?: boolean
recurring?: boolean
currency: string
prices: LabeledPrice[]
maxTipAmount?: BigInteger
suggestedTipAmounts?: BigInteger[]
termsUrl?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: LabeledPrice[]; maxTipAmount?: BigInteger; suggestedTipAmounts?: BigInteger[]; termsUrl?: string }
  • Returns { test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: LabeledPrice[]; maxTipAmount?: BigInteger; suggestedTipAmounts?: BigInteger[]; termsUrl?: string }

    • Optional test?: boolean
    • Optional nameRequested?: boolean
    • Optional phoneRequested?: boolean
    • Optional emailRequested?: boolean
    • Optional shippingAddressRequested?: boolean
    • Optional flexible?: boolean
    • Optional phoneToProvider?: boolean
    • Optional emailToProvider?: boolean
    • Optional recurring?: boolean
    • currency: string
    • prices: LabeledPrice[]
    • Optional maxTipAmount?: BigInteger
    • Optional suggestedTipAmounts?: BigInteger[]
    • Optional termsUrl?: string

Constructors

  • new Invoice(args: { test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: LabeledPrice[]; maxTipAmount?: BigInteger; suggestedTipAmounts?: BigInteger[]; termsUrl?: string }): Invoice
  • Parameters

    • args: { test?: boolean; nameRequested?: boolean; phoneRequested?: boolean; emailRequested?: boolean; shippingAddressRequested?: boolean; flexible?: boolean; phoneToProvider?: boolean; emailToProvider?: boolean; recurring?: boolean; currency: string; prices: LabeledPrice[]; maxTipAmount?: BigInteger; suggestedTipAmounts?: BigInteger[]; termsUrl?: string }
      • Optional test?: boolean
      • Optional nameRequested?: boolean
      • Optional phoneRequested?: boolean
      • Optional emailRequested?: boolean
      • Optional shippingAddressRequested?: boolean
      • Optional flexible?: boolean
      • Optional phoneToProvider?: boolean
      • Optional emailToProvider?: boolean
      • Optional recurring?: boolean
      • currency: string
      • prices: LabeledPrice[]
      • Optional maxTipAmount?: BigInteger
      • Optional suggestedTipAmounts?: BigInteger[]
      • Optional termsUrl?: string

    Returns Invoice

Generated using TypeDoc