copyWithWrapped method

WebApiModulesBillingInvoiceInvoiceProcessBatchRequest copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? singleInvoiceId,
  3. Wrapped<DateTime?>? asOfDate,
})

Implementation

WebApiModulesBillingInvoiceInvoiceProcessBatchRequest copyWithWrapped({
  Wrapped<String?>? locationId,
  Wrapped<String?>? singleInvoiceId,
  Wrapped<DateTime?>? asOfDate,
}) {
  return WebApiModulesBillingInvoiceInvoiceProcessBatchRequest(
    locationId: (locationId != null ? locationId.value : this.locationId),
    singleInvoiceId: (singleInvoiceId != null
        ? singleInvoiceId.value
        : this.singleInvoiceId),
    asOfDate: (asOfDate != null ? asOfDate.value : this.asOfDate),
  );
}