social-common / pragma.order / Orders /
Orders #
interface Orders
A smart object for modifying and fetching order information and state. All methods represent synchronous database calls. Created by the pragma.order.OrdersFactory.
Functions #
Name | Summary |
---|---|
Stores an order in the database. | |
Fetches a list of orders with an order status of OrderRpc.OrderStatus.ORDER_STATUS_PENDING for the registered social id and provider type. | |
Fetches a list of orders for the registered social id and provider type. | |
Updates the status of the specified order to OrderRpc.OrderStatus.ORDER_STATUS_RECEIVED. | |
Updates the status of the specified order to OrderRpc.OrderStatus.ORDER_STATUS_REVOKED. | |
Overwrites the provider details for the specified order. |