C# 클래스 Connectster.Shopster.ShopsterCommunicator

파일 보기 프로젝트 열기: shopster/NconnectSter 1 사용 예제들

공개 메소드들

메소드 설명
GetAllInventoryItemsForUser ( ConnectsterApiContext apiContext, string group ) : List
GetCategory ( ApiContext apiContext, int categoryId ) : InventoryCategoryType

Tries to get the category (either from the communicator's cache, or from API if not in cache)

Instance ( ) : ShopsterCommunicator
PlaceOrder ( ApiContext apiContext, IOrder orderToPlace, int>.Dictionary productMap ) : int?

Places an order on shopster.

비공개 메소드들

메소드 설명
GetCategoryFromApi ( ApiContext apiContext, int categoryId ) : List

Attempts to get a category from the API, it makes no guarantees that it will succeed.

GetPageOfInventoryCategories ( ApiContext apiContext, int pageNum, int pageSize ) : List
ShopsterCommunicator ( ) : System

메소드 상세

GetAllInventoryItemsForUser() 공개 메소드

public GetAllInventoryItemsForUser ( ConnectsterApiContext apiContext, string group ) : List
apiContext Connectster.Server.ConnectsterApiContext
group string
리턴 List

GetCategory() 공개 메소드

Tries to get the category (either from the communicator's cache, or from API if not in cache)
public GetCategory ( ApiContext apiContext, int categoryId ) : InventoryCategoryType
apiContext ApiContext
categoryId int
리턴 InventoryCategoryType

Instance() 공개 정적인 메소드

public static Instance ( ) : ShopsterCommunicator
리턴 ShopsterCommunicator

PlaceOrder() 공개 메소드

Places an order on shopster.
public PlaceOrder ( ApiContext apiContext, IOrder orderToPlace, int>.Dictionary productMap ) : int?
apiContext ApiContext
orderToPlace IOrder
productMap int>.Dictionary
리턴 int?