SourceTransaction constructor
const
SourceTransaction({
- SourceTransactionAchCreditTransferData? achCreditTransfer,
- required int amount,
- SourceTransactionChfCreditTransferData? chfCreditTransfer,
- required DateTime created,
- required String currency,
- SourceTransactionGbpCreditTransferData? gbpCreditTransfer,
- required String id,
- required bool livemode,
- SourceTransactionPaperCheckData? paperCheck,
- SourceTransactionSepaCreditTransferData? sepaCreditTransfer,
- required String source,
- required String status,
- required SourceTransactionType type,
SourceTransaction
Some payment methods have no required amount that a customer must send. Customers can be instructed to send any amount, and it can be made up of multiple transactions. As such, sources can have multiple associated transactions.
Implementation
const SourceTransaction({
this.achCreditTransfer,
required this.amount,
this.chfCreditTransfer,
required this.created,
required this.currency,
this.gbpCreditTransfer,
required this.id,
required this.livemode,
this.paperCheck,
this.sepaCreditTransfer,
required this.source,
required this.status,
required this.type,
});