Overview

Namespaces

  • SellerLabs
    • Snagshout
      • Model
      • Normalizer
      • Resource
      • Utils

Classes

  • SellerLabs\Snagshout\Client
  • SellerLabs\Snagshout\Model\AmazonData
  • SellerLabs\Snagshout\Model\Attribute
  • SellerLabs\Snagshout\Model\BookmarkMetadata
  • SellerLabs\Snagshout\Model\Campaign
  • SellerLabs\Snagshout\Model\Category
  • SellerLabs\Snagshout\Model\Image
  • SellerLabs\Snagshout\Model\ImageMetadata
  • SellerLabs\Snagshout\Model\Links
  • SellerLabs\Snagshout\Model\Product
  • SellerLabs\Snagshout\Model\PromoCode
  • SellerLabs\Snagshout\Model\Promotion
  • SellerLabs\Snagshout\Model\Shipping
  • SellerLabs\Snagshout\Model\V1GetCampaignsResponse
  • SellerLabs\Snagshout\Model\V1GetCategoriesResponse
  • SellerLabs\Snagshout\Model\V1GetStatus
  • SellerLabs\Snagshout\Model\V1GetStatusResponse
  • SellerLabs\Snagshout\Normalizer\AmazonDataNormalizer
  • SellerLabs\Snagshout\Normalizer\AttributeNormalizer
  • SellerLabs\Snagshout\Normalizer\BookmarkMetadataNormalizer
  • SellerLabs\Snagshout\Normalizer\CampaignNormalizer
  • SellerLabs\Snagshout\Normalizer\CategoryNormalizer
  • SellerLabs\Snagshout\Normalizer\ImageMetadataNormalizer
  • SellerLabs\Snagshout\Normalizer\ImageNormalizer
  • SellerLabs\Snagshout\Normalizer\LinksNormalizer
  • SellerLabs\Snagshout\Normalizer\NormalizerFactory
  • SellerLabs\Snagshout\Normalizer\ProductNormalizer
  • SellerLabs\Snagshout\Normalizer\PromoCodeNormalizer
  • SellerLabs\Snagshout\Normalizer\PromotionNormalizer
  • SellerLabs\Snagshout\Normalizer\ShippingNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetCampaignsResponseNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetCategoriesResponseNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetStatusNormalizer
  • SellerLabs\Snagshout\Normalizer\V1GetStatusResponseNormalizer
  • SellerLabs\Snagshout\Resource\CampaignResource
  • SellerLabs\Snagshout\Resource\CategoryResource
  • SellerLabs\Snagshout\Resource\FrontResource
  • SellerLabs\Snagshout\SyndicationClient
  • SellerLabs\Snagshout\Utils\NormalizerFactory
  • SellerLabs\Snagshout\Utils\NullNormalizer
  • Overview
  • Namespace
  • Class
  1: <?php
  2: 
  3: namespace SellerLabs\Snagshout\Model;
  4: 
  5: class V1GetCampaignsResponse
  6: {
  7:     /**
  8:      * @var string[]
  9:      */
 10:     protected $errors;
 11:     /**
 12:      * @var bool
 13:      */
 14:     protected $error;
 15:     /**
 16:      * @var int
 17:      */
 18:     protected $code;
 19:     /**
 20:      * @var int
 21:      */
 22:     protected $status;
 23:     /**
 24:      * @var string
 25:      */
 26:     protected $message;
 27:     /**
 28:      * @var bool
 29:      */
 30:     protected $success;
 31:     /**
 32:      * @var Campaign[]
 33:      */
 34:     protected $data;
 35:     /**
 36:      * @var Links
 37:      */
 38:     protected $links;
 39:     /**
 40:      * @return string[]
 41:      */
 42:     public function getErrors()
 43:     {
 44:         return $this->errors;
 45:     }
 46:     /**
 47:      * @param string[] $errors
 48:      *
 49:      * @return self
 50:      */
 51:     public function setErrors(array $errors = null)
 52:     {
 53:         $this->errors = $errors;
 54:         return $this;
 55:     }
 56:     /**
 57:      * @return bool
 58:      */
 59:     public function getError()
 60:     {
 61:         return $this->error;
 62:     }
 63:     /**
 64:      * @param bool $error
 65:      *
 66:      * @return self
 67:      */
 68:     public function setError($error = null)
 69:     {
 70:         $this->error = $error;
 71:         return $this;
 72:     }
 73:     /**
 74:      * @return int
 75:      */
 76:     public function getCode()
 77:     {
 78:         return $this->code;
 79:     }
 80:     /**
 81:      * @param int $code
 82:      *
 83:      * @return self
 84:      */
 85:     public function setCode($code = null)
 86:     {
 87:         $this->code = $code;
 88:         return $this;
 89:     }
 90:     /**
 91:      * @return int
 92:      */
 93:     public function getStatus()
 94:     {
 95:         return $this->status;
 96:     }
 97:     /**
 98:      * @param int $status
 99:      *
100:      * @return self
101:      */
102:     public function setStatus($status = null)
103:     {
104:         $this->status = $status;
105:         return $this;
106:     }
107:     /**
108:      * @return string
109:      */
110:     public function getMessage()
111:     {
112:         return $this->message;
113:     }
114:     /**
115:      * @param string $message
116:      *
117:      * @return self
118:      */
119:     public function setMessage($message = null)
120:     {
121:         $this->message = $message;
122:         return $this;
123:     }
124:     /**
125:      * @return bool
126:      */
127:     public function getSuccess()
128:     {
129:         return $this->success;
130:     }
131:     /**
132:      * @param bool $success
133:      *
134:      * @return self
135:      */
136:     public function setSuccess($success = null)
137:     {
138:         $this->success = $success;
139:         return $this;
140:     }
141:     /**
142:      * @return Campaign[]
143:      */
144:     public function getData()
145:     {
146:         return $this->data;
147:     }
148:     /**
149:      * @param Campaign[] $data
150:      *
151:      * @return self
152:      */
153:     public function setData(array $data = null)
154:     {
155:         $this->data = $data;
156:         return $this;
157:     }
158:     /**
159:      * @return Links
160:      */
161:     public function getLinks()
162:     {
163:         return $this->links;
164:     }
165:     /**
166:      * @param Links $links
167:      *
168:      * @return self
169:      */
170:     public function setLinks(Links $links = null)
171:     {
172:         $this->links = $links;
173:         return $this;
174:     }
175: }
API documentation generated by ApiGen