copyWithWrapped method
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),
);
}