CoursePurchase¶
- class CoursePurchase[source]¶
A course purchase by a user.
- purchased_item: CoursePrice¶
The CoursePrice that this transaction pays for.
- state: TransactionState¶
The state of the transaction.
- success_at: datetime | None¶
The moment the payment was successful, this will always be not None when state is success.
- item_purchase_iteration: PurchaseIteration¶
Whether this purchase is a repurchase for a previously refunded purchased item.