BConnect POS - Reference PHP

Supplier
in package

Attributes
#[Entity]
$repositoryClass: \App\Repository\SupplierRepository::class

Table of Contents

Properties

$adresse  : string|null
$archive_status  : bool|null
$city  : string|null
$country  : string|null
$created_at  : DateTimeImmutable|null
$email  : string|null
$fieldOfActivity  : FieldOfActivity|null
$id  : int|null
$logo  : mixed
$name  : string|null
$payment_terms  : string|null
$phone_number  : PhoneNumber|null
$pointOfSaleId  : int|null
$products  : Collection
$productStocks  : Collection
$site_web  : string|null
$status_supplier  : string|null
$updated_at  : DateTimeImmutable|null

Methods

__construct()  : mixed
addProduct()  : static
addProductStock()  : static
getAdresse()  : string|null
getCity()  : string|null
getCountry()  : string|null
getEmail()  : string|null
getFieldOfActivity()  : FieldOfActivity|null
getId()  : int|null
getLogo()  : mixed
getName()  : string|null
getPaymentTerms()  : string|null
getPhoneNumber()  : PhoneNumber|null
getPointOfSaleId()  : int|null
getProducts()  : Collection<int, Product>
getProductStocks()  : Collection<int, ProductStock>
getSiteWeb()  : string|null
getStatusSupplier()  : string|null
isArchiveStatus()  : bool|null
removeProduct()  : static
removeProductStock()  : static
setAdresse()  : static
setArchiveStatus()  : static
setCity()  : static
setCountry()  : static
setEmail()  : static
setFieldOfActivity()  : static
setLogo()  : static
setName()  : static
setPaymentTerms()  : static
setPhoneNumber()  : static
setPointOfSaleId()  : static
setSiteWeb()  : static
setStatusSupplier()  : static

Properties

$adresse

private string|null $adresse = null
Attributes
#[Column]
$length: 255

$archive_status

private bool|null $archive_status = null
Attributes
#[Column]
$nullable: true

$city

private string|null $city = null
Attributes
#[Column]
$length: 255

$country

private string|null $country = null
Attributes
#[Column]
$length: 255

$created_at

private DateTimeImmutable|null $created_at = null
Attributes
#[Column]

$email

private string|null $email = null
Attributes
#[Column]
$length: 255
$nullable: true

$fieldOfActivity

private FieldOfActivity|null $fieldOfActivity = null
Attributes
#[ManyToOne]
$inversedBy: 'suppliers'

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]
private mixed $logo = null
Attributes
#[Column]
$type: \Doctrine\DBAL\Types\Types::BLOB
$nullable: true

$name

private string|null $name = null
Attributes
#[Column]
$length: 255

$payment_terms

private string|null $payment_terms = null
Attributes
#[Column]
$length: 255
$nullable: true

$phone_number

private PhoneNumber|null $phone_number = null
Attributes
#[Column]
$type: "phone_number"
$length: 255
$nullable: true

$pointOfSaleId

private int|null $pointOfSaleId = null
Attributes
#[Column]

$products

private Collection $products
Attributes
#[OneToMany]
$mappedBy: 'supplier'
$targetEntity: \App\Entity\Product::class

$productStocks

private Collection $productStocks
Attributes
#[OneToMany]
$mappedBy: 'supplier'
$targetEntity: \App\Entity\ProductStock::class

$site_web

private string|null $site_web = null
Attributes
#[Column]
$length: 255
$nullable: true

$status_supplier

private string|null $status_supplier = null
Attributes
#[Column]
$length: 255

$updated_at

private DateTimeImmutable|null $updated_at = null
Attributes
#[Column]

Methods

__construct()

public __construct() : mixed

addProduct()

public addProduct(Product $product) : static
Parameters
$product : Product
Return values
static

getAdresse()

public getAdresse() : string|null
Return values
string|null

getCity()

public getCity() : string|null
Return values
string|null

getCountry()

public getCountry() : string|null
Return values
string|null

getEmail()

public getEmail() : string|null
Return values
string|null

getId()

public getId() : int|null
Return values
int|null

getName()

public getName() : string|null
Return values
string|null

getPaymentTerms()

public getPaymentTerms() : string|null
Return values
string|null

getPhoneNumber()

public getPhoneNumber() : PhoneNumber|null
Return values
PhoneNumber|null

getPointOfSaleId()

public getPointOfSaleId() : int|null
Return values
int|null

getSiteWeb()

public getSiteWeb() : string|null
Return values
string|null

getStatusSupplier()

public getStatusSupplier() : string|null
Return values
string|null

isArchiveStatus()

public isArchiveStatus() : bool|null
Return values
bool|null

removeProduct()

public removeProduct(Product $product) : static
Parameters
$product : Product
Return values
static

setAdresse()

public setAdresse(string $adresse) : static
Parameters
$adresse : string
Return values
static

setArchiveStatus()

public setArchiveStatus(bool|null $archive_status) : static
Parameters
$archive_status : bool|null
Return values
static

setCity()

public setCity(string $city) : static
Parameters
$city : string
Return values
static

setCountry()

public setCountry(string $country) : static
Parameters
$country : string
Return values
static

setEmail()

public setEmail(string $email) : static
Parameters
$email : string
Return values
static
public setLogo(mixed $logo) : static
Parameters
$logo : mixed
Return values
static

setName()

public setName(string $name) : static
Parameters
$name : string
Return values
static

setPaymentTerms()

public setPaymentTerms(string $payment_terms) : static
Parameters
$payment_terms : string
Return values
static

setPhoneNumber()

public setPhoneNumber(PhoneNumber|null $phone_number) : static
Parameters
$phone_number : PhoneNumber|null
Return values
static

setPointOfSaleId()

public setPointOfSaleId(int $pointOfSaleId) : static
Parameters
$pointOfSaleId : int
Return values
static

setSiteWeb()

public setSiteWeb(string $site_web) : static
Parameters
$site_web : string
Return values
static

setStatusSupplier()

public setStatusSupplier(string $status_supplier) : static
Parameters
$status_supplier : string
Return values
static
On this page

Search results