telegramsjs
    Preparing search index...

    Class OrderInfo

    Index

    Constructors

    • Parameters

      • data: OrderInfo

        Data about the represents information about an order

      Returns OrderInfo

    Properties

    email?: string

    User email

    name?: string

    User name

    phoneNumber?: string

    User's phone number

    shippingAddress?: {
        city: string;
        countryCode: string;
        postCode: string;
        state: string;
        streetLine1: string;
        streetLine2: string;
    }

    This object represents a shipping address

    Type Declaration

    • city: string
      • City
    • countryCode: string
      • Two-letter ISO 3166-1 alpha-2 country code
    • postCode: string
      • Address post code
    • state: string
      • State, if applicable
    • streetLine1: string
      • First line for the address
    • streetLine2: string
      • Second line for the address