Options
All
  • Public
  • Public/Protected
  • All
Menu

Module views/Shopping/utils

Index

Functions

  • isCod(type: any): any
  • isOffline(type: any): any
  • normalizeCartItem(item: CartItem): { adult_warning: number; availableQuantity: number; buyerPurchasableLimit: null | number; cartId: number; expiresAt: null | ISO8601; id: number; imgUrl: URLString; isFormal: boolean; isRehearsal: boolean; postCreatedAt: ISO8601; postId: number; postTitle: string; price: string; productName: string; purchaseLimit: PurchaseLimit[]; quantity: number; salableQuantity: number; skuId: null | number; skuName: string; vendor: unknown }
  • Parameters

    Returns { adult_warning: number; availableQuantity: number; buyerPurchasableLimit: null | number; cartId: number; expiresAt: null | ISO8601; id: number; imgUrl: URLString; isFormal: boolean; isRehearsal: boolean; postCreatedAt: ISO8601; postId: number; postTitle: string; price: string; productName: string; purchaseLimit: PurchaseLimit[]; quantity: number; salableQuantity: number; skuId: null | number; skuName: string; vendor: unknown }

    • adult_warning: number
    • availableQuantity: number
    • buyerPurchasableLimit: null | number
    • cartId: number
    • expiresAt: null | ISO8601
    • id: number
    • imgUrl: URLString
    • isFormal: boolean
    • isRehearsal: boolean
    • postCreatedAt: ISO8601
    • postId: number
    • postTitle: string
    • price: string
    • productName: string
    • purchaseLimit: PurchaseLimit[]
      deprecated
    • quantity: number
    • salableQuantity: number
      deprecated
    • skuId: null | number
    • skuName: string
    • vendor: unknown
  • normalizeType(type: any): any

Generated using TypeDoc