AbandonedCheckout
+ Inheritance diagram for AbandonedCheckout:

Description

Public Properties

const MAP
 
const SEARCH_STATUS_CLOSED = 'closed'
 
const SEARCH_STATUS_OPEN = 'open'
 
- Public Properties inherited from Data
const MAP = []
 
const PATCH = []
 

Public Methods

magic string getAbandonedCheckoutUrl ()
 
magic Address getBillingAddress ()
 
magic bool getBuyerAcceptsMarketing ()
 
magic string getCartToken ()
 
magic string getClosedAt ()
 
magic string getCreatedAt ()
 
magic string getCurrency ()
 
magic Customer getCustomer ()
 
magic string getCustomerLocale ()
 
magic int getDeviceId ()
 
Discount[] getDiscountCodes ()
 
magic string getEmail ()
 
magic string getLandingSite ()
 
magic OrderItem[] getLineItems ()
 
magic int getLocationId ()
 
magic string getNote ()
 
magic string getPhone ()
 
magic string getPresentmentCurrency ()
 
magic string getReferringSite ()
 
magic Address getShippingAddress ()
 
magic Shipping[] getShippingLines ()
 
magic string getSourceName ()
 
magic string getSubtotalPrice ()
 
magic Tax[] getTaxLines ()
 
magic string getToken ()
 
magic string getTotalDiscounts ()
 
magic string getTotalLineItemsPrice ()
 
magic string getTotalPrice ()
 
magic string getTotalTax ()
 
magic number getTotalWeight ()
 
magic string getUpdatedAt ()
 
magic string getUserId ()
 
magic bool hasTaxesIncluded ()
 
- 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)
 

Protected Methods

 _setData (array $data)
 Clears all diffs and sets all data, hydrating mapped fields. More...
 
- 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 _setField (string $field, $value)
 Sets a value, hydrating if mapped, and clears the diff. More...
 

Additional Inherited Members

- Protected Properties inherited from Data
Api $api
 
Pool $pool
 

Properties

◆ MAP

const MAP
Initial value:
= [
'billing_address' => Address::class,
'customer' => Customer::class,
'line_items' => [OrderItem::class],
'shipping_address' => Address::class,
'shipping_lines' => Shipping::class,
'tax_lines' => [Tax::class]
]

Methods

◆ _setData()

_setData ( array  $data)
protected

Clears all diffs and sets all data, hydrating mapped fields.

Parameters
array$data
Returns
$this

Reimplemented from Data.

◆ getAbandonedCheckoutUrl()

magic string getAbandonedCheckoutUrl ( )
Returns
string

◆ getBillingAddress()

magic Address getBillingAddress ( )
Returns
Address

◆ getBuyerAcceptsMarketing()

magic bool getBuyerAcceptsMarketing ( )
Returns
bool

◆ getCartToken()

magic string getCartToken ( )
Returns
string

◆ getClosedAt()

magic string getClosedAt ( )
Returns
string

◆ getCreatedAt()

magic string getCreatedAt ( )
Returns
string

◆ getCurrency()

magic string getCurrency ( )
Returns
string

◆ getCustomer()

magic Customer getCustomer ( )
Returns
Customer

◆ getCustomerLocale()

magic string getCustomerLocale ( )
Returns
string

◆ getDeviceId()

magic int getDeviceId ( )
Returns
int

◆ getDiscountCodes()

Discount [] getDiscountCodes ( )
Returns
Discount[]

◆ getEmail()

magic string getEmail ( )
Returns
string

◆ getLandingSite()

magic string getLandingSite ( )
Returns
string

◆ getLineItems()

magic OrderItem [] getLineItems ( )
Returns
OrderItem[]

◆ getLocationId()

magic int getLocationId ( )
Returns
int

◆ getNote()

magic string getNote ( )
Returns
string

◆ getPhone()

magic string getPhone ( )
Returns
string

◆ getPresentmentCurrency()

magic string getPresentmentCurrency ( )
Returns
string

◆ getReferringSite()

magic string getReferringSite ( )
Returns
string

◆ getShippingAddress()

magic Address getShippingAddress ( )
Returns
Address

◆ getShippingLines()

magic Shipping [] getShippingLines ( )
Returns
Shipping[]

◆ getSourceName()

magic string getSourceName ( )
Returns
string

◆ getSubtotalPrice()

magic string getSubtotalPrice ( )
Returns
string

◆ getTaxLines()

magic Tax [] getTaxLines ( )
Returns
Tax[]

◆ getToken()

magic string getToken ( )
Returns
string

◆ getTotalDiscounts()

magic string getTotalDiscounts ( )
Returns
string

◆ getTotalLineItemsPrice()

magic string getTotalLineItemsPrice ( )
Returns
string

◆ getTotalPrice()

magic string getTotalPrice ( )
Returns
string

◆ getTotalTax()

magic string getTotalTax ( )
Returns
string

◆ getTotalWeight()

magic number getTotalWeight ( )
Returns
number

◆ getUpdatedAt()

magic string getUpdatedAt ( )
Returns
string

◆ getUserId()

magic string getUserId ( )
Returns
string

◆ hasTaxesIncluded()

magic bool hasTaxesIncluded ( )
Returns
bool