UpdateArticleRequest constructor

const UpdateArticleRequest({
  1. required String idempotencyKey,
  2. required String articleId,
  3. String? name,
  4. String? description,
  5. int? unitPriceCents,
  6. num? vatRate,
  7. String? unit,
  8. String? number,
  9. String? ean,
  10. String? groupId,
  11. String? revenueGroupId,
  12. bool? stockTracked,
  13. List<String>? stockLocationIds,
  14. int? minStock,
  15. Map<String, int?>? minStockByLocation,
  16. String? stockKind,
  17. int? purchasePriceMicros,
  18. Map<String, String>? externalIds,
  19. Map<String, String>? metadata,
  20. Set<String> clear = const {},
})

Implementation

const UpdateArticleRequest({
  required this.idempotencyKey,
  required this.articleId,
  this.name,
  this.description,
  this.unitPriceCents,
  this.vatRate,
  this.unit,
  this.number,
  this.ean,
  this.groupId,
  this.revenueGroupId,
  this.stockTracked,
  this.stockLocationIds,
  this.minStock,
  this.minStockByLocation,
  this.stockKind,
  this.purchasePriceMicros,
  this.externalIds,
  this.metadata,
  this.clear = const {},
});