CreateProductRequest constructor

CreateProductRequest({
  1. String? id,
  2. required String name,
  3. bool active = true,
  4. String? description,
  5. Map<String, dynamic>? metadata,
  6. Map<String, dynamic>? defaultPriceData,
  7. List<Map<String, dynamic>>? features,
  8. List<String>? images,
  9. Map<String, dynamic>? packageDimensions,
  10. bool? shippable,
  11. String? statementDescriptor,
  12. String? taxCode,
  13. String? unitLabel,
  14. String? url,
})

Implementation

CreateProductRequest({
  this.id,
  required this.name,
  this.active = true,
  this.description,
  this.metadata,
  this.defaultPriceData,
  this.features,
  this.images,
  this.packageDimensions,
  this.shippable,
  this.statementDescriptor,
  this.taxCode,
  this.unitLabel,
  this.url,
});