StockModel constructor

StockModel({
  1. StockAdditionalFields? additionalFields,
  2. String? id,
  3. String? tenantId,
  4. String? facilityId,
  5. String? productVariantId,
  6. String? referenceId,
  7. String? referenceIdType,
  8. String? transactingPartyId,
  9. String? transactingPartyType,
  10. String? quantity,
  11. String? wayBillNumber,
  12. String? receiverId,
  13. String? receiverType,
  14. String? senderId,
  15. String? senderType,
  16. bool? nonRecoverableError = false,
  17. required String clientReferenceId,
  18. int? rowVersion,
  19. String? transactionType,
  20. String? transactionReason,
  21. AuditDetails? auditDetails,
  22. ClientAuditDetails? clientAuditDetails,
  23. bool? isDeleted = false,
})

Implementation

StockModel({
  this.additionalFields,
  this.id,
  this.tenantId,
  this.facilityId,
  this.productVariantId,
  this.referenceId,
  this.referenceIdType,
  this.transactingPartyId,
  this.transactingPartyType,
  this.quantity,
  this.wayBillNumber,
  this.receiverId,
  this.receiverType,
  this.senderId,
  this.senderType,
  this.nonRecoverableError = false,
  required this.clientReferenceId,
  this.rowVersion,
  this.transactionType,
  this.transactionReason,
  super.auditDetails,
  super.clientAuditDetails,
  super.isDeleted = false,
}) : super();