copyWithWrapped method

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

Implementation

WebApiModulesBillingBillingCreateEstimateRequest copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<DateTime?>? periodStart,
    Wrapped<DateTime?>? periodEnd,
    Wrapped<String?>? billPeriodEvent,
    Wrapped<bool?>? includeNotYetOut}) {
  return WebApiModulesBillingBillingCreateEstimateRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      periodStart:
          (periodStart != null ? periodStart.value : this.periodStart),
      periodEnd: (periodEnd != null ? periodEnd.value : this.periodEnd),
      billPeriodEvent: (billPeriodEvent != null
          ? billPeriodEvent.value
          : this.billPeriodEvent),
      includeNotYetOut: (includeNotYetOut != null
          ? includeNotYetOut.value
          : this.includeNotYetOut));
}