Diglin\Ricardo\Services\Sell
Class Sell
This service is to be used to manage your articles as a seller: you can list, relist, modify, close an article ...
Synopsis
- // Inherited constants from ServiceAbstract
- const TOKEN_TYPE_ANONYMOUS = 'anonymous';
- const TOKEN_TYPE_IDENTIFIED = 'identified';
- const TOKEN_TYPE_ANTIFORGERY = 'antiforgery';
- const TOKEN_TYPE_TEMPORARY = 'temporary';
- const TOKEN_TYPE_DEFAULT = '';
- // members
- protected $_service;
- protected $_typeOfToken;
- // Inherited members from ServiceAbstract
- protected $_service;
- protected $_typeOfToken;
- // methods
- public array addArticlePictures()
- public bool addArticlePicturesResult()
- public array appendArticleDescription()
- public array appendArticleDescriptionResult()
- public array closeArticle()
- public array|bool closeArticleResult()
- public array closeArticles()
- public array|bool closeArticlesResult()
- public void closeClassified()
- public void closeClassifieds()
- public array deletePlannedArticle()
- public array|bool deletePlannedArticleResult()
- public array deletePlannedArticles()
- public array|bool deletePlannedArticlesResult()
- public void getArticleFee()
- public void getUpdateArticleFee()
- public void getUpdateClassifiedFee()
- public array insertArticle()
- public array|bool insertArticleResult()
- public array insertArticles()
- public array|bool insertArticlesResult()
- public void insertClassified()
- public void insertClassifieds()
- public void insertPreviewConvertedClassified()
- public void ocrRecognize()
- public array relistArticle()
- public array relistArticles()
- public void relistArticlesWithoutModification()
- public void relistArticleWithoutModification()
- public void relistClassified()
- public void relistClassifieds()
- public void relistClassifiedsWithoutModification()
- public void relistClassifiedWithoutModification()
- public void tesseractRecognize()
- public array updateArticle()
- public bool|array updateArticleResult()
- public void updateArticleBuyNowPrice()
- public void updateArticleBuyNowQuantity()
- public void updateArticleBuyNowRelistCount()
- public array updateArticlePictures()
- public array updateArticlePicturesResult()
- public void updateClassified()
- public void updateClassifiedPictures()
- public void updatePlannedArticle()
- public void updatePlannedArticlePictures()
- // Inherited methods from ServiceAbstract
- public string getService()
- public string getTypeOfToken()
Hierarchy
Constants
Name | Value |
---|---|
TOKEN_TYPE_ANONYMOUS | 'anonymous' |
TOKEN_TYPE_IDENTIFIED | 'identified' |
TOKEN_TYPE_ANTIFORGERY | 'antiforgery' |
TOKEN_TYPE_TEMPORARY | 'temporary' |
TOKEN_TYPE_DEFAULT | '' |
Members
protected
- $_service — string
- $_service — string
- $_typeOfToken — string
- $_typeOfToken — string
Methods
public
- addArticlePictures() — Adds the article pictures.
- addArticlePicturesResult() — Get the article fee
- appendArticleDescription() — Appends the article description.
- appendArticleDescriptionResult() — Nothing to return normally, we keep for errors or to have consistent API
- closeArticle() — Closes the article.
- closeArticleResult() — Get the result of the closed article
- closeArticles() — Closes a list of articles.
- closeArticlesResult() — Get the result of the closed articles
- closeClassified() — Closes the classified.
- closeClassifieds() — Closes list of classified.
- deletePlannedArticle() — Deletes the planned article.
- deletePlannedArticleResult() — Get the result of the deleted article
- deletePlannedArticles() — Deletes the planned articles.
- deletePlannedArticlesResult() — Get the result of the deleted articles
- getArticleFee() — Gets the article fee.
- getUpdateArticleFee() — Gets the update article fee.
- getUpdateClassifiedFee() — Gets the update classified fee.
- insertArticle() — Inserts an article or a planned article
- insertArticleResult() — Get the article result data
- insertArticles() — Inserts a list of articles or a planned articles. This method is currently not fully usable to external partners
- insertArticlesResult() — Get the article result data
- insertClassified() — Inserts the classified.
- insertClassifieds() — Insert a list of classified items. This method is currently not fully usable to external partners
- insertPreviewConvertedClassified() — Inserts the preview converted classified.
- ocrRecognize() — Ocrs recognition.
- relistArticle()
- relistArticleWithoutModification() — Relists the article without modifing it.
- relistArticles() — Relists the auction articles. This method is currently not fully usable to external partners
- relistArticlesWithoutModification() — Relists the auction articles without modification. This method is currently not fully usable to external partners
- relistClassified() — Relists the classified.
- relistClassifiedWithoutModification() — Relists the classified Without Modification.
- relistClassifieds() — Relists the classified articles. This method is currently not fully usable to external partners
- relistClassifiedsWithoutModification() — Relists the classified article without modification. This method is currently not fully usable to external partners
- tesseractRecognize() — Ocrs recognition.
- updateArticle() — Updates the article.
- updateArticleBuyNowPrice() — Updates the article buy now price.
- updateArticleBuyNowQuantity() — Updates the article buy now quantity.
- updateArticleBuyNowRelistCount() — Updates the article buy now relist count.
- updateArticlePictures() — Updates the article pictures.
- updateArticlePicturesResult() — Nothing to return normally, we keep for errors or to have consistent API
- updateArticleResult() — Get the article result data
- updateClassified() — Updates the classified.
- updateClassifiedPictures() — Update classified pictures'
- updatePlannedArticle() — Updates the planned article.
- updatePlannedArticlePictures() — Upd
Inherited from Diglin\Ricardo\Services\ServiceAbstract
public
- getService() — Get the current name of the API service
- getTypeOfToken() — Get the type of token needed for this service <pre> It can be: - anonymous - identified - antiforgery - empty </pre>
History
-
2014-09-28T11:30:04+02:00 (commit #207ba4b)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add doc block in some classes
-
2014-09-28T11:22:59+02:00 (commit #3e11a2c)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Update the License to OSL v3.0, add license file, change code header and composer.json
-
2014-09-17T09:13:14+02:00 (commit #1a0d069)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Relist article implementation (still in progress because the parameters signature doesn't seem to be correct)
-
2014-09-14T22:13:45+02:00 (commit #cda6bb1)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
API changes and test
-
2014-09-07T17:07:03+02:00 (commit #00bd231)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] Insert Article Implementation and test
-
2014-09-04T17:17:23+02:00 (commit #bed18ee)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] Start the implementation of SellService, add parameter abstract and their classes to facilitate data manipulation of parameters between the lib and ricardo API