copyWith method

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

Implementation

PaymentInitiationConsentPaymentExecuteRequest copyWith(
    {String? clientId,
    String? secret,
    String? consentId,
    PaymentAmount? amount,
    String? idempotencyKey}) {
  return PaymentInitiationConsentPaymentExecuteRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      consentId: consentId ?? this.consentId,
      amount: amount ?? this.amount,
      idempotencyKey: idempotencyKey ?? this.idempotencyKey);
}