copyWithWrapped method
Implementation
WebApiServicesAvailabilityServiceTInventoryWarehouseConsignment
copyWithWrapped({
Wrapped<String?>? consignorId,
Wrapped<String?>? consignor,
Wrapped<String?>? consignorAgreementId,
Wrapped<String?>? agreementNumber,
Wrapped<double?>? quantity,
Wrapped<DateTime?>? expirationDate,
Wrapped<String?>? inventoryId,
Wrapped<String?>? warehouseId,
}) {
return WebApiServicesAvailabilityServiceTInventoryWarehouseConsignment(
consignorId: (consignorId != null ? consignorId.value : this.consignorId),
consignor: (consignor != null ? consignor.value : this.consignor),
consignorAgreementId: (consignorAgreementId != null
? consignorAgreementId.value
: this.consignorAgreementId),
agreementNumber: (agreementNumber != null
? agreementNumber.value
: this.agreementNumber),
quantity: (quantity != null ? quantity.value : this.quantity),
expirationDate: (expirationDate != null
? expirationDate.value
: this.expirationDate),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
);
}