TreasuryReceivedCredit class final

TreasuryReceivedCreditsResourceReceivedCredit

ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.

Implemented types

Constructors

TreasuryReceivedCredit({required int amount, required DateTime created, required String currency, required String description, TreasuryReceivedCreditFailureCode? failureCode, String? financialAccount, String? hostedRegulatoryReceiptUrl, required String id, required TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails initiatingPaymentMethodDetails, required TreasuryReceivedCreditsResourceLinkedFlows linkedFlows, required bool livemode, required TreasuryReceivedCreditNetwork network, TreasuryReceivedCreditReversalDetails? reversalDetails, required TreasuryReceivedCreditStatus status, TreasuryTransactionOrId? transaction})
TreasuryReceivedCreditsResourceReceivedCredit
const
TreasuryReceivedCredit.fromJson(Object? json)
factory

Properties

amount int
final
created DateTime
final
currency String
final
description String
final
failureCode TreasuryReceivedCreditFailureCode?
final
financialAccount String?
final
hashCode int
The hash code for this object.
no setterinherited
hostedRegulatoryReceiptUrl String?
final
id String
final
initiatingPaymentMethodDetails TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails
final
linkedFlows TreasuryReceivedCreditsResourceLinkedFlows
final
livemode bool
final
network TreasuryReceivedCreditNetwork
final
object String
The resource's type.
final
reversalDetails TreasuryReceivedCreditReversalDetails?
Details describing when a ReceivedCredit may be reversed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status TreasuryReceivedCreditStatus
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>(TreasuryReceivedCredit instance, Encoder<V> encoder) → V