OnGetShippingInfoEvent
in package
implements
OnGetShippingInfoEventInterface
Uses
SellingUnitEventTrait
Class OnGetShippingInfoEvent
Interfaces, Classes and Traits
- OnGetShippingInfoEventInterface
- Interface OnGetShippingInfoEventInterface
Table of Contents
- $builder : ShippingBuilderInterface
- $product : ProductDataInterface
- $xtcPrice : xtcPrice_ORIGIN
- $id : SellingUnitId
- $price : Price
- __construct() : mixed
- OnSellingUnitCreateEvent constructor.
- builder() : ShippingBuilderInterface
- id() : SellingUnitId
- price() : Price
- product() : ProductDataInterface
- xtcPrice() : PriceDataInterface|null
- createBuilder() : ShippingBuilder
Properties
$builder
protected
ShippingBuilderInterface
$builder
$product
protected
ProductDataInterface
$product
$xtcPrice
protected
xtcPrice_ORIGIN
$xtcPrice
$id
private
SellingUnitId
$id
$price
private
Price
$price
Methods
__construct()
OnSellingUnitCreateEvent constructor.
public
__construct(SellingUnitId $id, ProductDataInterface $product, Price $price[, ShippingBuilderInterface|null $builder = null ]) : mixed
Parameters
- $id : SellingUnitId
- $product : ProductDataInterface
- $price : Price
- $builder : ShippingBuilderInterface|null = null
Return values
mixed —builder()
public
builder() : ShippingBuilderInterface
Tags
Return values
ShippingBuilderInterface —id()
public
id() : SellingUnitId
Return values
SellingUnitId —price()
public
price() : Price
Tags
Return values
Price —product()
public
product() : ProductDataInterface
Return values
ProductDataInterface —xtcPrice()
public
xtcPrice() : PriceDataInterface|null
Tags
Return values
PriceDataInterface|null —createBuilder()
protected
createBuilder() : ShippingBuilder