Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Order that contains meta data related to the resource transfer instruction.
Services that handles transactions between right owners.
Classes | |
class | TransactionOrder |
Data container that defines transaction instruction. More... | |
Static Public Member Functions | |
static bool | ExecuteAddOrder (Guid destinationStorageId, string itemBundle, string itemCode, int count) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Guid destinationStorageId, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Guid destinationStorageId, Item item, int count) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Guid destinationStorageId, Item item, int count, string serviceCode) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Storage destination, string itemBundle, string itemCode, int count) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Storage destination, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Storage destination, Item item, int count) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteAddOrder (Storage destination, Item item, int count, string serviceCode) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | InstantTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, string itemBundle, string itemCode, int count) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, Item item, int count) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, Item item, int count, string serviceCode) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Storage source, Storage destination, string itemBundle, string itemCode, int count) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Storage source, Storage destination, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Storage source, Storage destination, Item item, int count) |
Instantly attempts to execute a transaction order between two storages. More... | |
static bool | InstantTransactionOrder (Storage source, Storage destination, Item item, int count, string serviceCode) |
Instantly attempts to execute a transaction order between two storages. More... | |
static void | ConfirmTransactionOrder (Guid orderId) |
Executes placed order. More... | |
static void | ConfirmTransactionOrder (TransactionOrder order) |
Executes placed order. More... | |
static void | CancelTransactionOrder (Guid orderId) |
Cancels the placed order by id. More... | |
static void | CancelTransactionOrder (TransactionOrder order) |
Cancels the placed order by id. More... | |
static void | CancelAllForStorage (Guid storageId) |
Cancels entire orders related to certain storage. More... | |
static bool | PlaceTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, string itemBundle, string itemCode, int count, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, string itemBundle, string itemCode, int count, string serviceCode, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, Item item, int count, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Guid sourceStorageId, Guid destinationStorageId, Item item, int count, string serviceCode, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Storage source, Storage destination, string itemBundle, string itemCode, int count, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Storage source, Storage destination, string itemBundle, string itemCode, int count, string serviceCode, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Storage source, Storage destination, Item item, int count, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | PlaceTransactionOrder (Storage source, Storage destination, Item item, int count, string serviceCode, out Guid orderId) |
Placing transfer order to the system reserving the resource but not confirms it. More... | |
static bool | ExecuteRemoveOrder (Guid sourceStorageId, string itemBundle, string itemCode, int count) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Guid sourceStorageId, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Guid sourceStorageId, Item item, int count) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Guid sourceStorageId, Item item, int count, string serviceCode) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Storage source, string itemBundle, string itemCode, int count) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Storage source, string itemBundle, string itemCode, int count, string serviceCode) |
Instantly attempts to execute a transaction to a storage. More... | |
static bool | ExecuteRemoveOrder (Storage source, Item item, int count) |
Instantly attempts to remove a items from a storage. More... | |
static bool | ExecuteRemoveOrder (Storage source, Item item, int count, string serviceCode) |
Instantly attempts to remove a items from a storage. More... | |
static Guid[] | FindOrders (Guid storageId) |
Returns array of TransactionOrder.ids related to certain storage. More... | |
static ICollection< TransactionOrder > | FindOrders (Guid from, Guid to) |
Looking for orders between two storages. More... | |
static ICollection< TransactionOrder > | FindOrders (Guid from, Guid to, Func< TransactionOrder, bool > condition) |
Looking for orders between two storages. More... | |
static bool | HasOrders (Guid storageId) |
Checks is there is any placed and not finalized or expired order related to the certain storage. More... | |
static TransactionOrder | GetOrder (Guid orderId) |
Returns TransactionOrder by id if exists. More... | |
static IEnumerator< TransactionOrder > | GetOrdersEnumerator () |
Returns enumerator of entire orders registered at the moment. More... | |
Properties | |
static AMaskStorageFeature | LastInvalidProperty [get] |
Property that failed validation pass for order at last. | |
|
static |
Cancels entire orders related to certain storage.
storageId | Id of the storage in the StoragesDatabase |
|
static |
Cancels the placed order by id.
orderId | Id of the order provided by the service via the PlaceTransactionOrder(Storage, Storage, string, string, int, out Guid) handler. |
|
static |
Cancels the placed order by id.
order | Order provided by the service via the PlaceTransactionOrder(Storage, Storage, string, string, int, out Guid) handler. |
|
static |
Executes placed order.
orderId | Id of the order provided by the service via the PlaceTransactionOrder(Storage, Storage, string, string, int, out Guid) handler. |
|
static |
Executes placed order.
order | Order provided by the service via the PlaceTransactionOrder(Storage, Storage, string, string, int, out Guid) handler. |
|
static |
Instantly attempts to execute a transaction to a storage.
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
sourceStorageId | Id of source storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
sourceStorageId | Id of source storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
sourceStorageId | Id of source storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
sourceStorageId | Id of source storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
source | Source of the items to transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
source | Source of the items to transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to remove a items from a storage.
source | Source of the items to transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction to a storage.
source | Source of the items to transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Looking for orders between two storages.
from | Id of the source storage. |
to | Id of the destination storage. |
|
static |
Looking for orders between two storages.
from | Id of the source storage. |
to | Id of the destination storage. |
condition | Custom handler that decides is the order valid to search. |
|
static |
Returns array of TransactionOrder.ids related to certain storage.
storageId | StoragesDatabase.StorageContainer.id to relatives search. |
|
static |
Returns TransactionOrder by id if exists.
orderId | If of order to get. |
null
otherwise.
|
static |
Returns enumerator of entire orders registered at the moment.
|
static |
Checks is there is any placed and not finalized or expired order related to the certain storage.
storageId | StoragesDatabase.StorageContainer.id to check. |
true
in case if there is orders to executions. false
otherwise.
|
static |
Instantly attempts to execute a transaction order between two storages.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order has been executed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Instantly attempts to execute a transaction order between two storages.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange |
count | Count to transfer. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
item | Item to exchange |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
sourceStorageId | Id of source storage in StoragesDatabase. |
destinationStorageId | Id of destination storage in StoragesDatabase to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
item | Item to exchange. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.
|
static |
Placing transfer order to the system reserving the resource but not confirms it.
source | Source of the items to transfer. |
destination | Destination storage to items transfer. |
itemBundle | Resources bundle related to the item. |
itemCode | Code of the item to transfer. |
count | Count to transfer. |
serviceCode | TransactionOrder.code value to set. |
orderId | Id of order registered at the service. |
true
in case if order placed. false
in case if transaction can't be fulfilled.