TreasuryOutboundTransfer constructor
const
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
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.
Implementation
const TreasuryOutboundTransfer({
required this.amount,
required this.cancelable,
required this.created,
required this.currency,
this.description,
this.destinationPaymentMethod,
required this.destinationPaymentMethodDetails,
required this.expectedArrivalDate,
required this.financialAccount,
this.hostedRegulatoryReceiptUrl,
required this.id,
required this.livemode,
required this.metadata,
this.returnedDetails,
required this.statementDescriptor,
required this.status,
required this.statusTransitions,
required this.transaction,
});