diff --git a/src/Shoplo/BonanzaApi/Type/AddItemType.php b/src/Shoplo/BonanzaApi/Type/AddItemType.php index b275688..9ccccdd 100644 --- a/src/Shoplo/BonanzaApi/Type/AddItemType.php +++ b/src/Shoplo/BonanzaApi/Type/AddItemType.php @@ -8,101 +8,108 @@ class AddItemType { - /** - * @var string - * - * @Serializer\Type("string") - */ - public $description; - - /** - * @var string - * - * @Serializer\Type("string") - */ - public $externalProductId; - - /** - * @var boolean - * - * @Serializer\Type("boolean") - */ - public $obo; - - /** - * @var AddItemSpecificsType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\AddItemSpecificsType") - */ - public $itemSpecifics; - - /** - * @var PictureDetailsType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\PictureDetailsType") - */ - public $pictureDetails; - - /** - * @var double - * - * @Serializer\Type("double") - */ - public $price; - - /** - * @var PrimaryCategoryType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\PrimaryCategoryType") - */ - public $primaryCategory; - - /** - * @var ProductListingDetailsType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\ProductListingDetailsType") - */ - public $productListingDetails; - - /** - * @var int - * - * @Serializer\Type("int") - */ - public $quantity; - - /** - * @var ReturnPolicyType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\ReturnPolicyType") - */ - public $returnPolicy; - - /** - * @var ShippingDetailsType - * - * @Serializer\Type("Shoplo\BonanzaApi\Type\ShippingDetailsType") - */ - public $shippingDetails; - - /** - * @var string - * - * @Serializer\Type("string") - */ - public $sku; - - /** - * @var string - * - * @Serializer\Type("string") - */ - public $title; - - /** - * @var VariationType[] - * - * @Serializer\Type("array") - */ - public $variations; + /** + * @var string + * + * @Serializer\Type("string") + */ + public $description; + + /** + * @var string + * + * @Serializer\Type("string") + */ + public $externalProductId; + + /** + * @var boolean + * + * @Serializer\Type("boolean") + */ + public $obo; + + /** + * @var AddItemSpecificsType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\AddItemSpecificsType") + */ + public $itemSpecifics; + + /** + * @var PictureDetailsType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\PictureDetailsType") + */ + public $pictureDetails; + + /** + * @var double + * + * @Serializer\Type("double") + */ + public $price; + + /** + * @var PrimaryCategoryType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\PrimaryCategoryType") + */ + public $primaryCategory; + + /** + * @var ProductListingDetailsType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\ProductListingDetailsType") + */ + public $productListingDetails; + + /** + * @var int + * + * @Serializer\Type("int") + */ + public $quantity; + + /** + * @var ReturnPolicyType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\ReturnPolicyType") + */ + public $returnPolicy; + + /** + * @var ShippingDetailsType + * + * @Serializer\Type("Shoplo\BonanzaApi\Type\ShippingDetailsType") + */ + public $shippingDetails; + + /** + * @var string + * + * @Serializer\Type("string") + */ + public $sku; + + /** + * @var string + * + * @Serializer\Type("string") + */ + public $title; + + /** + * @var bool + * + * @Serializer\Type("boolean") + */ + public $allowForSale; + + /** + * @var VariationType[] + * + * @Serializer\Type("array") + */ + public $variations; } \ No newline at end of file diff --git a/src/Shoplo/BonanzaApi/Type/FixedPriceItemResponseType.php b/src/Shoplo/BonanzaApi/Type/FixedPriceItemResponseType.php index 0b97017..0de8b82 100644 --- a/src/Shoplo/BonanzaApi/Type/FixedPriceItemResponseType.php +++ b/src/Shoplo/BonanzaApi/Type/FixedPriceItemResponseType.php @@ -8,24 +8,31 @@ class FixedPriceItemResponseType extends BaseResponseType { - /** - * @var string - * - * @Serializer\Type("string") - */ - public $sellingState; - - /** - * @var int - * - * @Serializer\Type("int") - */ - public $categoryId; - - /** - * @var int - * - * @Serializer\Type("int") - */ - public $itemId; + /** + * @var string + * + * @Serializer\Type("string") + */ + public $sellingState; + + /** + * @var int + * + * @Serializer\Type("int") + */ + public $categoryId; + + /** + * @var int + * + * @Serializer\Type("int") + */ + public $itemId; + + /** + * @var string + * + * @Serializer\Type("string") + */ + public $message; } \ No newline at end of file diff --git a/src/Shoplo/BonanzaApi/Type/PrimaryCategoryType.php b/src/Shoplo/BonanzaApi/Type/PrimaryCategoryType.php index dbf70b1..29ce3cb 100644 --- a/src/Shoplo/BonanzaApi/Type/PrimaryCategoryType.php +++ b/src/Shoplo/BonanzaApi/Type/PrimaryCategoryType.php @@ -11,7 +11,7 @@ class PrimaryCategoryType /** * @var int * - * @Serializer\Type("int") + * @Serializer\Type("string") */ public $categoryId;