TreasuryOutboundTransfer class final
TreasuryOutboundTransfersResourceOutboundTransfer
Use OutboundTransfers to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial\_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound\_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account. Simulate OutboundTransfer state changes with the /v1/test\_helpers/treasury/outbound\_transfers
endpoints. These methods can only be called on test mode objects.
- Implemented types
Constructors
-
TreasuryOutboundTransfer({required int amount, required bool cancelable, required DateTime created, required String currency, String? description, String? destinationPaymentMethod, required OutboundTransfersPaymentMethodDetails destinationPaymentMethodDetails, required DateTime expectedArrivalDate, required String financialAccount, String? hostedRegulatoryReceiptUrl, required String id, required bool livemode, required Map<
String, String> metadata, TreasuryOutboundPaymentReturnedDetails? returnedDetails, required String statementDescriptor, required TreasuryOutboundPaymentStatus status, required TreasuryOutboundTransfersResourceStatusTransitions statusTransitions, required TreasuryTransactionOrId transaction}) -
TreasuryOutboundTransfersResourceOutboundTransfer
const
- TreasuryOutboundTransfer.fromJson(Object? json)
-
factory
Properties
- amount → int
-
final
- cancelable → bool
-
final
- created → DateTime
-
final
- currency → String
-
final
- description → String?
-
final
- destinationPaymentMethod → String?
-
final
- destinationPaymentMethodDetails → OutboundTransfersPaymentMethodDetails
-
final
- expectedArrivalDate → DateTime
-
final
- financialAccount → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostedRegulatoryReceiptUrl → String?
-
final
- id → String
-
final
- livemode → bool
-
final
-
metadata
→ Map<
String, String> -
final
- object → String
-
The resource's type.
final
- returnedDetails → TreasuryOutboundPaymentReturnedDetails?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statementDescriptor → String
-
final
- status → TreasuryOutboundPaymentStatus
-
final
- statusTransitions → TreasuryOutboundTransfersResourceStatusTransitions
-
final
- transaction → TreasuryTransactionOrId
-
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> (TreasuryOutboundTransfer instance, Encoder< V> encoder) → V