BalanceTransaction constructor

const BalanceTransaction({
  1. required Amount amount,
  2. List<Allocation>? allocations,
  3. Amount? availableAmount,
  4. Amount? pendingAmount,
  5. Amount? spentAmount,
  6. DateTime? availableAt,
  7. DateTime? claimedAt,
  8. required DateTime createdAt,
  9. required String id,
  10. String? orderId,
  11. DateTime? paidAt,
  12. String? paymentId,
  13. String? payoutId,
  14. PaymentConfiguration? payoutConfiguration,
  15. String? refundId,
  16. required Type type,
})

Implementation

const BalanceTransaction({
  required this.amount,
  this.allocations,
  this.availableAmount,
  this.pendingAmount,
  this.spentAmount,
  this.availableAt,
  this.claimedAt,
  required this.createdAt,
  required this.id,
  this.orderId,
  this.paidAt,
  this.paymentId,
  this.payoutId,
  this.payoutConfiguration,
  this.refundId,
  required this.type,
});