A shipping line.
Public Properties | |
const | MAP |
Public Properties inherited from Data | |
const | MAP = [] |
const | PATCH = [] |
Public Methods | |
magic string | getCarrierIdentifier () |
@only Order More... | |
magic string | getCode () |
@only Order More... | |
magic string | getDiscountedPrice () |
@only Order More... | |
magic Funds | getDiscountedPriceSet () |
@only Order More... | |
magic string | getHandle () |
@only DraftOrder More... | |
magic string | getPrice () |
magic Funds | getPriceSet () |
@only Order More... | |
magic string | getRequestedFulfillmentServiceId () |
@only Order More... | |
magic string | getSource () |
@only Order More... | |
magic Tax[] | getTaxLines () |
@only Order More... | |
magic string | getTitle () |
magic bool | isCustom () |
@only DraftOrder More... | |
magic $this | setCode (string $code) |
@only Order More... | |
magic $this | setCustom (bool $custom) |
@only DraftOrder More... | |
magic $this | setDiscountedPrice (string $price) |
@only Order More... | |
magic $this | setHandle (string $handle) |
@only DraftOrder More... | |
magic $this | setPrice (string $price) |
magic $this | setTitle (string $title) |
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 string getCarrierIdentifier | ( | ) |
@only Order
magic string getCode | ( | ) |
@only Order
magic string getDiscountedPrice | ( | ) |
@only Order
magic string getHandle | ( | ) |
@only DraftOrder
magic string getPrice | ( | ) |
magic string getRequestedFulfillmentServiceId | ( | ) |
@only Order
magic string getSource | ( | ) |
@only Order
magic string getTitle | ( | ) |
magic bool isCustom | ( | ) |
@only DraftOrder
magic $this setCustom | ( | bool | $custom | ) |
@only DraftOrder
magic $this setHandle | ( | string | $handle | ) |
@only DraftOrder
magic $this setPrice | ( | string | $price | ) |
magic $this setTitle | ( | string | $title | ) |