Menu

## WC_Shipping_Shipcloud_Order_Labels_Bulk
in package

class-wc-shipping-shipcloud-order-labels-bulk.php : 16

### Table of Contents

$allowed_carriers : mixed
$order : mixed
$label_form : mixed
$shipcloud_api : mixed
$template_file : mixed
__construct() : mixed
  Create new bulk view.
additional_services_form() : mixed
dispatch() : mixed
  Send content to client.
get_allowed_carriers() : array<string|int, string>
  Associative array of carrier id and display name.
get_order() : WC_Shipcloud_Order
get_parcel_templates() : mixed
get_services() : array<string|int, string>
  Associative array of service id and labels.
get_shipcloud_api() : Woocommerce_Shipcloud_API
parcel_form_html() : mixed
parcel_templates_html() : mixed
render() : string
  Pre-render content.
email_notification_enabled() : mixed
get_global_reference_number() : mixed
get_template_file() : mixed
add_admin_notice() : void
  Output an admin notice.
get_option() : mixed|string
  Getting option (overwrite instance values if there option of instance is empty
log() : void
  Output a debug message.

### Properties

#### $allowed_carriers

class-wc-shipping-shipcloud-order-labels-bulk.php : 18
`protected mixed $allowed_carriers`

#### $order

class-wc-shipping-shipcloud-order-labels-bulk.php : 20
`protected mixed $order`

#### $label_form

class-wc-shipping-shipcloud-order-labels-bulk.php : 26
`private mixed $label_form`

#### $shipcloud_api

class-wc-shipping-shipcloud-order-labels-bulk.php : 22
`private mixed $shipcloud_api`

#### $template_file

class-wc-shipping-shipcloud-order-labels-bulk.php : 24
`private mixed $template_file`

### Methods

#### __construct()

class-wc-shipping-shipcloud-order-labels-bulk.php : 36

Create new bulk view.

`public __construct(string $template_file, WC_Shipcloud_Order $order) : mixed`

##### Parameters

$template_file : string

  Path to the template.

$order : WC_Shipcloud_Order

##### Return values

mixed —

#### additional_services_form()

class-wc-shipping-shipcloud-order-labels-bulk.php : 136
`public additional_services_form() : mixed`

##### Return values

mixed —

#### dispatch()

class-wc-shipping-shipcloud-order-labels-bulk.php : 100

Send content to client.

`public dispatch() : mixed`

##### Return values

mixed —

#### get_allowed_carriers()

class-wc-shipping-shipcloud-order-labels-bulk.php : 58

Associative array of carrier id and display name.

`public get_allowed_carriers() : array<string|int, string>`

##### Return values

array<string|int, string> —

#### get_order()

class-wc-shipping-shipcloud-order-labels-bulk.php : 81
`public get_order() : WC_Shipcloud_Order`

##### Return values

WC_Shipcloud_Order —

#### get_parcel_templates()

class-wc-shipping-shipcloud-order-labels-bulk.php : 111
`public get_parcel_templates() : mixed`

##### Return values

mixed —

#### get_services()

class-wc-shipping-shipcloud-order-labels-bulk.php : 67

Associative array of service id and labels.

`public get_services() : array<string|int, string>`

##### Return values

array<string|int, string> —

#### get_shipcloud_api()

class-wc-shipping-shipcloud-order-labels-bulk.php : 74
`public get_shipcloud_api() : Woocommerce_Shipcloud_API`

##### Return values

Woocommerce_Shipcloud_API —

#### parcel_form_html()

class-wc-shipping-shipcloud-order-labels-bulk.php : 123
`public parcel_form_html() : mixed`

##### Return values

mixed —

#### parcel_templates_html()

class-wc-shipping-shipcloud-order-labels-bulk.php : 115
`public parcel_templates_html() : mixed`

##### Return values

mixed —

#### render()

class-wc-shipping-shipcloud-order-labels-bulk.php : 90

Pre-render content.

`public render() : string`

##### Return values

string —

#### email_notification_enabled()

class-wc-shipping-shipcloud-order-labels-bulk.php : 128
`protected email_notification_enabled() : mixed`

##### Return values

mixed —

#### get_global_reference_number()

class-wc-shipping-shipcloud-order-labels-bulk.php : 132
`protected get_global_reference_number() : mixed`

##### Return values

mixed —

#### get_template_file()

class-wc-shipping-shipcloud-order-labels-bulk.php : 107
`protected get_template_file() : mixed`

##### Return values

mixed —

#### add_admin_notice()

class-wc-shipping-shipcloud-order-labels-bulk.php : 165

Output an admin notice.

`private add_admin_notice(string $message[, string $type = 'info' ][, bool $dismissible = true ]) : void`

##### Parameters

$message : string

  Debug message.

$type : string = 'info'

  Message type.

$dismissible : bool = true

  Message type.

##### Return values

void —

#### get_option()

class-wc-shipping-shipcloud-order-labels-bulk.php : 153

Getting option (overwrite instance values if there option of instance is empty

`private get_option(string $key[, null $empty_value = null ]) : mixed|string`

##### Parameters

$key : string
$empty_value : null = null

##### Return values

mixed|string —

#### log()

class-wc-shipping-shipcloud-order-labels-bulk.php : 177

Output a debug message.

`private log(string $message[, string $level = 'info' ][, mixed $context = [] ]) : void`

##### Parameters

$message : string

  Debug message.

$level : string = 'info'

  Debug level.

$context : mixed = []

  The Debug context.

##### Return values

void —

## Search results