ManufacturerInterface
in
Interface ManufacturerInterface
Tags
Table of Contents
- getDateAdded() : DateTime
- Returns the datetime.
- getId() : int
- Returns the id.
- getImage() : string
- Returns the manufacturer image path.
- getLastModified() : DateTime
- Returns the last modified datetime.
- getName() : string
- Returns the manufacturer name.
- getUrl() : string
- Returns the url.
- getUrls() : array<string|int, mixed>
- Returns all language specific url.
- setDateAdded() : $this|ManufacturerInterface
- Sets the datetime.
- setId() : $this|ManufacturerInterface
- Sets the id.
- setImage() : $this|ManufacturerInterface
- Sets the image path.
- setLastModified() : $this|ManufacturerInterface
- Sets the last modified datetime.
- setName() : $this|ManufacturerInterface
- Sets the manufacturer name.
- setUrl() : $this|ManufacturerInterface
- Sets the url.
Methods
getDateAdded()
Returns the datetime.
public
getDateAdded() : DateTime
Return values
DateTime —Order purchase datetime.
getId()
Returns the id.
public
getId() : int
Return values
int —getImage()
Returns the manufacturer image path.
public
getImage() : string
Return values
string —Language specific image Path value.
getLastModified()
Returns the last modified datetime.
public
getLastModified() : DateTime
Return values
DateTime —Order purchase datetime.
getName()
Returns the manufacturer name.
public
getName() : string
Return values
string —Language specific name value.
getUrl()
Returns the url.
public
getUrl(LanguageCode $languageCode) : string
Parameters
- $languageCode : LanguageCode
-
Language code for language specific name value.
Return values
string —Language specific name value.
getUrls()
Returns all language specific url.
public
getUrls() : array<string|int, mixed>
Return values
array<string|int, mixed> —Language specific url value.
setDateAdded()
Sets the datetime.
public
setDateAdded(DateTime $date) : $this|ManufacturerInterface
Parameters
- $date : DateTime
-
Date to be set.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.
setId()
Sets the id.
public
setId(IdType $manufacturerId) : $this|ManufacturerInterface
Parameters
- $manufacturerId : IdType
-
Id to be set.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.
setImage()
Sets the image path.
public
setImage(StringType $imagePath) : $this|ManufacturerInterface
Parameters
- $imagePath : StringType
-
Image path to be set.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.
setLastModified()
Sets the last modified datetime.
public
setLastModified(DateTime $date) : $this|ManufacturerInterface
Parameters
- $date : DateTime
-
Last Date to be set.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.
setName()
Sets the manufacturer name.
public
setName(StringType $name) : $this|ManufacturerInterface
Parameters
- $name : StringType
-
Name value to be set.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.
setUrl()
Sets the url.
public
setUrl(StringType $title, LanguageCode $languageCode) : $this|ManufacturerInterface
Parameters
- $title : StringType
-
Title.
- $languageCode : LanguageCode
-
Language code for language specific name value.
Return values
$this|ManufacturerInterface —Same instance for chained method calls.