Diglin\Ricardo\Services\SellerAccount
Class SellerAccount
Refers to the account as a seller:
get all open articles, get sold articles, get articles that haven't been sold, etc
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 string $_service = 'SellerAccountService';
- protected string $_typeOfToken = self::TOKEN_TYPE_IDENTIFIED;
- // Inherited members from ServiceAbstract
- protected string $_service;
- protected string $_typeOfToken;
- // methods
- public void addCardPaymentOption()
- public array assertArticleModification()
- public bool assertArticleModificationResult()
- public void getArticle()
- public array getArticleResult()
- public array getArticles()
- public array getArticlesResult()
- public array getClosedArticles()
- public array getClosedArticlesResult()
- public array getOpenArticle()
- public array getOpenArticleResult()
- public array getOpenArticles()
- public array getOpenArticlesResult()
- public array getPaymentOptions()
- public array getPaymentOptionsResult()
- public array getPlannedArticle()
- public array getPlannedArticleResult()
- public array getPlannedArticles()
- public array getPlannedArticlesResult()
- public void getPlannedPictures()
- public array getPlannedPicturesResult()
- public array getSellerPackages()
- public array getSellerPackagesResult()
- public array getSoldArticle()
- public array getSoldArticleResult()
- public array getSoldArticles()
- public array getSoldArticlesResult()
- public array getTemplates()
- public array getTemplatesResult()
- public void getUnsoldArticle()
- public array getUnsoldArticleResult()
- public array getUnsoldArticles()
- public array getUnsoldArticlesResult()
- public void insertAnswer()
- public void insertSellerPackage()
- public void removeCardPaymentOption()
- public void setCumulativeShipping()
- public void setPremiumPackageAutomaticReactivation()
- // Inherited methods from ServiceAbstract
- public string getService()
- public string getTypeOfToken()
Hierarchy
Tasks
Line | Task |
---|---|
355+ | |
547+ | |
560+ | |
573+ | |
586+ | |
599+ |
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
- addCardPaymentOption() — Adds the card payment option to specified articles parameters
- assertArticleModification() — Asserts the article modification parameters
- assertArticleModificationResult() — Get if the article can be modified or not
- getArticle() — Gets an article parameter
- getArticleResult() — Gets an article result.
- getArticles() — Get all auctions by date and type parameters
- getArticlesResult()
- getClosedArticles() — Get all articles that were closed by customer parameters
- getClosedArticlesResult() — Result to get all articles that were closed by customer
- getOpenArticle() — Gets an open article parameter
- getOpenArticleResult() — Gets an open article result
- getOpenArticles() — Gets open articles parameter
- getOpenArticlesResult() — Gets open articles result
- getPaymentOptions() — Gets the payment options for a seller parameter
- getPaymentOptionsResult() — Gets the payment conditions and payment function associated result
- getPlannedArticle() — Gets planned articles parameter
- getPlannedArticleResult() — Result gets planned articles result
- getPlannedArticles() — Gets the planned articles parameter
- getPlannedArticlesResult() — Gets the planned articles result
- getPlannedPictures() — Gets the planned pictures parameter
- getPlannedPicturesResult() — Gets the planned pictures result
- getSellerPackages() — Gets list of customer's listing packages(normally should be just one item) parameter
- getSellerPackagesResult() — Get Seller Package Result
- getSoldArticle() — Gets the sold article parameter
- getSoldArticleResult() — Get Sold Article Result
- getSoldArticles() — Gets the sold articles parameter
- getSoldArticlesResult() — Get Sold Articles Result
- getTemplates() — Get available article templates parameter
- getTemplatesResult() — Get the list of templates available Result
- getUnsoldArticle() — Gets the unsold article parameter
- getUnsoldArticleResult() — Get Unsold Article Result
- getUnsoldArticles() — Gets the unsold articles parameter
- getUnsoldArticlesResult() — Get the unsold articles result
- insertAnswer() — Inserts the answer.
- insertSellerPackage() — Inserts selected by customer listing package
- removeCardPaymentOption() — Removes the card payment option from specified articles.
- setCumulativeShipping() — Sets if the article has cumulative shipping.
- setPremiumPackageAutomaticReactivation() — Change the automatic reactivation for a premium package
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
-
2015-03-31T00:39:32+02:00 (commit #533bf68)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add new attribute excludedTransactionIdsFilter to filter sold articles, getSoldArticlesResult return all variables now, not only "SoldArticles"
-
2015-02-05T13:02:27+01:00 (commit #17cc8fe)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Change license from OSL v3 to GPL v3
-
2014-12-16T12:45:07+01:00 (commit #ec26574)
Author: Sylvain Rayé (sylvain.raye@rissip.com) / Commiter: Sylvain Rayé (sylvain.raye@rissip.com)
PSR2 compliant
-
2014-10-06T14:19:17+02:00 (commit #7223496)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Fix Get Article and Get SoldArticle service
-
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-18T14:18:38+02:00 (commit #0593ee8)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-76] Implement the logic to know if the credit card is available for an account. Update unit test
-
2014-09-04T17:15:35+02:00 (commit #9286388)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[]RIC-38 Add log implementation for unit test, structure differently enumeration classes, update the constant of the enums in the different classes
-
2014-08-14T00:05:50+02:00 (commit #0588216)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] Add additional methods to services and their test
-
2014-08-10T20:21:39+02:00 (commit #1645479)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Standardize enumeration classes, add security errors enums
-
2014-08-10T20:18:28+02:00 (commit #fc0e52a)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Standardize namespace use
-
2014-08-09T12:47:21+02:00 (commit #f472deb)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] Implements getSellerPackages Service
-
2014-07-30T20:54:56+02:00 (commit #63608a6)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] Simplify date format, work on timestamp base UTC+0
-
2014-07-07T18:37:00+02:00 (commit #b901694)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
[RIC-38] [FEATURE|WIP] Add SellerAccount Service Ricardo API, SellerAccount Manager for the PHP library & Tests - Not all methods are implemented because it's quite long and we may not need all methods at the moment
-
2014-06-22T17:08:27+02:00 (commit #61fc8b6)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add PhpUnit Tests for Security, SellerAccount (in progress) and System (in progress) Services. Add a way to configure the unit test, documentation exist to configure it thanks to a readme file Implement the security protocol at the manager level
-
2014-06-15T22:30:44+02:00 (commit #6b76b24)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
change folders structure, add script specific for Magento to allow to install the library into it
-
2014-06-15T13:58:22+02:00 (commit #e3161ff)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
init commit