TreasuryOutboundPayment class final
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.
- Implemented types
Constructors
-
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
const
- TreasuryOutboundPayment.fromJson(Object? json)
-
factory
Properties
- amount → int
-
final
- cancelable → bool
-
final
- created → DateTime
-
final
- currency → String
-
final
- customer → String?
-
final
- description → String?
-
final
- destinationPaymentMethod → String?
-
final
- destinationPaymentMethodDetails → OutboundPaymentsPaymentMethodDetails?
-
final
- endUserDetails → TreasuryOutboundPaymentEndUserDetails?
-
Details about the end user.
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?
-
Details about a returned OutboundPayment. Only set when the status is `returned`.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statementDescriptor → String
-
final
- status → TreasuryOutboundPaymentStatus
-
final
- statusTransitions → TreasuryOutboundPaymentsResourceOutboundPaymentResourceStatusTransitions
-
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> (TreasuryOutboundPayment instance, Encoder< V> encoder) → V