This repository was archived by the owner on Oct 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 1.0.1 " ></a >
2+ ## [ 1.0.1] ( https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0...v1.0.1 ) (2016-05-17)
3+
4+
5+ ### Bug Fixes
6+
7+ * ** Product:** fix mapping for product variant availability ([ c0c461f] ( https://github.com/sphereio/commercetools-php-sdk/commit/c0c461f ) )
8+
9+
10+
111<a name =" 1.0.0 " ></a >
212# [ 1.0.0] ( https://github.com/sphereio/commercetools-php-sdk/compare/v1.0.0-RC12...v1.0.0 ) (2016-05-02)
313
Original file line number Diff line number Diff line change 1414 */
1515abstract class AbstractHttpClient
1616{
17- const VERSION = '1.0.0 ' ;
17+ const VERSION = '1.0.1 ' ;
1818
1919 /**
2020 * @var AdapterInterface
Original file line number Diff line number Diff line change 99 * @package Commercetools\Core\Error
1010 *
1111 * @method string getCode()
12- * @method AccessDeniedError setCode(string $code = null)
12+ * @method InvalidTokenError setCode(string $code = null)
1313 * @method string getMessage()
14- * @method AccessDeniedError setMessage(string $message = null)
14+ * @method InvalidTokenError setMessage(string $message = null)
1515 */
1616class InvalidTokenError extends ApiError
1717{
Original file line number Diff line number Diff line change 2525 * @method ProductVariant setAttributes(AttributeCollection $attributes = null)
2626 * @method ImageCollection getImages()
2727 * @method ProductVariant setImages(ImageCollection $images = null)
28- * @method LocalizedString getAvailability()
29- * @method ProductVariant setAvailability(LocalizedString $availability = null)
28+ * @method ProductVariantAvailability getAvailability()
29+ * @method ProductVariant setAvailability(ProductVariantAvailability $availability = null)
3030 * @method Price getPrice()
3131 * @method ProductVariant setPrice(Price $price = null)
3232 * @method bool getIsMatchingVariant()
@@ -43,7 +43,7 @@ public function fieldDefinitions()
4343 'price ' => [static ::TYPE => '\Commercetools\Core\Model\Common\Price ' ],
4444 'attributes ' => [static ::TYPE => '\Commercetools\Core\Model\Common\AttributeCollection ' ],
4545 'images ' => [static ::TYPE => '\Commercetools\Core\Model\Common\ImageCollection ' ],
46- 'availability ' => [static ::TYPE => '\Commercetools\Core\Model\Common\LocalizedString ' ],
46+ 'availability ' => [static ::TYPE => '\Commercetools\Core\Model\Product\ProductVariantAvailability ' ],
4747 'isMatchingVariant ' => [static ::TYPE => 'bool ' ]
4848 ];
4949 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function fieldDefinitions()
4545
4646 /**
4747 * @param string $productId
48- * @param string $variantId
48+ * @param int $variantId
4949 * @param Context|callable $context
5050 * @param int $quantity
5151 * @return CartAddLineItemAction
Original file line number Diff line number Diff line change 11{
22 "name" : " commercetools-php-sdk-changelog" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " commercetools PHP SDK changelog generator package description" ,
55 "homepage" : " https://github.com/sphereio/commercetools-php-sdk" ,
66 "bugs" : " https://github.com/sphereio/commercetools-php-sdk/issues" ,
You can’t perform that action at this time.
0 commit comments