Transfer constructor
const
Transfer({
- required int amount,
- required int amountReversed,
- BalanceTransactionOrId? balanceTransaction,
- required DateTime created,
- required String currency,
- String? description,
- AccountOrId? destination,
- ChargeOrId? destinationPayment,
- required String id,
- required bool livemode,
- required Map<
String, String> metadata, - required TransferReversals reversals,
- required bool reversed,
- ChargeOrId? sourceTransaction,
- String? sourceType,
- String? transferGroup,
Transfer
A `Transfer` object is created when you move funds between Stripe accounts as part of Connect. Before April 6, 2017, transfers also represented movement of funds from a Stripe account to a card or bank account. This behavior has since been split out into a [Payout](https://stripe.com/docs/api#payout_object) object, with corresponding payout endpoints. For more information, read about the [transfer/payout split](https://stripe.com/docs/transfer-payout-split). Related guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers)
Implementation
const Transfer({
required this.amount,
required this.amountReversed,
this.balanceTransaction,
required this.created,
required this.currency,
this.description,
this.destination,
this.destinationPayment,
required this.id,
required this.livemode,
required this.metadata,
required this.reversals,
required this.reversed,
this.sourceTransaction,
this.sourceType,
this.transferGroup,
});