copyWith method

WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWith({
  1. String? recType,
  2. String? purchaseOrderId,
  3. String? vendorId,
  4. String? contactId,
  5. String? rateType,
  6. String? currencyId,
  7. String? billingCycleId,
  8. DateTime? requiredDate,
  9. String? requiredTime,
  10. DateTime? fromDate,
  11. DateTime? toDate,
  12. String? deliveryId,
  13. bool? adjustContractDates,
  14. String? poTypeId,
  15. 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);
}