copyWithWrapped method
WebApiModulesInventoryInventoryReceiptItemMaterial
copyWithWrapped({
- Wrapped<
String?> ? masterMaterialId, - Wrapped<
String?> ? masterId, - Wrapped<
String?> ? materialId, - Wrapped<
String?> ? material, - Wrapped<
String?> ? dateStamp, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
Implementation
WebApiModulesInventoryInventoryReceiptItemMaterial copyWithWrapped(
{Wrapped<String?>? masterMaterialId,
Wrapped<String?>? masterId,
Wrapped<String?>? materialId,
Wrapped<String?>? material,
Wrapped<String?>? dateStamp,
Wrapped<String?>? auditNote,
Wrapped<String?>? recordTitle,
Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
return WebApiModulesInventoryInventoryReceiptItemMaterial(
masterMaterialId: (masterMaterialId != null
? masterMaterialId.value
: this.masterMaterialId),
masterId: (masterId != null ? masterId.value : this.masterId),
materialId: (materialId != null ? materialId.value : this.materialId),
material: (material != null ? material.value : this.material),
dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
auditNote: (auditNote != null ? auditNote.value : this.auditNote),
recordTitle:
(recordTitle != null ? recordTitle.value : this.recordTitle),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null
? defaultFieldAttributes.value
: this.defaultFieldAttributes),
translation:
(translation != null ? translation.value : this.translation));
}