Topup class final

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)

Implemented types

Constructors

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
const
Topup.fromJson(Object? json)
factory

Properties

amount int
final
balanceTransaction BalanceTransactionOrId?
final
created DateTime
final
currency String
final
description String?
final
expectedAvailabilityDate int?
final
failureCode String?
final
failureMessage String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the BalanceTransactionSource.
final
livemode bool
final
metadata Map<String, String>
final
object String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source?
final
statementDescriptor String?
final
status TopupStatus
final
transferGroup String?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(Topup instance, Encoder<V> encoder) → V
override