copyWith method

WebApiModulesBillingBillingCreateInvoiceRequest copyWith({
  1. String? orderId,
  2. DateTime? periodStart,
  3. DateTime? periodEnd,
  4. String? billPeriodEvent,
  5. bool? includeNotYetOut,
  6. bool? forceDates,
})

Implementation

WebApiModulesBillingBillingCreateInvoiceRequest copyWith({
  String? orderId,
  DateTime? periodStart,
  DateTime? periodEnd,
  String? billPeriodEvent,
  bool? includeNotYetOut,
  bool? forceDates,
}) {
  return WebApiModulesBillingBillingCreateInvoiceRequest(
    orderId: orderId ?? this.orderId,
    periodStart: periodStart ?? this.periodStart,
    periodEnd: periodEnd ?? this.periodEnd,
    billPeriodEvent: billPeriodEvent ?? this.billPeriodEvent,
    includeNotYetOut: includeNotYetOut ?? this.includeNotYetOut,
    forceDates: forceDates ?? this.forceDates,
  );
}