An order item.
Public Properties | |
const | MAP |
Public Properties inherited from Data | |
const | MAP = [] |
const | PATCH = [] |
Public Methods | |
magic DiscountAllocation[] | getDiscountAllocations () |
magic int | getFulfillableQuantity () |
magic string | getFulfillmentService () |
magic string | getFulfillmentStatus () |
magic string | getGiftCard () |
magic string | getGrams () |
magic string | getId () |
magic string | getName () |
magic Funds | getPriceSet () |
magic string | getProductId () |
magic array[] | getProperties () |
"hash" More... | |
magic int | getQuantity () |
magic string | getRequiresShipping () |
magic string | getSku () |
magic string | getTaxable () |
magic Tax[] | getTaxLines () |
magic string | getTitle () |
magic string | getTotalDiscount () |
magic Funds | getTotalDiscountSet () |
magic string | getVariantId () |
magic string | getVariantTitle () |
magic string | getVendor () |
magic bool | hasDiscountAllocations () |
magic bool | hasDuties () |
magic bool | hasProperties () |
magic bool | hasTaxLines () |
magic $this | setDiscountAllocations (DiscountAllocation[] $allocations) |
magic $this | setFulfillableQuantity (int $qty) |
magic $this | setFulfillmentService (string $service) |
magic $this | setFulfillmentStatus (string $status) |
magic $this | setGiftCard (string $card) |
magic $this | setGrams (string $grams) |
magic $this | setId (string $id) |
magic $this | setName (string $name) |
magic $this | setPriceSet (Funds $set) |
magic $this | setProductId (string $id) |
magic $this | setProperties (array[] $hash) |
magic $this | setQuantity (int $qty) |
magic $this | setRequiresShipping (string $shipping) |
magic $this | setSku (string $sku) |
magic $this | setTaxable (string $taxable) |
magic $this | setTaxLines (Tax[] $lines) |
magic $this | setTitle (string $title) |
magic $this | setTotalDiscount (string $discount) |
magic $this | setTotalDiscountSet (Funds $set) |
magic $this | setVariantId (string $id) |
magic $this | setVariantTitle (string $title) |
magic $this | setVendor (string $vendor) |
Public Methods inherited from Data | |
mixed | __call (string $method, array $args) |
__construct ($caller, array $data=[]) | |
string | serialize () |
Dehydrated JSON encode. More... | |
array | toArray () |
void | unserialize ($serialized) |
Additional Inherited Members | |
Protected Properties inherited from Data | |
Api | $api |
Pool | $pool |
Protected Methods inherited from Data | |
mixed | _hydrate (string $class, $item) |
A factory that also hydrates / caches entities. More... | |
array | _select ($subject, callable $filter,... $args) |
Magic method: selectField(callable $filter) More... | |
$this | _setData (array $data) |
Clears all diffs and sets all data, hydrating mapped fields. More... | |
$this | _setField (string $field, $value) |
Sets a value, hydrating if mapped, and clears the diff. More... | |
const MAP |
magic DiscountAllocation [] getDiscountAllocations | ( | ) |
magic int getFulfillableQuantity | ( | ) |
magic string getFulfillmentService | ( | ) |
magic string getFulfillmentStatus | ( | ) |
magic string getGiftCard | ( | ) |
magic string getGrams | ( | ) |
magic string getId | ( | ) |
magic string getName | ( | ) |
magic string getProductId | ( | ) |
magic array [] getProperties | ( | ) |
"hash"
magic int getQuantity | ( | ) |
magic string getRequiresShipping | ( | ) |
magic string getSku | ( | ) |
magic string getTaxable | ( | ) |
magic string getTitle | ( | ) |
magic string getTotalDiscount | ( | ) |
magic string getVariantId | ( | ) |
magic string getVariantTitle | ( | ) |
magic string getVendor | ( | ) |
magic bool hasDiscountAllocations | ( | ) |
magic bool hasDuties | ( | ) |
magic bool hasProperties | ( | ) |
magic bool hasTaxLines | ( | ) |
magic $this setDiscountAllocations | ( | DiscountAllocation[] | $allocations | ) |
magic $this setFulfillableQuantity | ( | int | $qty | ) |
magic $this setFulfillmentService | ( | string | $service | ) |
magic $this setFulfillmentStatus | ( | string | $status | ) |
magic $this setGiftCard | ( | string | $card | ) |
magic $this setGrams | ( | string | $grams | ) |
magic $this setId | ( | string | $id | ) |
magic $this setName | ( | string | $name | ) |
magic $this setProductId | ( | string | $id | ) |
magic $this setProperties | ( | array[] | $hash | ) |
magic $this setQuantity | ( | int | $qty | ) |
magic $this setRequiresShipping | ( | string | $shipping | ) |
magic $this setSku | ( | string | $sku | ) |
magic $this setTaxable | ( | string | $taxable | ) |
magic $this setTitle | ( | string | $title | ) |
magic $this setTotalDiscount | ( | string | $discount | ) |
magic $this setVariantId | ( | string | $id | ) |
magic $this setVariantTitle | ( | string | $title | ) |
magic $this setVendor | ( | string | $vendor | ) |