copyWithWrapped method

WebApiModulesBillingVendorInvoiceResetToDefaultRequest copyWithWrapped({
  1. Wrapped<String?>? vendorInvoiceId,
  2. Wrapped<String?>? purchaseOrderId,
  3. Wrapped<DateTime?>? billingStartDate,
  4. Wrapped<DateTime?>? billingEndDate,
  5. Wrapped<bool?>? showAll,
})

Implementation

WebApiModulesBillingVendorInvoiceResetToDefaultRequest copyWithWrapped(
    {Wrapped<String?>? vendorInvoiceId,
    Wrapped<String?>? purchaseOrderId,
    Wrapped<DateTime?>? billingStartDate,
    Wrapped<DateTime?>? billingEndDate,
    Wrapped<bool?>? showAll}) {
  return WebApiModulesBillingVendorInvoiceResetToDefaultRequest(
      vendorInvoiceId: (vendorInvoiceId != null
          ? vendorInvoiceId.value
          : this.vendorInvoiceId),
      purchaseOrderId: (purchaseOrderId != null
          ? purchaseOrderId.value
          : this.purchaseOrderId),
      billingStartDate: (billingStartDate != null
          ? billingStartDate.value
          : this.billingStartDate),
      billingEndDate: (billingEndDate != null
          ? billingEndDate.value
          : this.billingEndDate),
      showAll: (showAll != null ? showAll.value : this.showAll));
}