\Iqrf\Repository\EntitiesProduct

Product entity

Summary

Methods
Properties
Constants
__construct()
fromArray()
getHwpid()
getName()
getManufacturerId()
getCompanyName()
getHomepage()
getPicture()
getRfMode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  hwpid,   name,   manufacturerID,   companyName,   homePage,   picture,   rfMode) : 

Constructor

Parameters

hwpid

Product HWPID

name

Product name

manufacturerID

Manufacturer ID

companyName

Company name

homePage

Product homepage

picture

Product picture

rfMode

Product RF mode

Returns

fromArray()

fromArray(mixed|string|string|int  data) : \Iqrf\Repository\Entities\Product

Creates a new product entity from an array

Parameters

mixed|string|string|int data

JSON data in an array

Returns

\Iqrf\Repository\Entities\Product —

Created product entity

getHwpid()

getHwpid() : 

Returns the product HWPID

Returns

Product HWPID

getName()

getName() : 

Returns the product name

Returns

Product name

getManufacturerId()

getManufacturerId() : 

Returns the manufacturer ID

Returns

Manufacturer ID

getCompanyName()

getCompanyName() : 

Returns the company name

Returns

Company name

getHomepage()

getHomepage() : 

Returns the product homepage

Returns

Product homepage

getPicture()

getPicture() : 

Returns the product picture

Returns

Product picture

getRfMode()

getRfMode() : \Iqrf\Repository\Entities\RfModes

Returns the product RF mode

Returns

\Iqrf\Repository\Entities\RfModes —

Product RF mode