Interface luya\web\jsonld\OfferInterface

Extendsluya\web\jsonld\ThingInterface
Implemented byluya\web\jsonld\Offer
Available since version1.0.3
Source Code https://github.com/luyadev/luya/blob/master/core/web/jsonld/OfferInterface.php

JsonLd Offer.

See also http://schema.org/Offer.

Method Details

Hide inherited methods

getAdditionalType() public abstract method
public abstract string getAdditionalType ( )

                public function getAdditionalType();

            
getAlternateName() public abstract method
public abstract string getAlternateName ( )

                public function getAlternateName();

            
getDescription() public abstract method
public abstract string getDescription ( )

                public function getDescription();

            
getDisambiguatingDescription() public abstract method
public abstract string getDisambiguatingDescription ( )

                public function getDisambiguatingDescription();

            
getIdentifier() public abstract method
public abstract luya\web\jsonld\PropertyValue getIdentifier ( )

                public function getIdentifier();

            
getImage() public abstract method
public abstract luya\web\jsonld\ImageObject getImage ( )

                public function getImage();

            
getMainEntityOfPage() public abstract method
public abstract luya\web\jsonld\CreativeWork getMainEntityOfPage ( )

                public function getMainEntityOfPage();

            
getName() public abstract method
public abstract string getName ( )

                public function getName();

            
getOffers() public abstract method (available since version 1.2.2)
public abstract luya\web\jsonld\Offer getOffers ( )

                public function getOffers();

            
getPrice() public abstract method (available since version 1.2.2)

Price Getter

public abstract mixed getPrice ( )

                public function getPrice();

            
getPriceCurrency() public abstract method (available since version 1.2.2)

Price Currency Getter

public abstract string getPriceCurrency ( )

                public function getPriceCurrency();

            
getSameAs() public abstract method
public abstract string getSameAs ( )

                public function getSameAs();

            
getSubjectOf() public abstract method
public abstract luya\web\jsonld\CreativeWork|luya\web\jsonld\Event getSubjectOf ( )

                public function getSubjectOf();

            
getUrl() public abstract method
public abstract string getUrl ( )

                public function getUrl();

            
setAdditionalType() public abstract method
public abstract static setAdditionalType ( luya\web\jsonld\UrlValue $additionalType )
$additionalType luya\web\jsonld\UrlValue

                public function setAdditionalType(UrlValue $additionalType);

            
setAlternateName() public abstract method
public abstract static setAlternateName ( $alternateName )
$alternateName string

                public function setAlternateName($alternateName);

            
setDescription() public abstract method
public abstract static setDescription ( $description )
$description string

                public function setDescription($description);

            
setDisambiguatingDescription() public abstract method
public abstract static setDisambiguatingDescription ( $disambiguatingDescription )
$disambiguatingDescription string

                public function setDisambiguatingDescription($disambiguatingDescription);

            
setIdentifier() public abstract method
public abstract static setIdentifier ( luya\web\jsonld\PropertyValue $identifier )
$identifier

                public function setIdentifier(PropertyValue $identifier);

            
setImage() public abstract method
public abstract static setImage ( luya\web\jsonld\ImageObject $image )
$image luya\web\jsonld\ImageObject

                public function setImage(ImageObject $image);

            
setMainEntityOfPage() public abstract method
public abstract static setMainEntityOfPage ( luya\web\jsonld\CreativeWork $mainEntityOfPage )
$mainEntityOfPage luya\web\jsonld\CreativeWork

                public function setMainEntityOfPage(CreativeWork $mainEntityOfPage);

            
setName() public abstract method
public abstract static setName ( $name )
$name string

                public function setName($name);

            
setOffers() public abstract method (available since version 1.2.2)
public abstract void setOffers ( luya\web\jsonld\Offer $offers )
$offers

                public function setOffers(Offer $offers);

            
setPrice() public abstract method (available since version 1.2.2)

Price Setter

public abstract static setPrice ( luya\web\jsonld\PriceValue $price )
$price luya\web\jsonld\PriceValue

                public function setPrice(PriceValue $price);

            
setPriceCurrency() public abstract method (available since version 1.2.2)

Price Currency Setter.

public abstract static setPriceCurrency ( luya\web\jsonld\CurrencyValue $currencyValue )
$currencyValue luya\web\jsonld\CurrencyValue

                public function setPriceCurrency(CurrencyValue $currencyValue);

            
setSameAs() public abstract method
public abstract static setSameAs ( luya\web\jsonld\UrlValue $sameAs )
$sameAs luya\web\jsonld\UrlValue

                public function setSameAs(UrlValue $sameAs);

            
setSubjectOf() public abstract method
public abstract static setSubjectOf ( $subjectOf )
$subjectOf luya\web\jsonld\CreativeWork|luya\web\jsonld\Event

                public function setSubjectOf($subjectOf);

            
setUrl() public abstract method
public abstract static setUrl ( luya\web\jsonld\UrlValue $url )
$url luya\web\jsonld\UrlValue

                public function setUrl(UrlValue $url);