BConnect POS - Reference PHP

ConfigApp
in package

Attributes
#[ApiResource]
$operations: [new \ApiPlatform\Metadata\Post()]
$normalizationContext: ['groups' => ['config:read']]
$denormalizationContext: ['groups' => ['config:write']]
#[Entity]
$repositoryClass: \App\Repository\ConfigAppRepository::class

Table of Contents

Constants

RECEIPT_FORMAT_A4  : mixed = 'a4'
RECEIPT_FORMAT_THERMAL  : mixed = 'thermal'

Properties

$address  : string|null
$businessUser  : string|null
$city  : string|null
$country  : string|null
$email  : string|null
$id  : int|null
$logo  : string|null
$name  : string|null
$phone_number  : PhoneNumber|null
$pointOfSale  : int|null
$rccm  : string|null
$receiptFormat  : string|null

Methods

getAddress()  : string|null
getBusinessUser()  : string|null
getCity()  : string|null
getCountry()  : string|null
getEmail()  : string|null
getId()  : int|null
getLogo()  : string|null
getName()  : string|null
getPhoneNumber()  : PhoneNumber|null
getPointOfSale()  : int|null
getRccm()  : string|null
getReceiptFormat()  : string|null
setAddress()  : static
setBusinessUser()  : static
setCity()  : static
setCountry()  : static
setEmail()  : static
setLogo()  : static
setName()  : static
setPhoneNumber()  : static
setPointOfSale()  : static
setRccm()  : static
setReceiptFormat()  : static

Constants

RECEIPT_FORMAT_A4

public mixed RECEIPT_FORMAT_A4 = 'a4'

RECEIPT_FORMAT_THERMAL

public mixed RECEIPT_FORMAT_THERMAL = 'thermal'

Properties

$address

private string|null $address = null
Attributes
#[Column]
$length: 255
#[Groups]
['config:read', 'config:write']

$businessUser

private string|null $businessUser = null
Attributes
#[Column]
$length: 255
$nullable: true
#[Groups]
['config:read', 'config:write']

$city

private string|null $city = null
Attributes
#[Column]
$length: 255
#[Groups]
['config:read', 'config:write']

$country

private string|null $country = null
Attributes
#[Column]
$length: 255
#[Groups]
['config:read', 'config:write']

$email

private string|null $email = null
Attributes
#[Column]
$length: 255
$nullable: false
#[Groups]
['config:read', 'config:write']

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]
private string|null $logo = null
Attributes
#[Column]
$length: 255
$nullable: true

$name

private string|null $name = null
Attributes
#[Column]
$length: 255
#[Groups]
['config:read', 'config:write']

$phone_number

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

$pointOfSale

private int|null $pointOfSale = null
Attributes
#[Column]
#[Groups]
['config:read', 'config:write']

$rccm

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

$receiptFormat

private string|null $receiptFormat = self::RECEIPT_FORMAT_THERMAL
Attributes
#[Column]
$length: 20
$options: ['default' => self::RECEIPT_FORMAT_THERMAL]

Methods

getAddress()

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

getBusinessUser()

public getBusinessUser() : 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
public getLogo() : string|null
Return values
string|null

getName()

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

getPhoneNumber()

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

getPointOfSale()

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

getRccm()

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

getReceiptFormat()

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

setAddress()

public setAddress(string $address) : static
Parameters
$address : string
Return values
static

setBusinessUser()

public setBusinessUser(string $businessUser) : static
Parameters
$businessUser : string
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|null $email) : static
Parameters
$email : string|null
Return values
static
public setLogo(string|null $logo) : static
Parameters
$logo : string|null
Return values
static

setName()

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

setPhoneNumber()

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

setPointOfSale()

public setPointOfSale(int $pointOfSale) : static
Parameters
$pointOfSale : int
Return values
static

setRccm()

public setRccm(string|null $rccm) : static
Parameters
$rccm : string|null
Return values
static

setReceiptFormat()

public setReceiptFormat(string $receiptFormat) : static
Parameters
$receiptFormat : string
Return values
static
On this page

Search results