Market class
Методы market позволяют работать с товарами в сообществах.
Constructors
- Market.new(Api _api)
- Конструктор.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Ads a new item to the market.
-
addAlbum<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Creates new collection of items
-
addProperty<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Добавляет новое свойство, которое может быть задано для товаров сообщества (например, «цвет», «размер» и т.д.).
-
addPropertyVariant<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Добавляет вариант свойства. Всего у свойства может быть 50 вариантов.
-
addToAlbum<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Adds an item to one or multiple collections.
-
createComment<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Creates a new comment for an item.
-
delete<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Deletes an item.
-
deleteAlbum<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Deletes a collection of items.
-
deleteComment<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Deletes an item's comment
-
deleteProperty<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Удаляет свойство товара.
-
deletePropertyVariant<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Удаляет вариант свойства.
-
edit<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Edits an item.
-
editAlbum<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Edits a collection of items
-
editComment<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Chages item comment's text
-
editOrder<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Edit order
-
editProperty<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Редактирует свойство товара.
-
editPropertyVariant<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Редактирует вариант свойства.
-
filterCategories<
T> (Map< String, Object> params) → Future<ApiResponse< T> > -
get<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns items list for a community.
-
getAlbumById<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns items album's data
-
getAlbums<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns community's market collections list.
-
getById<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns information about market items by their ids.
-
getCategories<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns a list of market categories.
-
getComments<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns comments list for an item.
-
getGroupOrders<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Get market orders
-
getOrderById<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Get order
-
getOrderItems<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Get market items in the order
-
getOrders<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Возвращает заказы.
-
getProductPhotoUploadServer<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Метод для получения ссылки на сервер загрузки изображений
-
getProperties<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Возвращает список свойств для указанного сообщества.
-
groupItems<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Объединяет товары в группу товаров.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFromAlbum<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Removes an item from one or multiple collections.
-
reorderAlbums<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Reorders the collections list.
-
reorderItems<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Changes item place in a collection.
-
report<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Sends a complaint to the item.
-
reportComment<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Sends a complaint to the item's comment.
-
restore<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Restores recently deleted item
-
restoreComment<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Restores a recently deleted comment
-
saveProductPhoto<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Метод для сохранения изображений
-
search<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Searches market items in a community's catalog
-
searchItems<
T> (Map< String, Object> params) → Future<ApiResponse< T> > -
searchItemsBasic<
T> (Map< String, Object> params) → Future<ApiResponse< T> > -
toString(
) → String -
A string representation of this object.
inherited
-
ungroupItems<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Разделяет группу товаров на несколько товаров.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited