SourceTransaction class final

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.

Implemented types

Constructors

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
const
SourceTransaction.fromJson(Object? json)
factory

Properties

achCreditTransfer SourceTransactionAchCreditTransferData?
final
amount int
final
chfCreditTransfer SourceTransactionChfCreditTransferData?
final
created DateTime
final
currency String
final
gbpCreditTransfer SourceTransactionGbpCreditTransferData?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
livemode bool
final
object String
The resource's type.
final
paperCheck SourceTransactionPaperCheckData?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sepaCreditTransfer SourceTransactionSepaCreditTransferData?
final
source String
final
status String
final
type SourceTransactionType
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>(SourceTransaction instance, Encoder<V> encoder) → V