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