ProductVariation constructor
ProductVariation(
- int? id,
- DateTime? dateCreated,
- DateTime? dateCreatedGmt,
- DateTime? dateModified,
- DateTime? dateModifiedGmt,
- String? description,
- String? permalink,
- String? sku,
- String? price,
- List<
Attribute> attributes, - String? regularPrice,
- String? salePrice,
- DateTime? dateOnSaleFrom,
- DateTime? dateOnSaleFromGmt,
- DateTime? dateOnSaleTo,
- DateTime? dateOnSaleToGmt,
- bool? onSale,
- String? status,
- bool? purchasable,
- bool? virtual,
- bool? downloadable,
- List<
Download> 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,
- Dimension dimensions,
- List<
MetaData> metaData, - Image? image,
Implementation
ProductVariation(
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);