Type Alias OrderResponse

OrderResponse: {
    _id: string;
    altId: string;
    altType: string;
    status: string;
    sourceType: string;
    createdAt: string;
    updatedAt: string;
    contactId?: string;
    contactName?: string;
    contactEmail?: string;
    currency?: string;
    amount?: number;
    subtotal?: number;
    discount?: number;
    liveMode?: boolean;
    totalProducts?: number;
    sourceName?: string;
    sourceId?: string;
    sourceMeta?: OrderSourceMetaData;
    couponCode?: string;
    sourceSubType?: string;
    fulfillmentStatus?: string;
    onetimeProducts?: number;
    recurringProducts?: number;
}

Type declaration

  • _id: string
  • altId: string
  • altType: string
  • status: string
  • sourceType: string
  • createdAt: string
  • updatedAt: string
  • OptionalcontactId?: string
  • OptionalcontactName?: string
  • OptionalcontactEmail?: string
  • Optionalcurrency?: string
  • Optionalamount?: number
  • Optionalsubtotal?: number
  • Optionaldiscount?: number
  • OptionalliveMode?: boolean
  • OptionaltotalProducts?: number
  • OptionalsourceName?: string
  • OptionalsourceId?: string
  • OptionalsourceMeta?: OrderSourceMetaData
  • OptionalcouponCode?: string
  • OptionalsourceSubType?: string
  • OptionalfulfillmentStatus?: string
  • OptionalonetimeProducts?: number
  • OptionalrecurringProducts?: number