copyWith method
PaymentInitiationConsentCreateRequest
copyWith({
- String? clientId,
- String? secret,
- String? recipientId,
- String? reference,
- List<
PaymentInitiationConsentScope> ? scopes, - PaymentInitiationConsentConstraints? constraints,
- ExternalPaymentInitiationConsentOptions? options,
Implementation
PaymentInitiationConsentCreateRequest copyWith(
{String? clientId,
String? secret,
String? recipientId,
String? reference,
List<enums.PaymentInitiationConsentScope>? scopes,
PaymentInitiationConsentConstraints? constraints,
ExternalPaymentInitiationConsentOptions? options}) {
return PaymentInitiationConsentCreateRequest(
clientId: clientId ?? this.clientId,
secret: secret ?? this.secret,
recipientId: recipientId ?? this.recipientId,
reference: reference ?? this.reference,
scopes: scopes ?? this.scopes,
constraints: constraints ?? this.constraints,
options: options ?? this.options);
}