GetDeferredPaymentsQuery constructor

GetDeferredPaymentsQuery({
  1. required String walletId,
  2. Set<DeferredPaymentState>? states,
  3. bool includeResolved = false,
  4. DateTime? createdBefore,
  5. DateTime? createdAfter,
  6. Duration? olderThan,
  7. Set<String>? lastNetworkStatuses,
  8. String? invoiceId,
  9. String? recipientAddress,
  10. DateTime? dueBefore,
  11. int limit = 50,
  12. String? cursor,
  13. bool oldestFirst = false,
  14. bool includeBeef = true,
  15. String? requestId,
})

Implementation

GetDeferredPaymentsQuery({
  required this.walletId,
  Set<DeferredPaymentState>? states,
  this.includeResolved = false,
  this.createdBefore,
  this.createdAfter,
  this.olderThan,
  Set<String>? lastNetworkStatuses,
  this.invoiceId,
  this.recipientAddress,
  this.dueBefore,
  this.limit = 50,
  this.cursor,
  this.oldestFirst = false,
  this.includeBeef = true,
  super.requestId,
})  : states = frozenSetOrNull(states),
      lastNetworkStatuses = frozenSetOrNull(lastNetworkStatuses);