Diglin\Ricardo\Managers\Sell\Parameter\ArticleInformationParameter
Class ArticleInformationParameter
Synopsis
- // members
- protected $_articleConditionId;
- protected $_articleDuration;
- protected $_availabilityId;
- protected $_buyNowPrice;
- protected $_categoryId;
- protected $_deliveries;
- protected $_increment;
- protected $_initialQuantity;
- protected $_internalReferences;
- protected $_isCustomerTemplate;
- protected $_isRelistSoldOut;
- protected $_mainPictureId;
- protected $_maxRelistCount;
- protected $_paymentConditionIds;
- protected $_paymentMethodIds;
- protected $_promotionIds;
- protected $_startDate;
- protected $_startPrice;
- protected $_templateId;
- protected $_warrantyId;
- protected $_requiredProperties;
- protected $_optionalProperties;
- // Inherited members from ParameterAbstract
- protected $_requiredProperties;
- protected $_optionalProperties;
- // methods
- public $this setArticleConditionId()
- public int getArticleConditionId()
- public $this setArticleDuration()
- public int getArticleDuration()
- public $this setAvailabilityId()
- public int getAvailabilityId()
- public $this setBuyNowPrice()
- public float getBuyNowPrice()
- public $this setCategoryId()
- public int getCategoryId()
- public $this setDeliveries()
- public array getDeliveries()
- public $this setIncrement()
- public int getIncrement()
- public $this setInitialQuantity()
- public int getInitialQuantity()
- public $this setInternalReferences()
- public ArticleInternalReferenceParameter getInternalReferences()
- public $this setIsCustomerTemplate()
- public boolean getIsCustomerTemplate()
- public $this setIsRelistSoldOut()
- public boolean getIsRelistSoldOut()
- public $this setMainPictureId()
- public int getMainPictureId()
- public $this setMaxRelistCount()
- public int getMaxRelistCount()
- public $this setPaymentConditionIds()
- public array getPaymentConditionIds()
- public $this setPaymentMethodIds()
- public array getPaymentMethodIds()
- public $this setPromotionIds()
- public array getPromotionIds()
- public $this setStartDate()
- public string getStartDate()
- public $this setStartPrice()
- public float getStartPrice()
- public $this setTemplateId()
- public int|null getTemplateId()
- public $this setWarrantyId()
- public int getWarrantyId()
- // Inherited methods from ParameterAbstract
- public array getRequiredProperties()
- public array getOptionalProperties()
- public array getDataProperties()
- protected string _normalizeProperty()
- protected string _getGetterMethod()
- protected string _getSetterMethod()
- public void offsetSet()
- public boolean offsetExists()
- public void offsetUnset()
- public mixed offsetGet()
Hierarchy
Members
protected
- $_articleConditionId — int
- $_articleDuration — int
- $_availabilityId — int
- $_buyNowPrice — float
- $_categoryId — int
- $_deliveries — array
- $_increment — int
- $_initialQuantity — int
- $_internalReferences — array
- $_isCustomerTemplate — boolean
- $_isRelistSoldOut — boolean
- $_mainPictureId — int
- $_maxRelistCount — int
- $_optionalProperties
- $_optionalProperties — array
- $_paymentConditionIds — array
- $_paymentMethodIds — array
- $_promotionIds — array
- $_requiredProperties
- $_requiredProperties — array
- $_startDate — string
- $_startPrice — float
- $_templateId — int
- $_warrantyId — int
Methods
public
- getArticleConditionId()
- getArticleDuration()
- getAvailabilityId()
- getBuyNowPrice()
- getCategoryId()
- getDeliveries()
- getIncrement()
- getInitialQuantity()
- getInternalReferences()
- getIsCustomerTemplate()
- getIsRelistSoldOut()
- getMainPictureId()
- getMaxRelistCount()
- getPaymentConditionIds()
- getPaymentMethodIds()
- getPromotionIds()
- getStartDate()
- getStartPrice()
- getTemplateId()
- getWarrantyId()
- setArticleConditionId()
- setArticleDuration()
- setAvailabilityId()
- setBuyNowPrice()
- setCategoryId()
- setDeliveries()
- setIncrement()
- setInitialQuantity()
- setInternalReferences()
- setIsCustomerTemplate() — Must be set to "true" if templateId is provided
- setIsRelistSoldOut()
- setMainPictureId()
- setMaxRelistCount()
- setPaymentConditionIds()
- setPaymentMethodIds()
- setPromotionIds()
- setStartDate()
- setStartPrice()
- setTemplateId() — setIsCustomerTemplate must be set to true if you set the templateId here
- setWarrantyId()
Inherited from Diglin\Ricardo\Managers\ParameterAbstract
protected
- _getGetterMethod() — Get the getter method name
- _getSetterMethod() — Get the setter method name
- _normalizeProperty() — Normalize the property from "_myProperty" to "MyProperty"
public
- getDataProperties() — Get all properties of a class as an array to be send or use properly by the ricardo.ch API
- getOptionalProperties()
- getRequiredProperties()
- offsetExists() — Implementation of ArrayAccess::offsetExists()
- offsetGet() — Implementation of ArrayAccess::offsetGet()
- offsetSet() — Implementation of ArrayAccess::offsetSet()
- offsetUnset() — Implementation of ArrayAccess::offsetUnset()
History
-
2014-12-06T15:49:12+01:00 (commit #f3b8ff0)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add information related to the customer template
-
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-17T21:34:36+02:00 (commit #d8c4b1a)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Fix parameter for internal reference, fix sell service unit test following ricardo feedbacks
-
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