Carrier
in package
Tags
Table of Contents
- CARRIER_BY_ID_NOT_EXIST = 'Nie ma przewoźnika pod tym numerem id'
- CARRIERS_NOT_EXIST = 'Nie ma przewoźników zdefiniowanych w systemie'
- SUCCESS_CARRIER_EDIT = 'Dane Przewoźnika został zmienione pomyślnie.'
- SUCCESS_CARRIER_INSERT = 'Przewoźnik został dodany pomyślnie.'
- $company : mixed
- $dueDate : mixed
- $email : mixed
- $fax : mixed
- $id : mixed
- $isCarrier : mixed
- $name : mixed
- $orders : mixed
- $phoneNumber : mixed
- $secondPhoneNumber : mixed
- $shortName : mixed
- $www : mixed
- __construct() : mixed
- __toString() : mixed
- addOrder() : self
- getCompany() : Company|null
- getDueDate() : int|null
- getEmail() : string|null
- getFax() : string|null
- getId() : int|null
- getIsCarrier() : bool|null
- getName() : string|null
- getOrders() : Collection|array<string|int, Order>
- getPhoneNumber() : int|null
- getSecondPhoneNumber() : int|null
- getShortName() : string|null
- getWww() : string|null
- removeOrder() : self
- setCompany() : mixed
- setDueDate() : self
- setEmail() : self
- setFax() : self
- setIsCarrier() : self
- setName() : self
- setPhoneNumber() : self
- setSecondPhoneNumber() : self
- setShortName() : self
- setWww() : self
Constants
CARRIER_BY_ID_NOT_EXIST
public
mixed
CARRIER_BY_ID_NOT_EXIST
= 'Nie ma przewoźnika pod tym numerem id'
CARRIERS_NOT_EXIST
public
mixed
CARRIERS_NOT_EXIST
= 'Nie ma przewoźników zdefiniowanych w systemie'
SUCCESS_CARRIER_EDIT
public
mixed
SUCCESS_CARRIER_EDIT
= 'Dane Przewoźnika został zmienione pomyślnie.'
SUCCESS_CARRIER_INSERT
public
mixed
SUCCESS_CARRIER_INSERT
= 'Przewoźnik został dodany pomyślnie.'
Properties
$company
private
mixed
$company
Tags
$dueDate
private
mixed
$dueDate
Tags
private
mixed
$email
Tags
$fax
private
mixed
$fax
Tags
$id
private
mixed
$id
Tags
$isCarrier
private
mixed
$isCarrier
Tags
$name
private
mixed
$name
Tags
$orders
private
mixed
$orders
Tags
$phoneNumber
private
mixed
$phoneNumber
Tags
$secondPhoneNumber
private
mixed
$secondPhoneNumber
Tags
$shortName
private
mixed
$shortName
Tags
$www
private
mixed
$www
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addOrder()
public
addOrder(Order $order) : self
Parameters
- $order : Order
Return values
self —getCompany()
public
getCompany() : Company|null
Return values
Company|null —getDueDate()
public
getDueDate() : int|null
Return values
int|null —getEmail()
public
getEmail() : string|null
Return values
string|null —getFax()
public
getFax() : string|null
Return values
string|null —getId()
public
getId() : int|null
Return values
int|null —getIsCarrier()
public
getIsCarrier() : bool|null
Return values
bool|null —getName()
public
getName() : string|null
Return values
string|null —getOrders()
public
getOrders() : Collection|array<string|int, Order>
Return values
Collection|array<string|int, Order> —getPhoneNumber()
public
getPhoneNumber() : int|null
Return values
int|null —getSecondPhoneNumber()
public
getSecondPhoneNumber() : int|null
Return values
int|null —getShortName()
public
getShortName() : string|null
Return values
string|null —getWww()
public
getWww() : string|null
Return values
string|null —removeOrder()
public
removeOrder(Order $order) : self
Parameters
- $order : Order
Return values
self —setCompany()
public
setCompany([Company $company = null ]) : mixed
Parameters
- $company : Company = null
Return values
mixed —setDueDate()
public
setDueDate(int $dueDate) : self
Parameters
- $dueDate : int
Return values
self —setEmail()
public
setEmail(string $email) : self
Parameters
- $email : string
Return values
self —setFax()
public
setFax(string $fax) : self
Parameters
- $fax : string
Return values
self —setIsCarrier()
public
setIsCarrier(bool $isCarrier) : self
Parameters
- $isCarrier : bool
Return values
self —setName()
public
setName(string $name) : self
Parameters
- $name : string
Return values
self —setPhoneNumber()
public
setPhoneNumber(int $phoneNumber) : self
Parameters
- $phoneNumber : int
Return values
self —setSecondPhoneNumber()
public
setSecondPhoneNumber(int $secondPhoneNumber) : self
Parameters
- $secondPhoneNumber : int
Return values
self —setShortName()
public
setShortName(string $shortName) : self
Parameters
- $shortName : string
Return values
self —setWww()
public
setWww(string $www) : self
Parameters
- $www : string