social-common / pragma.order / OrdersFactory /

OrdersFactory #

interface OrdersFactory

Factory used to create pragma.order.Orders, TimeClawbacks and PositionClawbacks objects.

Functions #

NameSummary

orders

abstract fun orders(pragmaSocialId: <ERROR CLASS>, providerId: <ERROR CLASS>, contentVersion: Long): Orders

Creates a social id + provider id specific pragma.order.Orders object used to interact with the database.

positionClawbacks

abstract fun positionClawbacks(providerId: <ERROR CLASS>): PositionClawbacks

Creates a provider id specific PositionClawbacks object for tracking position based clawback processing.

timeClawbacks

abstract fun timeClawbacks(providerId: <ERROR CLASS>): TimeClawbacks

Creates a provider id specific TimeClawbacks object for tracking time based clawback processing.