copyWith method

WebApiModulesAgentOrderCreatePoWorksheetSessionRequest copyWith({
  1. String? orderId,
  2. String? recType,
  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

WebApiModulesAgentOrderCreatePoWorksheetSessionRequest copyWith({
  String? orderId,
  String? recType,
  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 WebApiModulesAgentOrderCreatePoWorksheetSessionRequest(
    orderId: orderId ?? this.orderId,
    recType: recType ?? this.recType,
    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,
  );
}