Copied!

CostCalculationException

CostCalculationException.php : 14
Extends RuntimeException

Methods

public__construct()

CostCalculationException.php : 18
public __construct(ShippingMethodInterface $method[, string $message = '' ][, int $code = 0 ][, Throwable $previous = null ])

Parameters

Name Type Default value Description
$method ShippingMethodInterface - -
$message string '' -
$code int 0 -
$previous Throwable null -

publicgetMethod()

CostCalculationException.php : 37
public getMethod() : ShippingMethodInterface

Return values

ShippingMethodInterface