ShippingService

Namespace

IO\Services

Properties
Type Name Description

Checkout

$checkout

string

$pluginNamespace

Methods
public __construct($checkout)

ShippingService constructor.

Parameters

Type

Name

Description

Checkout

$checkout

public setShippingProfileId($shippingProfileId)

Set the ID of the current shipping profile

Parameters

Type

Name

Description

int

$shippingProfileId

public getMaxDeliveryDays():array

Return an array of shipping profile ids as keys and max delivery days as values