copyWith method
ExternalPaymentOptions
copyWith({
- bool? requestRefundDetails,
- String? iban,
- PaymentInitiationOptionalRestrictionBacs? bacs,
- String? walletId,
- PaymentScheme? scheme,
Implementation
ExternalPaymentOptions copyWith(
{bool? requestRefundDetails,
String? iban,
PaymentInitiationOptionalRestrictionBacs? bacs,
String? walletId,
enums.PaymentScheme? scheme}) {
return ExternalPaymentOptions(
requestRefundDetails: requestRefundDetails ?? this.requestRefundDetails,
iban: iban ?? this.iban,
bacs: bacs ?? this.bacs,
walletId: walletId ?? this.walletId,
scheme: scheme ?? this.scheme);
}