copyWithWrapped method

InstitutionsSearchRequestOptions copyWithWrapped({
  1. Wrapped<bool?>? oauth,
  2. Wrapped<bool?>? includeOptionalMetadata,
  3. Wrapped<bool?>? includeAuthMetadata,
  4. Wrapped<bool?>? includePaymentInitiationMetadata,
  5. Wrapped<InstitutionsSearchPaymentInitiationOptions?>? paymentInitiation,
})

Implementation

InstitutionsSearchRequestOptions copyWithWrapped(
    {Wrapped<bool?>? oauth,
    Wrapped<bool?>? includeOptionalMetadata,
    Wrapped<bool?>? includeAuthMetadata,
    Wrapped<bool?>? includePaymentInitiationMetadata,
    Wrapped<InstitutionsSearchPaymentInitiationOptions?>?
        paymentInitiation}) {
  return InstitutionsSearchRequestOptions(
      oauth: (oauth != null ? oauth.value : this.oauth),
      includeOptionalMetadata: (includeOptionalMetadata != null
          ? includeOptionalMetadata.value
          : this.includeOptionalMetadata),
      includeAuthMetadata: (includeAuthMetadata != null
          ? includeAuthMetadata.value
          : this.includeAuthMetadata),
      includePaymentInitiationMetadata:
          (includePaymentInitiationMetadata != null
              ? includePaymentInitiationMetadata.value
              : this.includePaymentInitiationMetadata),
      paymentInitiation: (paymentInitiation != null
          ? paymentInitiation.value
          : this.paymentInitiation));
}