copyWithWrapped method

WebApiModulesUtilitiesReceiptProcessBatchReceiptProcessBatchRequest copyWithWrapped({
  1. Wrapped<String?>? officeLocationId,
  2. Wrapped<String?>? singleReceiptId,
  3. Wrapped<DateTime?>? fromDate,
  4. Wrapped<DateTime?>? toDate,
})

Implementation

WebApiModulesUtilitiesReceiptProcessBatchReceiptProcessBatchRequest
copyWithWrapped({
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? singleReceiptId,
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
}) {
  return WebApiModulesUtilitiesReceiptProcessBatchReceiptProcessBatchRequest(
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    singleReceiptId: (singleReceiptId != null
        ? singleReceiptId.value
        : this.singleReceiptId),
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    toDate: (toDate != null ? toDate.value : this.toDate),
  );
}