copyWithWrapped method
WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest
copyWithWrapped({
- Wrapped<
String?> ? recType, - Wrapped<
String?> ? purchaseOrderId, - Wrapped<
String?> ? vendorId, - Wrapped<
String?> ? contactId, - Wrapped<
String?> ? rateType, - Wrapped<
String?> ? currencyId, - Wrapped<
String?> ? billingCycleId, - Wrapped<
DateTime?> ? requiredDate, - Wrapped<
String?> ? requiredTime, - Wrapped<
DateTime?> ? fromDate, - Wrapped<
DateTime?> ? toDate, - Wrapped<
String?> ? deliveryId, - Wrapped<
bool?> ? adjustContractDates, - Wrapped<
String?> ? poTypeId, - Wrapped<
String?> ? warehouseIds,
Implementation
WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWithWrapped({
Wrapped<String?>? recType,
Wrapped<String?>? purchaseOrderId,
Wrapped<String?>? vendorId,
Wrapped<String?>? contactId,
Wrapped<String?>? rateType,
Wrapped<String?>? currencyId,
Wrapped<String?>? billingCycleId,
Wrapped<DateTime?>? requiredDate,
Wrapped<String?>? requiredTime,
Wrapped<DateTime?>? fromDate,
Wrapped<DateTime?>? toDate,
Wrapped<String?>? deliveryId,
Wrapped<bool?>? adjustContractDates,
Wrapped<String?>? poTypeId,
Wrapped<String?>? warehouseIds,
}) {
return WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest(
recType: (recType != null ? recType.value : this.recType),
purchaseOrderId: (purchaseOrderId != null
? purchaseOrderId.value
: this.purchaseOrderId),
vendorId: (vendorId != null ? vendorId.value : this.vendorId),
contactId: (contactId != null ? contactId.value : this.contactId),
rateType: (rateType != null ? rateType.value : this.rateType),
currencyId: (currencyId != null ? currencyId.value : this.currencyId),
billingCycleId: (billingCycleId != null
? billingCycleId.value
: this.billingCycleId),
requiredDate: (requiredDate != null
? requiredDate.value
: this.requiredDate),
requiredTime: (requiredTime != null
? requiredTime.value
: this.requiredTime),
fromDate: (fromDate != null ? fromDate.value : this.fromDate),
toDate: (toDate != null ? toDate.value : this.toDate),
deliveryId: (deliveryId != null ? deliveryId.value : this.deliveryId),
adjustContractDates: (adjustContractDates != null
? adjustContractDates.value
: this.adjustContractDates),
poTypeId: (poTypeId != null ? poTypeId.value : this.poTypeId),
warehouseIds: (warehouseIds != null
? warehouseIds.value
: this.warehouseIds),
);
}