Topup constructor
const
Topup({
- required int amount,
- BalanceTransactionOrId? balanceTransaction,
- required DateTime created,
- required String currency,
- String? description,
- int? expectedAvailabilityDate,
- String? failureCode,
- String? failureMessage,
- required String id,
- required bool livemode,
- required Map<
String, String> metadata, - Source? source,
- String? statementDescriptor,
- required TopupStatus status,
- 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,
});