Informations about a card brand.
| package |
Default |
|---|
__construct(string $name, string $image, string|null $codeName = null)
stringName of the brand of a credit card
stringUrl to the logo of the credit card brand
string|nullCode name of the brand of a credit card
getCodeName() : string|null
string|null
getImage() : string
string
getName() : string
string
setCodeName(string|null $codeName) : \Dotpay\Model\CardBrand
string|nullCode name of the brand of a credit card
\Dotpay\Model\CardBrand
setImage(string|null $image) : \Dotpay\Model\CardBrand
| Throws |
|
|---|
string|nullUrl to the logo of the credit card brand
\Dotpay\Model\CardBrand
setName(string|null $name) : \Dotpay\Model\CardBrand
id : integer|null
| var |
Id of the brand in the database |
|---|
integer|null
name : string
| var |
Name of the brand of a credit card |
|---|
string
codeName : string|null
| var |
Code name of the brand of a credit card |
|---|
string|null
image : string
| var |
Url to the logo of the credit card brand |
|---|
string