Interface luya\web\jsonld\OfferInterface
Extends | luya\web\jsonld\ThingInterface |
---|---|
Implemented by | luya\web\jsonld\Offer |
Available since version | 1.0.3 |
Source Code | https://github.com/luyadev/luya/blob/master/core/web/jsonld/OfferInterface.php |
JsonLd Offer.
See also http://schema.org/Offer.
Public Methods
Method Details
public abstract string getAdditionalType ( ) |
public function getAdditionalType();
public abstract string getAlternateName ( ) |
public function getAlternateName();
Defined in: luya\web\jsonld\ThingInterface::getDescription()
public abstract string getDescription ( ) |
public function getDescription();
public abstract string getDisambiguatingDescription ( ) |
public function getDisambiguatingDescription();
Defined in: luya\web\jsonld\ThingInterface::getIdentifier()
public abstract luya\web\jsonld\PropertyValue getIdentifier ( ) |
public function getIdentifier();
Defined in: luya\web\jsonld\ThingInterface::getImage()
public abstract luya\web\jsonld\ImageObject getImage ( ) |
public function getImage();
public abstract luya\web\jsonld\CreativeWork getMainEntityOfPage ( ) |
public function getMainEntityOfPage();
Defined in: luya\web\jsonld\ThingInterface::getName()
public abstract string getName ( ) |
public function getName();
Defined in: luya\web\jsonld\ThingInterface::getOffers()
Get Offer
public abstract luya\web\jsonld\Offer getOffers ( ) |
public function getOffers();
Price Currency Getter
public abstract string getPriceCurrency ( ) |
public function getPriceCurrency();
Defined in: luya\web\jsonld\ThingInterface::getSameAs()
public abstract string getSameAs ( ) |
public function getSameAs();
Defined in: luya\web\jsonld\ThingInterface::getSubjectOf()
public abstract luya\web\jsonld\CreativeWork|luya\web\jsonld\Event getSubjectOf ( ) |
public function getSubjectOf();
Defined in: luya\web\jsonld\ThingInterface::getUrl()
public abstract string getUrl ( ) |
public function getUrl();
public abstract static setAdditionalType ( luya\web\jsonld\UrlValue $additionalType ) | ||
$additionalType | luya\web\jsonld\UrlValue |
public function setAdditionalType(UrlValue $additionalType);
public abstract static setAlternateName ( $alternateName ) | ||
$alternateName | string |
public function setAlternateName($alternateName);
Defined in: luya\web\jsonld\ThingInterface::setDescription()
public abstract static setDescription ( $description ) | ||
$description | string |
public function setDescription($description);
public abstract static setDisambiguatingDescription ( $disambiguatingDescription ) | ||
$disambiguatingDescription | string |
public function setDisambiguatingDescription($disambiguatingDescription);
Defined in: luya\web\jsonld\ThingInterface::setIdentifier()
public abstract static setIdentifier ( luya\web\jsonld\PropertyValue $identifier ) | ||
$identifier |
public function setIdentifier(PropertyValue $identifier);
Defined in: luya\web\jsonld\ThingInterface::setImage()
public abstract static setImage ( luya\web\jsonld\ImageObject $image ) | ||
$image | luya\web\jsonld\ImageObject |
public function setImage(ImageObject $image);
public abstract static setMainEntityOfPage ( luya\web\jsonld\CreativeWork $mainEntityOfPage ) | ||
$mainEntityOfPage | luya\web\jsonld\CreativeWork |
public function setMainEntityOfPage(CreativeWork $mainEntityOfPage);
Defined in: luya\web\jsonld\ThingInterface::setName()
public abstract static setName ( $name ) | ||
$name | string |
public function setName($name);
Defined in: luya\web\jsonld\ThingInterface::setOffers()
Set Offer
public abstract void setOffers ( luya\web\jsonld\Offer $offers ) | ||
$offers |
public function setOffers(Offer $offers);
Price Setter
public abstract static setPrice ( luya\web\jsonld\PriceValue $price ) | ||
$price | luya\web\jsonld\PriceValue |
public function setPrice(PriceValue $price);
Price Currency Setter.
public abstract static setPriceCurrency ( luya\web\jsonld\CurrencyValue $currencyValue ) | ||
$currencyValue | luya\web\jsonld\CurrencyValue |
public function setPriceCurrency(CurrencyValue $currencyValue);
Defined in: luya\web\jsonld\ThingInterface::setSameAs()
public abstract static setSameAs ( luya\web\jsonld\UrlValue $sameAs ) | ||
$sameAs | luya\web\jsonld\UrlValue |
public function setSameAs(UrlValue $sameAs);
Defined in: luya\web\jsonld\ThingInterface::setSubjectOf()
public abstract static setSubjectOf ( $subjectOf ) | ||
$subjectOf | luya\web\jsonld\CreativeWork|luya\web\jsonld\Event |
public function setSubjectOf($subjectOf);
Defined in: luya\web\jsonld\ThingInterface::setUrl()
public abstract static setUrl ( luya\web\jsonld\UrlValue $url ) | ||
$url | luya\web\jsonld\UrlValue |
public function setUrl(UrlValue $url);