copyWithWrapped method

PaymentInitiationPaymentListRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<int?>? count,
  4. Wrapped<DateTime?>? cursor,
  5. Wrapped<String?>? consentId,
})

Implementation

PaymentInitiationPaymentListRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<int?>? count,
    Wrapped<DateTime?>? cursor,
    Wrapped<String?>? consentId}) {
  return PaymentInitiationPaymentListRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      count: (count != null ? count.value : this.count),
      cursor: (cursor != null ? cursor.value : this.cursor),
      consentId: (consentId != null ? consentId.value : this.consentId));
}