copyWith method

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

Implementation

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