class ShippingProvider extends Shipping implements PrimaryKeyInterface, Serializable

ShippingProvider

Properties

protected string $name Shipping provider name from Shipping
protected string $type Shipping provider type from Shipping
protected string|null $code Shipping provider code from Shipping
protected int $id
protected float $price Shipping price
protected string|null $description Shipping description
protected ArrayCollection $orders Orders for specific shipping
protected Image|null $image Shipping image

Methods

setShippingName(string $name)

No description

from Shipping
string
getShippingName()

No description

from Shipping
setShippingType(string $type)

No description

from Shipping
string
getShippingType()

No description

from Shipping
null|string
getCode()

No description

from Shipping
setCode(string $code)

No description

from Shipping
string
getName()

No description

from Shipping
setName(string $name)

No description

from Shipping
string
getType()

No description

from Shipping
setType(string $type)

No description

from Shipping
__construct()

Constructor

integer
getId()

No description

setId(int $id)

No description

float
getPrice()

No description

setPrice(float $price)

No description

Image|null
getImage()

No description

setImage(Image|null $image)

No description

addOrder(Order $order)

Add order

removeOrder(Order $order)

Remove Order

ArrayCollection
getOrders()

Get orders

null|string
getDescription()

No description

setDescription(null|string $description)

No description

string
serialize()

(PHP 5 >= 5.1.0)
String representation of object

void
unserialize(string $serialized)

(PHP 5 >= 5.1.0)
Constructs the object

Details

in Shipping at line 61
ShippingInterface setShippingName(string $name)

Parameters

string $name

Return Value

ShippingInterface

in Shipping at line 69
string getShippingName()

Return Value

string

in Shipping at line 77
ShippingInterface setShippingType(string $type)

Parameters

string $type

Return Value

ShippingInterface

in Shipping at line 85
string getShippingType()

Return Value

string

in Shipping at line 93
null|string getCode()

Return Value

null|string

in Shipping at line 103
Shipping setCode(string $code)

Parameters

string $code

Return Value

Shipping

in Shipping at line 113
string getName()

Return Value

string

in Shipping at line 123
Shipping setName(string $name)

Parameters

string $name

Return Value

Shipping

in Shipping at line 133
string getType()

Return Value

string

in Shipping at line 143
Shipping setType(string $type)

Parameters

string $type

Return Value

Shipping

at line 90
__construct()

Constructor

at line 98
integer getId()

Return Value

integer

at line 108
ShippingProvider setId(int $id)

Parameters

int $id

Return Value

ShippingProvider

at line 118
float getPrice()

Return Value

float

at line 128
ShippingProvider setPrice(float $price)

Parameters

float $price

Return Value

ShippingProvider

at line 138
Image|null getImage()

Return Value

Image|null

at line 148
ShippingProvider setImage(Image|null $image)

Parameters

Image|null $image

Return Value

ShippingProvider

at line 163
ShippingProvider addOrder(Order $order)

Add order

Parameters

Order $order

Return Value

ShippingProvider

at line 181
ShippingProvider removeOrder(Order $order)

Remove Order

Parameters

Order $order

Return Value

ShippingProvider

at line 193
ArrayCollection getOrders()

Get orders

Return Value

ArrayCollection

at line 201
null|string getDescription()

Return Value

null|string

at line 211
ShippingProvider setDescription(null|string $description)

Parameters

null|string $description

Return Value

ShippingProvider

at line 226
string serialize()

(PHP 5 >= 5.1.0)
String representation of object

Return Value

string the string representation of the object or null

at line 249
void unserialize(string $serialized)

(PHP 5 >= 5.1.0)
Constructs the object

Parameters

string $serialized The string representation of the object.

Return Value

void