Topup constructor

const Topup({
  1. required int amount,
  2. BalanceTransactionOrId? balanceTransaction,
  3. required DateTime created,
  4. required String currency,
  5. String? description,
  6. int? expectedAvailabilityDate,
  7. String? failureCode,
  8. String? failureMessage,
  9. required String id,
  10. required bool livemode,
  11. required Map<String, String> metadata,
  12. Source? source,
  13. String? statementDescriptor,
  14. required TopupStatus status,
  15. String? transferGroup,
})

Topup

To top up your Stripe balance, you create a top-up object. You can retrieve individual top-ups, as well as list all top-ups. Top-ups are identified by a unique, random ID. Related guide: [Topping up your platform account](https://stripe.com/docs/connect/top-ups)

Implementation

const Topup({
  required this.amount,
  this.balanceTransaction,
  required this.created,
  required this.currency,
  this.description,
  this.expectedAvailabilityDate,
  this.failureCode,
  this.failureMessage,
  required this.id,
  required this.livemode,
  required this.metadata,
  this.source,
  this.statementDescriptor,
  required this.status,
  this.transferGroup,
});