ShippingProvider
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
__construct()
Constructor
integer
getId()
No description
setId(int $id)
No description
float
getPrice()
No description
setPrice(float $price)
No description
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)
in Shipping at line 69
string
getShippingName()
in Shipping at line 77
ShippingInterface
setShippingType(string $type)
in Shipping at line 85
string
getShippingType()
in Shipping at line 93
null|string
getCode()
in Shipping at line 113
string
getName()
in Shipping at line 133
string
getType()
at line 90
__construct()
Constructor
at line 98
integer
getId()
at line 108
ShippingProvider
setId(int $id)
at line 118
float
getPrice()
at line 128
ShippingProvider
setPrice(float $price)
at line 138
Image|null
getImage()
at line 148
ShippingProvider
setImage(Image|null $image)
at line 163
ShippingProvider
addOrder(Order $order)
Add order
at line 181
ShippingProvider
removeOrder(Order $order)
Remove Order
at line 193
ArrayCollection
getOrders()
Get orders
at line 201
null|string
getDescription()
at line 211
ShippingProvider
setDescription(null|string $description)
at line 226
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
at line 249
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object