copyWith method
WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest
copyWith({
- String? recType,
- String? purchaseOrderId,
- String? vendorId,
- String? contactId,
- String? rateType,
- String? currencyId,
- String? billingCycleId,
- DateTime? requiredDate,
- String? requiredTime,
- DateTime? fromDate,
- DateTime? toDate,
- String? deliveryId,
- bool? adjustContractDates,
- String? poTypeId,
- String? warehouseIds,
Implementation
WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWith(
{String? recType,
String? purchaseOrderId,
String? vendorId,
String? contactId,
String? rateType,
String? currencyId,
String? billingCycleId,
DateTime? requiredDate,
String? requiredTime,
DateTime? fromDate,
DateTime? toDate,
String? deliveryId,
bool? adjustContractDates,
String? poTypeId,
String? warehouseIds}) {
return WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest(
recType: recType ?? this.recType,
purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
vendorId: vendorId ?? this.vendorId,
contactId: contactId ?? this.contactId,
rateType: rateType ?? this.rateType,
currencyId: currencyId ?? this.currencyId,
billingCycleId: billingCycleId ?? this.billingCycleId,
requiredDate: requiredDate ?? this.requiredDate,
requiredTime: requiredTime ?? this.requiredTime,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
deliveryId: deliveryId ?? this.deliveryId,
adjustContractDates: adjustContractDates ?? this.adjustContractDates,
poTypeId: poTypeId ?? this.poTypeId,
warehouseIds: warehouseIds ?? this.warehouseIds);
}