TreasuryOutboundPayment constructor
const
TreasuryOutboundPayment({
- required int amount,
- required bool cancelable,
- required DateTime created,
- required String currency,
- String? customer,
- String? description,
- String? destinationPaymentMethod,
- OutboundPaymentsPaymentMethodDetails? destinationPaymentMethodDetails,
- TreasuryOutboundPaymentEndUserDetails? endUserDetails,
- 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 TreasuryOutboundPaymentsResourceOutboundPaymentResourceStatusTransitions statusTransitions,
- required TreasuryTransactionOrId transaction,
TreasuryOutboundPaymentsResourceOutboundPayment
Use OutboundPayments to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial\_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound\_transfers). Simulate OutboundPayment state changes with the /v1/test\_helpers/treasury/outbound\_payments
endpoints. These methods can only be called on test mode objects.
Implementation
const TreasuryOutboundPayment({
required this.amount,
required this.cancelable,
required this.created,
required this.currency,
this.customer,
this.description,
this.destinationPaymentMethod,
this.destinationPaymentMethodDetails,
this.endUserDetails,
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,
});