TreasuryReceivedCredit constructor

const TreasuryReceivedCredit({
  1. required int amount,
  2. required DateTime created,
  3. required String currency,
  4. required String description,
  5. TreasuryReceivedCreditFailureCode? failureCode,
  6. String? financialAccount,
  7. String? hostedRegulatoryReceiptUrl,
  8. required String id,
  9. required TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails initiatingPaymentMethodDetails,
  10. required TreasuryReceivedCreditsResourceLinkedFlows linkedFlows,
  11. required bool livemode,
  12. required TreasuryReceivedCreditNetwork network,
  13. TreasuryReceivedCreditReversalDetails? reversalDetails,
  14. required TreasuryReceivedCreditStatus status,
  15. TreasuryTransactionOrId? transaction,
})

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.

Implementation

const TreasuryReceivedCredit({
  required this.amount,
  required this.created,
  required this.currency,
  required this.description,
  this.failureCode,
  this.financialAccount,
  this.hostedRegulatoryReceiptUrl,
  required this.id,
  required this.initiatingPaymentMethodDetails,
  required this.linkedFlows,
  required this.livemode,
  required this.network,
  this.reversalDetails,
  required this.status,
  this.transaction,
});