ProductVariation constructor

ProductVariation(
  1. int? id,
  2. DateTime? dateCreated,
  3. DateTime? dateCreatedGmt,
  4. DateTime? dateModified,
  5. DateTime? dateModifiedGmt,
  6. String? description,
  7. String? permalink,
  8. String? sku,
  9. String? price,
  10. List<Attribute> attributes,
  11. String? regularPrice,
  12. String? salePrice,
  13. DateTime? dateOnSaleFrom,
  14. DateTime? dateOnSaleFromGmt,
  15. DateTime? dateOnSaleTo,
  16. DateTime? dateOnSaleToGmt,
  17. bool? onSale,
  18. String? status,
  19. bool? purchasable,
  20. bool? virtual,
  21. bool? downloadable,
  22. List<Download> downloads,
  23. int? downloadLimit,
  24. int? downloadExpiry,
  25. String? taxStatus,
  26. String? taxClass,
  27. bool? manageStock,
  28. int? stockQuantity,
  29. String? stockStatus,
  30. String? backorders,
  31. bool? backordersAllowed,
  32. bool? backOrdered,
  33. String? weight,
  34. String? shippingClass,
  35. int? shippingClassId,
  36. int? menuOrder,
  37. Dimension dimensions,
  38. List<MetaData> metaData,
  39. 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);