copyWithWrapped method

WebApiModulesBillingBillingCreateGroupInvoicesRequest copyWithWrapped({
  1. Wrapped<double?>? newTotal,
  2. Wrapped<bool?>? includeTaxInTotal,
  3. Wrapped<String?>? sessionId,
  4. Wrapped<List<String>?>? billingIds,
})

Implementation

WebApiModulesBillingBillingCreateGroupInvoicesRequest copyWithWrapped({
  Wrapped<double?>? newTotal,
  Wrapped<bool?>? includeTaxInTotal,
  Wrapped<String?>? sessionId,
  Wrapped<List<String>?>? billingIds,
}) {
  return WebApiModulesBillingBillingCreateGroupInvoicesRequest(
    newTotal: (newTotal != null ? newTotal.value : this.newTotal),
    includeTaxInTotal: (includeTaxInTotal != null
        ? includeTaxInTotal.value
        : this.includeTaxInTotal),
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    billingIds: (billingIds != null ? billingIds.value : this.billingIds),
  );
}