Netsutie PHP Toolkit
PromotionCode.php
Go to the documentation of this file.
1 <?php
8 class PromotionCode extends Record {
9 
19 
28  public $customForm;
29 
38  public $useType;
39 
49 
58  public $code;
59 
68  public $codePattern;
69 
79 
88  public $description;
89 
98  public $locationList;
99 
108  public $isInactive;
109 
118  public $discount;
119 
128  public $rate;
129 
139 
149 
159 
169 
178  public $startDate;
179 
188  public $endDate;
189 
198  public $isPublic;
199 
209 
219 
228  public $name;
229 
238  public $itemsList;
239 
249 
259 
268  public $internalId;
269 
278  public $externalId;
279 
280 
281 
282  static $paramtypesmap = array(
283 
284  "implementation" => "RecordRef",
285 
286  "customForm" => "RecordRef",
287 
288  "useType" => "PromotionCodeUseType",
289 
290  "displayLineDiscounts" => "boolean",
291 
292  "code" => "string",
293 
294  "codePattern" => "string",
295 
296  "numberToGenerate" => "integer",
297 
298  "description" => "string",
299 
300  "locationList" => "RecordRefList",
301 
302  "isInactive" => "boolean",
303 
304  "discount" => "RecordRef",
305 
306  "rate" => "string",
307 
308  "discountType" => "boolean",
309 
310  "applyDiscountTo" => "PromotionCodeApplyDiscountTo",
311 
312  "freeShipMethod" => "RecordRef",
313 
314  "minimumOrderAmount" => "float",
315 
316  "startDate" => "dateTime",
317 
318  "endDate" => "dateTime",
319 
320  "isPublic" => "boolean",
321 
322  "currencyList" => "PromotionCodeCurrencyList",
323 
324  "excludeItems" => "boolean",
325 
326  "name" => "string",
327 
328  "itemsList" => "PromotionCodeItemsList",
329 
330  "partnersList" => "PromotionCodePartnersList",
331 
332  "customFieldList" => "CustomFieldList",
333 
334  "internalId" => "string",
335 
336  "externalId" => "string",
337 
338  );
339 
340 }
static $paramtypesmap
Definition: Record.php:8