WooProductVariation constructor
WooProductVariation(
- int? id,
- DateTime? dateCreated,
- DateTime? dateCreatedGmt,
- DateTime? dateModified,
- DateTime? dateModifiedGmt,
- String? description,
- String? permalink,
- String? sku,
- String? price,
- List<
WooProductVariationAttribute> attributes, - String? regularPrice,
- String? salePrice,
- DateTime? dateOnSaleFrom,
- DateTime? dateOnSaleFromGmt,
- DateTime? dateOnSaleTo,
- DateTime? dateOnSaleToGmt,
- bool? onSale,
- String? status,
- bool? purchasable,
- bool? virtual,
- bool? downloadable,
- List<
WooProductVariationDownload> downloads, - int? downloadLimit,
- int? downloadExpiry,
- String? taxStatus,
- String? taxClass,
- bool? manageStock,
- int? stockQuantity,
- String? stockStatus,
- String? backorders,
- bool? backordersAllowed,
- bool? backordered,
- String? weight,
- String? shippingClass,
- int? shippingClassId,
- WooProductVariationDimension dimensions,
- List<
WooProductVariationMetaData> metaData, - WooProductVariationImage? image,
Implementation
WooProductVariation(
this.id,
this.dateCreated,
this.dateCreatedGmt,
this.dateModified,
this.dateModifiedGmt,
this.description,
this.permalink,
this.sku,
this.price,
this.attributes,
this.regularPrice,
this.salePrice,
this.dateOnSaleFrom,
this.dateOnSaleFromGmt,
this.dateOnSaleTo,
this.dateOnSaleToGmt,
this.onSale,
this.status,
this.purchasable,
this.virtual,
this.downloadable,
this.downloads,
this.downloadLimit,
this.downloadExpiry,
this.taxStatus,
this.taxClass,
this.manageStock,
this.stockQuantity,
this.stockStatus,
this.backorders,
this.backordersAllowed,
this.backordered,
this.weight,
this.shippingClass,
this.shippingClassId,
this.menuOrder,
this.dimensions,
this.metaData,
this.image);