Table of Contents
Constants
-
ABANDONED
= 'abandoned'
-
ANALYSIS
= 'analysis'
-
APPROVED
= 'approved'
-
BILLET_PRINTED
= 'billet_printed'
-
BLOCKED
= 'blocked'
-
CANCELED
= 'canceled'
-
CHARGEBACK
= 'chargeback'
-
COMPLETED
= 'completed'
-
DELAYED
= 'delayed'
-
DISPUTE
= 'dispute'
-
EXPIRED
= 'expired'
-
IN_RECOVERY
= 'in_recovery'
-
ORDER_FIELDNAME
= 'id'
-
ORDER_ID_META
= 'order_id'
-
PERPAGE
= 15
-
PRODUCT_FIELDNAME
= 'marketplace_id'
-
REFUNDED
= 'refunded'
-
REJECTED
= 'rejected'
-
SCHEDULED
= 'scheduled'
-
STARTED
= 'started'
-
TRIAL
= 'trial'
-
WAITING_PAYMENT
= 'waiting_payment'
Properties
-
$order
: mixed
Methods
-
__construct()
: mixed
-
create_and_update_user()
: mixed
-
create_or_update()
: ecommerce_orders|false
-
create_order_note()
: mixed
-
custom_array_merge()
: array<string|int, mixed>
-
display_ecommerce_status()
: mixed
-
display_products()
: string
-
enrol()
: mixed
-
execute()
: void
-
get_all_orders()
: mixed
-
get_class_orders_service()
: self
-
get_courses_by_line_items()
: mixed
-
get_customer()
: stdClass
-
get_options_order_status()
: array<string|int, mixed>
-
get_order()
: mixed
-
get_order_by_id()
: mixed
-
get_order_fields()
: stdClass
-
get_site()
: ecommerce_sites
-
get_status_name()
: mixed
-
pre_process()
: mixed
-
process()
: mixed
-
send_email_order()
: void
-
sync()
: mixed
-
unenrol()
: mixed
-
validate()
: mixed
-
get_orders()
: array<string|int, mixed>
ABANDONED
public
mixed
ABANDONED
= 'abandoned'
ANALYSIS
public
mixed
ANALYSIS
= 'analysis'
APPROVED
public
mixed
APPROVED
= 'approved'
BILLET_PRINTED
public
mixed
BILLET_PRINTED
= 'billet_printed'
BLOCKED
public
mixed
BLOCKED
= 'blocked'
CANCELED
public
mixed
CANCELED
= 'canceled'
CHARGEBACK
public
mixed
CHARGEBACK
= 'chargeback'
COMPLETED
public
mixed
COMPLETED
= 'completed'
DELAYED
public
mixed
DELAYED
= 'delayed'
DISPUTE
public
mixed
DISPUTE
= 'dispute'
EXPIRED
public
mixed
EXPIRED
= 'expired'
IN_RECOVERY
public
mixed
IN_RECOVERY
= 'in_recovery'
ORDER_FIELDNAME
public
mixed
ORDER_FIELDNAME
= 'id'
public
mixed
ORDER_ID_META
= 'order_id'
PERPAGE
public
mixed
PERPAGE
= 15
PRODUCT_FIELDNAME
public
mixed
PRODUCT_FIELDNAME
= 'marketplace_id'
REFUNDED
public
mixed
REFUNDED
= 'refunded'
REJECTED
public
mixed
REJECTED
= 'rejected'
SCHEDULED
public
mixed
SCHEDULED
= 'scheduled'
STARTED
public
mixed
STARTED
= 'started'
TRIAL
public
mixed
TRIAL
= 'trial'
WAITING_PAYMENT
public
mixed
WAITING_PAYMENT
= 'waiting_payment'
$order
public
mixed
$order
__construct()
public
__construct(mixed $order) : mixed
Parameters
-
$order
: mixed
-
create_and_update_user()
public
create_and_update_user() : mixed
create_or_update()
public
create_or_update(mixed $siteid, mixed $order) : ecommerce_orders|false
Parameters
-
$siteid
: mixed
-
-
$order
: mixed
-
create_order_note()
public
create_order_note(mixed $param) : mixed
Parameters
-
$param
: mixed
-
custom_array_merge()
public
static custom_array_merge(array<string|int, mixed> $default, mixed $newarray) : array<string|int, mixed>
Parameters
-
$default
: array<string|int, mixed>
-
-
$newarray
: mixed
-
Return values
array<string|int, mixed>
display_ecommerce_status()
public
display_ecommerce_status() : mixed
display_products()
public
display_products() : string
enrol()
public
enrol() : mixed
execute()
public
execute(mixed $oldstatus, mixed $newstatus) : void
Parameters
-
$oldstatus
: mixed
-
-
$newstatus
: mixed
-
get_all_orders()
public
final static get_all_orders([array<string|int, mixed> $params = [] ][, mixed $page = 0 ][, mixed $search = '' ]) : mixed
Parameters
-
$params
: array<string|int, mixed>
= []
-
-
$page
: mixed
= 0
-
-
$search
: mixed
= ''
-
get_class_orders_service()
public
static get_class_orders_service(mixed $order) : self
Parameters
-
$order
: mixed
-
get_courses_by_line_items()
public
get_courses_by_line_items(mixed $site) : mixed
Parameters
-
$site
: mixed
-
get_customer()
public
static get_customer(digitalmanagerguru_orders $params) : stdClass
Parameters
-
$params
: digitalmanagerguru_orders
-
get_options_order_status()
public
static get_options_order_status([mixed $any = false ]) : array<string|int, mixed>
Parameters
-
$any
: mixed
= false
-
Return values
array<string|int, mixed>
get_order()
public
static get_order(mixed $siteid, mixed $orderid) : mixed
Parameters
-
$siteid
: mixed
-
-
$orderid
: mixed
-
get_order_by_id()
public
static get_order_by_id(mixed $orderid) : mixed
Parameters
-
$orderid
: mixed
-
get_order_fields()
public
static get_order_fields(digitalmanagerguru_orders $params) : stdClass
Parameters
-
$params
: digitalmanagerguru_orders
-
get_site()
public
get_site() : ecommerce_sites
get_status_name()
public
get_status_name() : mixed
pre_process()
public
static pre_process(mixed $siteid, mixed $order) : mixed
Parameters
-
$siteid
: mixed
-
-
$order
: mixed
-
process()
public
static process(mixed $orderid) : mixed
Parameters
-
$orderid
: mixed
-
send_email_order()
public
static send_email_order(mixed $param) : void
Parameters
-
$param
: mixed
-
sync()
public
sync() : mixed
unenrol()
public
unenrol() : mixed
validate()
public
validate() : mixed
get_orders()
protected
final static get_orders(mixed $searchcriteria, mixed &$totalcount[, mixed $page = 0 ][, mixed $per_page = self::PERPAGE ]) : array<string|int, mixed>
Parameters
-
$searchcriteria
: mixed
-
-
$totalcount
: mixed
-
-
$page
: mixed
= 0
-
-
$per_page
: mixed
= self::PERPAGE
-
Return values
array<string|int, mixed>