copyWith method

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

Implementation

WebApiModulesBillingVendorInvoiceResetToDefaultRequest copyWith(
    {String? vendorInvoiceId,
    String? purchaseOrderId,
    DateTime? billingStartDate,
    DateTime? billingEndDate,
    bool? showAll}) {
  return WebApiModulesBillingVendorInvoiceResetToDefaultRequest(
      vendorInvoiceId: vendorInvoiceId ?? this.vendorInvoiceId,
      purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
      billingStartDate: billingStartDate ?? this.billingStartDate,
      billingEndDate: billingEndDate ?? this.billingEndDate,
      showAll: showAll ?? this.showAll);
}