Knetik.KnetikClient.ListStorePage C# (CSharp) Метод

ListStorePage() публичный Метод

public ListStorePage ( int page = 1, int limit = 10, List terms = null, List related = null, bool useCatalog = true, Action cb = null ) : KnetikApiResponse
page int
limit int
terms List
related List
useCatalog bool
cb Action
Результат KnetikApiResponse
        public KnetikApiResponse ListStorePage(
            int page = 1,
            int limit = 10,
            List<string> terms = null,
            List<string> related = null,
            bool useCatalog = true,
            Action<KnetikApiResponse> cb = null
        )
        {
            JSONObject j = new JSONObject (JSONObject.Type.OBJECT);
            j.AddField ("page", page);
            j.AddField ("limit", limit);
            if (terms != null) {
                j.AddField ("terms", JSONObject.Create(terms));
            }
            if (related != null) {
                j.AddField ("related", JSONObject.Create(related));
            }
            j.AddField("useCatalog", useCatalog);

            String body = j.Print ();

            KnetikRequest req = CreateRequest(ListStorePageEndpoint, body);

            KnetikApiResponse response = new KnetikApiResponse(this, req, cb);
            return  response;
        }