Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 3.53 KB

ProductVariation.md

File metadata and controls

52 lines (47 loc) · 3.53 KB

woocommerce_client.model.ProductVariation

Load the model package

import 'package:woocommerce_client/woocommerce_client.dart';

Properties

Name Type Description Notes
id int Unique identifier for the resource. [optional]
dateCreated String The date the variation was created, in the site's timezone. [optional]
dateModified String The date the variation was last modified, in the site's timezone. [optional]
description String Variation description. [optional]
permalink String Variation URL. [optional]
sku String Unique identifier. [optional]
price String Current variation price. [optional]
regularPrice String Variation regular price. [optional]
salePrice String Variation sale price. [optional]
dateOnSaleFrom String Start date of sale price, in the site's timezone. [optional]
dateOnSaleFromGmt String Start date of sale price, as GMT. [optional]
dateOnSaleTo String End date of sale price, in the site's timezone. [optional]
dateOnSaleToGmt String End date of sale price, in the site's timezone. [optional]
onSale bool Shows if the variation is on sale. [optional]
status String Variation status. [optional]
purchasable bool Shows if the variation can be bought. [optional]
virtual bool If the variation is virtual. [optional]
downloadable bool If the variation is downloadable. [optional]
downloads List List of downloadable files. [optional] [default to const []]
downloadLimit int Number of times downloadable files can be downloaded after purchase. [optional]
downloadExpiry int Number of days until access to downloadable files expires. [optional]
taxStatus String Tax status. [optional]
taxClass String Tax class. [optional]
manageStock bool Stock management at variation level. [optional]
stockQuantity int Stock quantity. [optional]
stockStatus String Controls the stock status of the product. [optional]
backorders String If managing stock, this controls if backorders are allowed. [optional]
backordersAllowed bool Shows if backorders are allowed. [optional]
backordered bool Shows if the variation is on backordered. [optional]
lowStockAmount int Low Stock amount for the variation. [optional]
weight String Variation weight (kg). [optional]
dimensions ProductVariation1Dimensions [optional]
shippingClass String Shipping class slug. [optional]
shippingClassId String Shipping class ID. [optional]
image ProductVariation1Image [optional]
attributes List List of attributes. [optional] [default to const []]
menuOrder int Menu order, used to custom sort products. [optional]
metaData List Meta data. [optional] [default to const []]

[Back to Model list] [Back to API list] [Back to README]