Google_Service_ManufacturerCenter_Attributes
extends Google_Collection
in package
Extension to the regular Google_Model that automatically exposes the items array for iteration, so you can just iterate over the object rather than a reference inside.
Table of Contents
- NULL_VALUE = "{}gapi-php-null"
- If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
- $ageGroup : mixed
- $brand : mixed
- $color : mixed
- $description : mixed
- $disclosureDate : mixed
- $excludedDestination : mixed
- $flavor : mixed
- $format : mixed
- $gender : mixed
- $gtin : mixed
- $includedDestination : mixed
- $itemGroupId : mixed
- $material : mixed
- $mpn : mixed
- $pattern : mixed
- $productLine : mixed
- $productName : mixed
- $productPageUrl : mixed
- $productType : mixed
- $releaseDate : mixed
- $richProductContent : mixed
- $scent : mixed
- $size : mixed
- $sizeSystem : mixed
- $sizeType : mixed
- $targetClientId : mixed
- $theme : mixed
- $title : mixed
- $videoLink : mixed
- $additionalImageLinkDataType : mixed
- $additionalImageLinkType : mixed
- $capacityDataType : mixed
- $capacityType : mixed
- $collection_key : mixed
- $countDataType : mixed
- $countType : mixed
- $featureDescriptionDataType : mixed
- $featureDescriptionType : mixed
- $imageLinkDataType : mixed
- $imageLinkType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $processed : mixed
- $productDetailDataType : mixed
- $productDetailType : mixed
- $suggestedRetailPriceDataType : mixed
- $suggestedRetailPriceType : mixed
- __construct() : mixed
- Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
- __get() : mixed
- Getter that handles passthrough access to the data array, and lazy object creation.
- __isset() : mixed
- __unset() : mixed
- assertIsArray() : mixed
- Verify if $obj is an array.
- count() : mixed
- current() : mixed
- getAdditionalImageLink() : Google_Service_ManufacturerCenter_Image
- getAgeGroup() : mixed
- getBrand() : mixed
- getCapacity() : Google_Service_ManufacturerCenter_Capacity
- getColor() : mixed
- getCount() : Google_Service_ManufacturerCenter_Count
- getDescription() : mixed
- getDisclosureDate() : mixed
- getExcludedDestination() : mixed
- getFeatureDescription() : Google_Service_ManufacturerCenter_FeatureDescription
- getFlavor() : mixed
- getFormat() : mixed
- getGender() : mixed
- getGtin() : mixed
- getImageLink() : Google_Service_ManufacturerCenter_Image
- getIncludedDestination() : mixed
- getItemGroupId() : mixed
- getMaterial() : mixed
- getMpn() : mixed
- getPattern() : mixed
- getProductDetail() : Google_Service_ManufacturerCenter_ProductDetail
- getProductLine() : mixed
- getProductName() : mixed
- getProductPageUrl() : mixed
- getProductType() : mixed
- getReleaseDate() : mixed
- getRichProductContent() : mixed
- getScent() : mixed
- getSize() : mixed
- getSizeSystem() : mixed
- getSizeType() : mixed
- getSuggestedRetailPrice() : Google_Service_ManufacturerCenter_Price
- getTargetClientId() : mixed
- getTheme() : mixed
- getTitle() : mixed
- getVideoLink() : mixed
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAdditionalImageLink() : mixed
- setAgeGroup() : mixed
- setBrand() : mixed
- setCapacity() : mixed
- setColor() : mixed
- setCount() : mixed
- setDescription() : mixed
- setDisclosureDate() : mixed
- setExcludedDestination() : mixed
- setFeatureDescription() : mixed
- setFlavor() : mixed
- setFormat() : mixed
- setGender() : mixed
- setGtin() : mixed
- setImageLink() : mixed
- setIncludedDestination() : mixed
- setItemGroupId() : mixed
- setMaterial() : mixed
- setMpn() : mixed
- setPattern() : mixed
- setProductDetail() : mixed
- setProductLine() : mixed
- setProductName() : mixed
- setProductPageUrl() : mixed
- setProductType() : mixed
- setReleaseDate() : mixed
- setRichProductContent() : mixed
- setScent() : mixed
- setSize() : mixed
- setSizeSystem() : mixed
- setSizeType() : mixed
- setSuggestedRetailPrice() : mixed
- setTargetClientId() : mixed
- setTheme() : mixed
- setTitle() : mixed
- setVideoLink() : mixed
- toSimpleObject() : mixed
- Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
- valid() : mixed
- dataType() : mixed
- gapiInit() : mixed
- Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
- isAssociativeArray() : bool
- Returns true only if the array is associative.
- keyType() : mixed
- mapTypes() : void
- Initialize this object's properties from an array.
- camelCase() : string
- Convert a string to camelCase
- coerceType() : mixed
- getMappedName() : mixed
- If there is an internal name mapping, use that.
- getSimpleValue() : mixed
- Handle different types of values, primarily other objects and map and array data types.
- nullPlaceholderCheck() : mixed
- Check whether the value is the null placeholder and return true null.
Constants
NULL_VALUE
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
public
mixed
NULL_VALUE
= "{}gapi-php-null"
Properties
$ageGroup
public
mixed
$ageGroup
$brand
public
mixed
$brand
$color
public
mixed
$color
$description
public
mixed
$description
$disclosureDate
public
mixed
$disclosureDate
$excludedDestination
public
mixed
$excludedDestination
$flavor
public
mixed
$flavor
$format
public
mixed
$format
$gender
public
mixed
$gender
$gtin
public
mixed
$gtin
$includedDestination
public
mixed
$includedDestination
$itemGroupId
public
mixed
$itemGroupId
$material
public
mixed
$material
$mpn
public
mixed
$mpn
$pattern
public
mixed
$pattern
$productLine
public
mixed
$productLine
$productName
public
mixed
$productName
$productPageUrl
public
mixed
$productPageUrl
$productType
public
mixed
$productType
$releaseDate
public
mixed
$releaseDate
$richProductContent
public
mixed
$richProductContent
$scent
public
mixed
$scent
$size
public
mixed
$size
$sizeSystem
public
mixed
$sizeSystem
$sizeType
public
mixed
$sizeType
$targetClientId
public
mixed
$targetClientId
$theme
public
mixed
$theme
$title
public
mixed
$title
$videoLink
public
mixed
$videoLink
$additionalImageLinkDataType
protected
mixed
$additionalImageLinkDataType
= 'array'
$additionalImageLinkType
protected
mixed
$additionalImageLinkType
= 'Google_Service_ManufacturerCenter_Image'
$capacityDataType
protected
mixed
$capacityDataType
= ''
$capacityType
protected
mixed
$capacityType
= 'Google_Service_ManufacturerCenter_Capacity'
$collection_key
protected
mixed
$collection_key
= 'videoLink'
$countDataType
protected
mixed
$countDataType
= ''
$countType
protected
mixed
$countType
= 'Google_Service_ManufacturerCenter_Count'
$featureDescriptionDataType
protected
mixed
$featureDescriptionDataType
= 'array'
$featureDescriptionType
protected
mixed
$featureDescriptionType
= 'Google_Service_ManufacturerCenter_FeatureDescription'
$imageLinkDataType
protected
mixed
$imageLinkDataType
= ''
$imageLinkType
protected
mixed
$imageLinkType
= 'Google_Service_ManufacturerCenter_Image'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$processed
protected
mixed
$processed
= array()
$productDetailDataType
protected
mixed
$productDetailDataType
= 'array'
$productDetailType
protected
mixed
$productDetailType
= 'Google_Service_ManufacturerCenter_ProductDetail'
$suggestedRetailPriceDataType
protected
mixed
$suggestedRetailPriceDataType
= ''
$suggestedRetailPriceType
protected
mixed
$suggestedRetailPriceType
= 'Google_Service_ManufacturerCenter_Price'
Methods
__construct()
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
public
final __construct() : mixed
Return values
mixed —__get()
Getter that handles passthrough access to the data array, and lazy object creation.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name.
Return values
mixed —The value if any, or null.
__isset()
public
__isset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —__unset()
public
__unset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —assertIsArray()
Verify if $obj is an array.
public
assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
- $obj : array<string|int, mixed>
-
Items that should be validated.
- $method : string
-
Method expecting an array as an argument.
Tags
Return values
mixed —count()
public
count() : mixed
Return values
mixed —current()
public
current() : mixed
Return values
mixed —getAdditionalImageLink()
public
getAdditionalImageLink() : Google_Service_ManufacturerCenter_Image
Return values
Google_Service_ManufacturerCenter_Image —getAgeGroup()
public
getAgeGroup() : mixed
Return values
mixed —getBrand()
public
getBrand() : mixed
Return values
mixed —getCapacity()
public
getCapacity() : Google_Service_ManufacturerCenter_Capacity
Return values
Google_Service_ManufacturerCenter_Capacity —getColor()
public
getColor() : mixed
Return values
mixed —getCount()
public
getCount() : Google_Service_ManufacturerCenter_Count
Return values
Google_Service_ManufacturerCenter_Count —getDescription()
public
getDescription() : mixed
Return values
mixed —getDisclosureDate()
public
getDisclosureDate() : mixed
Return values
mixed —getExcludedDestination()
public
getExcludedDestination() : mixed
Return values
mixed —getFeatureDescription()
public
getFeatureDescription() : Google_Service_ManufacturerCenter_FeatureDescription
Return values
Google_Service_ManufacturerCenter_FeatureDescription —getFlavor()
public
getFlavor() : mixed
Return values
mixed —getFormat()
public
getFormat() : mixed
Return values
mixed —getGender()
public
getGender() : mixed
Return values
mixed —getGtin()
public
getGtin() : mixed
Return values
mixed —getImageLink()
public
getImageLink() : Google_Service_ManufacturerCenter_Image
Return values
Google_Service_ManufacturerCenter_Image —getIncludedDestination()
public
getIncludedDestination() : mixed
Return values
mixed —getItemGroupId()
public
getItemGroupId() : mixed
Return values
mixed —getMaterial()
public
getMaterial() : mixed
Return values
mixed —getMpn()
public
getMpn() : mixed
Return values
mixed —getPattern()
public
getPattern() : mixed
Return values
mixed —getProductDetail()
public
getProductDetail() : Google_Service_ManufacturerCenter_ProductDetail
Return values
Google_Service_ManufacturerCenter_ProductDetail —getProductLine()
public
getProductLine() : mixed
Return values
mixed —getProductName()
public
getProductName() : mixed
Return values
mixed —getProductPageUrl()
public
getProductPageUrl() : mixed
Return values
mixed —getProductType()
public
getProductType() : mixed
Return values
mixed —getReleaseDate()
public
getReleaseDate() : mixed
Return values
mixed —getRichProductContent()
public
getRichProductContent() : mixed
Return values
mixed —getScent()
public
getScent() : mixed
Return values
mixed —getSize()
public
getSize() : mixed
Return values
mixed —getSizeSystem()
public
getSizeSystem() : mixed
Return values
mixed —getSizeType()
public
getSizeType() : mixed
Return values
mixed —getSuggestedRetailPrice()
public
getSuggestedRetailPrice() : Google_Service_ManufacturerCenter_Price
Return values
Google_Service_ManufacturerCenter_Price —getTargetClientId()
public
getTargetClientId() : mixed
Return values
mixed —getTheme()
public
getTheme() : mixed
Return values
mixed —getTitle()
public
getTitle() : mixed
Return values
mixed —getVideoLink()
public
getVideoLink() : mixed
Return values
mixed —key()
public
key() : mixed
Return values
mixed —next()
public
next() : mixed
Return values
mixed —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —setAdditionalImageLink()
public
setAdditionalImageLink(mixed $additionalImageLink) : mixed
Parameters
- $additionalImageLink : mixed
Return values
mixed —setAgeGroup()
public
setAgeGroup(mixed $ageGroup) : mixed
Parameters
- $ageGroup : mixed
Return values
mixed —setBrand()
public
setBrand(mixed $brand) : mixed
Parameters
- $brand : mixed
Return values
mixed —setCapacity()
public
setCapacity(Google_Service_ManufacturerCenter_Capacity $capacity) : mixed
Parameters
- $capacity : Google_Service_ManufacturerCenter_Capacity
Return values
mixed —setColor()
public
setColor(mixed $color) : mixed
Parameters
- $color : mixed
Return values
mixed —setCount()
public
setCount(Google_Service_ManufacturerCenter_Count $count) : mixed
Parameters
Return values
mixed —setDescription()
public
setDescription(mixed $description) : mixed
Parameters
- $description : mixed
Return values
mixed —setDisclosureDate()
public
setDisclosureDate(mixed $disclosureDate) : mixed
Parameters
- $disclosureDate : mixed
Return values
mixed —setExcludedDestination()
public
setExcludedDestination(mixed $excludedDestination) : mixed
Parameters
- $excludedDestination : mixed
Return values
mixed —setFeatureDescription()
public
setFeatureDescription(mixed $featureDescription) : mixed
Parameters
- $featureDescription : mixed
Return values
mixed —setFlavor()
public
setFlavor(mixed $flavor) : mixed
Parameters
- $flavor : mixed
Return values
mixed —setFormat()
public
setFormat(mixed $format) : mixed
Parameters
- $format : mixed
Return values
mixed —setGender()
public
setGender(mixed $gender) : mixed
Parameters
- $gender : mixed
Return values
mixed —setGtin()
public
setGtin(mixed $gtin) : mixed
Parameters
- $gtin : mixed
Return values
mixed —setImageLink()
public
setImageLink(Google_Service_ManufacturerCenter_Image $imageLink) : mixed
Parameters
- $imageLink : Google_Service_ManufacturerCenter_Image
Return values
mixed —setIncludedDestination()
public
setIncludedDestination(mixed $includedDestination) : mixed
Parameters
- $includedDestination : mixed
Return values
mixed —setItemGroupId()
public
setItemGroupId(mixed $itemGroupId) : mixed
Parameters
- $itemGroupId : mixed
Return values
mixed —setMaterial()
public
setMaterial(mixed $material) : mixed
Parameters
- $material : mixed
Return values
mixed —setMpn()
public
setMpn(mixed $mpn) : mixed
Parameters
- $mpn : mixed
Return values
mixed —setPattern()
public
setPattern(mixed $pattern) : mixed
Parameters
- $pattern : mixed
Return values
mixed —setProductDetail()
public
setProductDetail(mixed $productDetail) : mixed
Parameters
- $productDetail : mixed
Return values
mixed —setProductLine()
public
setProductLine(mixed $productLine) : mixed
Parameters
- $productLine : mixed
Return values
mixed —setProductName()
public
setProductName(mixed $productName) : mixed
Parameters
- $productName : mixed
Return values
mixed —setProductPageUrl()
public
setProductPageUrl(mixed $productPageUrl) : mixed
Parameters
- $productPageUrl : mixed
Return values
mixed —setProductType()
public
setProductType(mixed $productType) : mixed
Parameters
- $productType : mixed
Return values
mixed —setReleaseDate()
public
setReleaseDate(mixed $releaseDate) : mixed
Parameters
- $releaseDate : mixed
Return values
mixed —setRichProductContent()
public
setRichProductContent(mixed $richProductContent) : mixed
Parameters
- $richProductContent : mixed
Return values
mixed —setScent()
public
setScent(mixed $scent) : mixed
Parameters
- $scent : mixed
Return values
mixed —setSize()
public
setSize(mixed $size) : mixed
Parameters
- $size : mixed
Return values
mixed —setSizeSystem()
public
setSizeSystem(mixed $sizeSystem) : mixed
Parameters
- $sizeSystem : mixed
Return values
mixed —setSizeType()
public
setSizeType(mixed $sizeType) : mixed
Parameters
- $sizeType : mixed
Return values
mixed —setSuggestedRetailPrice()
public
setSuggestedRetailPrice(Google_Service_ManufacturerCenter_Price $suggestedRetailPrice) : mixed
Parameters
- $suggestedRetailPrice : Google_Service_ManufacturerCenter_Price
Return values
mixed —setTargetClientId()
public
setTargetClientId(mixed $targetClientId) : mixed
Parameters
- $targetClientId : mixed
Return values
mixed —setTheme()
public
setTheme(mixed $theme) : mixed
Parameters
- $theme : mixed
Return values
mixed —setTitle()
public
setTitle(mixed $title) : mixed
Parameters
- $title : mixed
Return values
mixed —setVideoLink()
public
setVideoLink(mixed $videoLink) : mixed
Parameters
- $videoLink : mixed
Return values
mixed —toSimpleObject()
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
public
toSimpleObject() : mixed
Return values
mixed —valid()
public
valid() : mixed
Return values
mixed —dataType()
protected
dataType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —gapiInit()
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
protected
gapiInit() : mixed
Return values
mixed —isAssociativeArray()
Returns true only if the array is associative.
protected
isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —True if the array is associative.
keyType()
protected
keyType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —mapTypes()
Initialize this object's properties from an array.
protected
mapTypes(array<string|int, mixed> $array) : void
Parameters
- $array : array<string|int, mixed>
-
Used to seed this object's properties.
Return values
void —camelCase()
Convert a string to camelCase
private
camelCase(string $value) : string
Parameters
- $value : string
Return values
string —coerceType()
private
coerceType(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —getMappedName()
If there is an internal name mapping, use that.
private
getMappedName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getSimpleValue()
Handle different types of values, primarily other objects and map and array data types.
private
getSimpleValue(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —nullPlaceholderCheck()
Check whether the value is the null placeholder and return true null.
private
nullPlaceholderCheck(mixed $value) : mixed
Parameters
- $value : mixed