copyWith method

ExternalPaymentInitiationConsentOptions copyWith({
  1. String? walletId,
  2. bool? requestRefundDetails,
  3. String? iban,
  4. PaymentInitiationOptionalRestrictionBacs? bacs,
})

Implementation

ExternalPaymentInitiationConsentOptions copyWith(
    {String? walletId,
    bool? requestRefundDetails,
    String? iban,
    PaymentInitiationOptionalRestrictionBacs? bacs}) {
  return ExternalPaymentInitiationConsentOptions(
      walletId: walletId ?? this.walletId,
      requestRefundDetails: requestRefundDetails ?? this.requestRefundDetails,
      iban: iban ?? this.iban,
      bacs: bacs ?? this.bacs);
}