Transfer class final

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)

Implemented types

Constructors

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

Properties

amount int
final
amountReversed int
final
balanceTransaction BalanceTransactionOrId?
final
created DateTime
final
currency String
final
description String?
final
destination AccountOrId?
final
destinationPayment ChargeOrId?
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
reversals TransferReversals
TransferReversalList
final
reversed bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceTransaction ChargeOrId?
final
sourceType String?
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>(Transfer instance, Encoder<V> encoder) → V
override