Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

market.editOrder #94

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions src/VK/Actions/Market.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,4 +479,143 @@ public function restoreComment($access_token, array $params = []) {
public function search($access_token, array $params = []) {
return $this->request->post('market.search', $access_token, $params);
}

/**
* Edit order
*
* @param string $access_token
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/
public function editOrder($access_token, array $params = []) {
return $this->request->post('market.editOrder', $access_token, $params);
}

/**
* Add property
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function addProperty($access_token, array $params = []) {
return $this->request->post('market.addProperty', $access_token, $params);
}

/**
* Add property variant
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function addPropertyVariant($access_token, array $params = []) {
return $this->request->post('market.addPropertyVariant', $access_token, $params);
}

/**
* Delete property
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function deleteProperty($access_token, array $params = []) {
return $this->request->post('market.deleteProperty', $access_token, $params);
}

/**
* Delete property variant
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function deletePropertyVariant($access_token, array $params = []) {
return $this->request->post('market.deletePropertyVariant', $access_token, $params);
}

/**
* Edit property
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function editProperty($access_token, array $params = []) {
return $this->request->post('market.editProperty', $access_token, $params);
}

/**
* Edit property variant
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function editPropertyVariant($access_token, array $params = []) {
return $this->request->post('market.editPropertyVariant', $access_token, $params);
}

/**
* Get properties
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function getProperties($access_token, array $params = []) {
return $this->request->post('market.getProperties', $access_token, $params);
}

/**
* Group items
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function groupItems() {
return $this->request->post('market.groupItems', $access_token, $params);
}

/**
* Ungroup items
*
* @param string
* @param array $params
* @throws VKClientException
* @throws VKApiException
* @return mixed
*/

public function ungroupItems() {
return $this->request->post('market.ungroupItems', $access_token, $params);
}
}