Product

constructor(productUid: String, productName: String, productId: String? = null, prefix: String? = null, productDescription: String? = null, productImage: String? = null, productBarCode: String? = null, productType: ZyncProductType = ZyncProductType.PRODUCT, brand: String? = null, specification: String? = null, price: Double? = null, purchasePrice: Double? = null, currency: String? = null, hasCustomTax: Boolean = false, isBillable: Boolean = true, quantity: Double = 0.0, minQuantity: Double = 0.0, uom: String? = null, isAvailable: Boolean = true, pricingLevel: ZyncBundlePricingLevel? = null, productCategoryUid: String? = null, productCategory: ProductCategory? = null, locations: List<ProductLocation> = emptyList(), bundleItems: List<ProductBundleItem> = emptyList(), groups: List<ProductGroupAssociation> = emptyList(), transactionHistory: List<ProductTransaction> = emptyList(), tax: ProductTax? = null, markup: ZyncProductMarkup? = null, customFields: List<ProductCustomField> = emptyList(), attachments: List<String> = emptyList(), companyUid: String, createdAt: String, updatedAt: String? = null, syncedAt: String? = null)