Transaction# class Transaction[source]# A transaction by a user. id: str# The id of the transaction. state: TransactionState# The state of the transaction. course_price_id: str# The id of the CoursePrice that this transaction pays for. success_at: Optional[datetime]# The moment the payment was successful, this will always be not None when state is success. updated_at: datetime# The moment this transaction was last updated.