Transfer constructor

const Transfer({
  1. required int amount,
  2. required int amountReversed,
  3. BalanceTransactionOrId? balanceTransaction,
  4. required DateTime created,
  5. required String currency,
  6. String? description,
  7. AccountOrId? destination,
  8. ChargeOrId? destinationPayment,
  9. required String id,
  10. required bool livemode,
  11. required Map<String, String> metadata,
  12. required TransferReversals reversals,
  13. required bool reversed,
  14. ChargeOrId? sourceTransaction,
  15. String? sourceType,
  16. 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,
});