UpdateArticleRequest constructor
const
UpdateArticleRequest({
- required String idempotencyKey,
- required String articleId,
- String? name,
- String? description,
- int? unitPriceCents,
- num? vatRate,
- String? unit,
- String? number,
- String? ean,
- String? groupId,
- String? revenueGroupId,
- bool? stockTracked,
- List<
String> ? stockLocationIds, - int? minStock,
- Map<
String, int?> ? minStockByLocation, - String? stockKind,
- int? purchasePriceMicros,
- Map<
String, String> ? externalIds, - Map<
String, String> ? metadata, - 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 {},
});