copyWithWrapped method

PaymentInitiationConsentPaymentExecuteRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? consentId,
  4. Wrapped<PaymentAmount>? amount,
  5. Wrapped<String>? idempotencyKey,
})

Implementation

PaymentInitiationConsentPaymentExecuteRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? consentId,
    Wrapped<PaymentAmount>? amount,
    Wrapped<String>? idempotencyKey}) {
  return PaymentInitiationConsentPaymentExecuteRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      consentId: (consentId != null ? consentId.value : this.consentId),
      amount: (amount != null ? amount.value : this.amount),
      idempotencyKey: (idempotencyKey != null
          ? idempotencyKey.value
          : this.idempotencyKey));
}