nouveau-theatre-de-besancon/vendor/spatie/schema-org/src/TaxiService.php
2024-09-19 07:36:53 +02:00

570 lines
18 KiB
PHP

<?php
namespace Spatie\SchemaOrg;
use Spatie\SchemaOrg\Contracts\IntangibleContract;
use Spatie\SchemaOrg\Contracts\ServiceContract;
use Spatie\SchemaOrg\Contracts\TaxiServiceContract;
use Spatie\SchemaOrg\Contracts\ThingContract;
/**
* A service for a vehicle for hire with a driver for local travel. Fares are
* usually calculated based on distance traveled.
*
* @see https://schema.org/TaxiService
*
*/
class TaxiService extends BaseType implements TaxiServiceContract, IntangibleContract, ServiceContract, ThingContract
{
/**
* An additional type for the item, typically used for adding more specific
* types from external vocabularies in microdata syntax. This is a
* relationship between something and a class that the thing is in.
* Typically the value is a URI-identified RDF class, and in this case
* corresponds to the
* use of rdf:type in RDF. Text values can be used sparingly, for cases
* where useful information can be added without their being an appropriate
* schema to reference. In the case of text values, the class label should
* follow the schema.org [style
* guide](https://schema.org/docs/styleguide.html).
*
* @param string|string[] $additionalType
*
* @return static
*
* @see https://schema.org/additionalType
*/
public function additionalType($additionalType)
{
return $this->setProperty('additionalType', $additionalType);
}
/**
* The overall rating, based on a collection of reviews or ratings, of the
* item.
*
* @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
*
* @return static
*
* @see https://schema.org/aggregateRating
*/
public function aggregateRating($aggregateRating)
{
return $this->setProperty('aggregateRating', $aggregateRating);
}
/**
* An alias for the item.
*
* @param string|string[] $alternateName
*
* @return static
*
* @see https://schema.org/alternateName
*/
public function alternateName($alternateName)
{
return $this->setProperty('alternateName', $alternateName);
}
/**
* The geographic area where a service or offered item is provided.
*
* @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed
*
* @return static
*
* @see https://schema.org/areaServed
*/
public function areaServed($areaServed)
{
return $this->setProperty('areaServed', $areaServed);
}
/**
* An intended audience, i.e. a group for whom something was created.
*
* @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience
*
* @return static
*
* @see https://schema.org/audience
*/
public function audience($audience)
{
return $this->setProperty('audience', $audience);
}
/**
* A means of accessing the service (e.g. a phone bank, a web site, a
* location, etc.).
*
* @param \Spatie\SchemaOrg\Contracts\ServiceChannelContract|\Spatie\SchemaOrg\Contracts\ServiceChannelContract[] $availableChannel
*
* @return static
*
* @see https://schema.org/availableChannel
*/
public function availableChannel($availableChannel)
{
return $this->setProperty('availableChannel', $availableChannel);
}
/**
* An award won by or for this item.
*
* @param string|string[] $award
*
* @return static
*
* @see https://schema.org/award
*/
public function award($award)
{
return $this->setProperty('award', $award);
}
/**
* The brand(s) associated with a product or service, or the brand(s)
* maintained by an organization or business person.
*
* @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
*
* @return static
*
* @see https://schema.org/brand
*/
public function brand($brand)
{
return $this->setProperty('brand', $brand);
}
/**
* An entity that arranges for an exchange between a buyer and a seller. In
* most cases a broker never acquires or releases ownership of a product or
* service involved in an exchange. If it is not clear whether an entity is
* a broker, seller, or buyer, the latter two terms are preferred.
*
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $broker
*
* @return static
*
* @see https://schema.org/broker
*/
public function broker($broker)
{
return $this->setProperty('broker', $broker);
}
/**
* A category for the item. Greater signs or slashes can be used to
* informally indicate a category hierarchy.
*
* @param \Spatie\SchemaOrg\Contracts\CategoryCodeContract|\Spatie\SchemaOrg\Contracts\CategoryCodeContract[]|\Spatie\SchemaOrg\Contracts\PhysicalActivityCategoryContract|\Spatie\SchemaOrg\Contracts\PhysicalActivityCategoryContract[]|\Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[]|string|string[] $category
*
* @return static
*
* @see https://schema.org/category
*/
public function category($category)
{
return $this->setProperty('category', $category);
}
/**
* A description of the item.
*
* @param \Spatie\SchemaOrg\Contracts\TextObjectContract|\Spatie\SchemaOrg\Contracts\TextObjectContract[]|string|string[] $description
*
* @return static
*
* @see https://schema.org/description
*/
public function description($description)
{
return $this->setProperty('description', $description);
}
/**
* A sub property of description. A short description of the item used to
* disambiguate from other, similar items. Information from other properties
* (in particular, name) may be necessary for the description to be useful
* for disambiguation.
*
* @param string|string[] $disambiguatingDescription
*
* @return static
*
* @see https://schema.org/disambiguatingDescription
*/
public function disambiguatingDescription($disambiguatingDescription)
{
return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
}
/**
* Indicates an OfferCatalog listing for this Organization, Person, or
* Service.
*
* @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
*
* @return static
*
* @see https://schema.org/hasOfferCatalog
*/
public function hasOfferCatalog($hasOfferCatalog)
{
return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
}
/**
* The hours during which this service or contact is available.
*
* @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $hoursAvailable
*
* @return static
*
* @see https://schema.org/hoursAvailable
*/
public function hoursAvailable($hoursAvailable)
{
return $this->setProperty('hoursAvailable', $hoursAvailable);
}
/**
* The identifier property represents any kind of identifier for any kind of
* [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
* dedicated properties for representing many of these, either as textual
* strings or as URL (URI) links. See [background
* notes](/docs/datamodel.html#identifierBg) for more details.
*
* @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
*
* @return static
*
* @see https://schema.org/identifier
*/
public function identifier($identifier)
{
return $this->setProperty('identifier', $identifier);
}
/**
* An image of the item. This can be a [[URL]] or a fully described
* [[ImageObject]].
*
* @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
*
* @return static
*
* @see https://schema.org/image
*/
public function image($image)
{
return $this->setProperty('image', $image);
}
/**
* A pointer to another, somehow related product (or multiple products).
*
* @param \Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|\Spatie\SchemaOrg\Contracts\ServiceContract|\Spatie\SchemaOrg\Contracts\ServiceContract[] $isRelatedTo
*
* @return static
*
* @see https://schema.org/isRelatedTo
*/
public function isRelatedTo($isRelatedTo)
{
return $this->setProperty('isRelatedTo', $isRelatedTo);
}
/**
* A pointer to another, functionally similar product (or multiple
* products).
*
* @param \Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[]|\Spatie\SchemaOrg\Contracts\ServiceContract|\Spatie\SchemaOrg\Contracts\ServiceContract[] $isSimilarTo
*
* @return static
*
* @see https://schema.org/isSimilarTo
*/
public function isSimilarTo($isSimilarTo)
{
return $this->setProperty('isSimilarTo', $isSimilarTo);
}
/**
* An associated logo.
*
* @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
*
* @return static
*
* @see https://schema.org/logo
*/
public function logo($logo)
{
return $this->setProperty('logo', $logo);
}
/**
* Indicates a page (or other CreativeWork) for which this thing is the main
* entity being described. See [background
* notes](/docs/datamodel.html#mainEntityBackground) for details.
*
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
*
* @return static
*
* @see https://schema.org/mainEntityOfPage
*/
public function mainEntityOfPage($mainEntityOfPage)
{
return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
}
/**
* The name of the item.
*
* @param string|string[] $name
*
* @return static
*
* @see https://schema.org/name
*/
public function name($name)
{
return $this->setProperty('name', $name);
}
/**
* An offer to provide this item&#x2014;for example, an offer to sell a
* product, rent the DVD of a movie, perform a service, or give away tickets
* to an event. Use [[businessFunction]] to indicate the kind of transaction
* offered, i.e. sell, lease, etc. This property can also be used to
* describe a [[Demand]]. While this property is listed as expected on a
* number of common types, it can be used in others. In that case, using a
* second type, such as Product or a subtype of Product, can clarify the
* nature of the offer.
*
* @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[]|\Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $offers
*
* @return static
*
* @see https://schema.org/offers
* @link https://github.com/schemaorg/schemaorg/issues/2289
*/
public function offers($offers)
{
return $this->setProperty('offers', $offers);
}
/**
* Indicates a potential Action, which describes an idealized action in
* which this thing would play an 'object' role.
*
* @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
*
* @return static
*
* @see https://schema.org/potentialAction
*/
public function potentialAction($potentialAction)
{
return $this->setProperty('potentialAction', $potentialAction);
}
/**
* The tangible thing generated by the service, e.g. a passport, permit,
* etc.
*
* @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $produces
*
* @return static
*
* @see https://schema.org/produces
*/
public function produces($produces)
{
return $this->setProperty('produces', $produces);
}
/**
* The service provider, service operator, or service performer; the goods
* producer. Another party (a seller) may offer those services or goods on
* behalf of the provider. A provider may also serve as the seller.
*
* @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $provider
*
* @return static
*
* @see https://schema.org/provider
* @see https://pending.schema.org
*/
public function provider($provider)
{
return $this->setProperty('provider', $provider);
}
/**
* Indicates the mobility of a provided service (e.g. 'static', 'dynamic').
*
* @param string|string[] $providerMobility
*
* @return static
*
* @see https://schema.org/providerMobility
*/
public function providerMobility($providerMobility)
{
return $this->setProperty('providerMobility', $providerMobility);
}
/**
* A review of the item.
*
* @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
*
* @return static
*
* @see https://schema.org/review
*/
public function review($review)
{
return $this->setProperty('review', $review);
}
/**
* URL of a reference Web page that unambiguously indicates the item's
* identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
* official website.
*
* @param string|string[] $sameAs
*
* @return static
*
* @see https://schema.org/sameAs
*/
public function sameAs($sameAs)
{
return $this->setProperty('sameAs', $sameAs);
}
/**
* The geographic area where the service is provided.
*
* @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea
*
* @return static
*
* @see https://schema.org/serviceArea
*/
public function serviceArea($serviceArea)
{
return $this->setProperty('serviceArea', $serviceArea);
}
/**
* The audience eligible for this service.
*
* @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $serviceAudience
*
* @return static
*
* @see https://schema.org/serviceAudience
*/
public function serviceAudience($serviceAudience)
{
return $this->setProperty('serviceAudience', $serviceAudience);
}
/**
* The tangible thing generated by the service, e.g. a passport, permit,
* etc.
*
* @param \Spatie\SchemaOrg\Contracts\ThingContract|\Spatie\SchemaOrg\Contracts\ThingContract[] $serviceOutput
*
* @return static
*
* @see https://schema.org/serviceOutput
*/
public function serviceOutput($serviceOutput)
{
return $this->setProperty('serviceOutput', $serviceOutput);
}
/**
* The type of service being offered, e.g. veterans' benefits, emergency
* relief, etc.
*
* @param \Spatie\SchemaOrg\Contracts\GovernmentBenefitsTypeContract|\Spatie\SchemaOrg\Contracts\GovernmentBenefitsTypeContract[]|string|string[] $serviceType
*
* @return static
*
* @see https://schema.org/serviceType
*/
public function serviceType($serviceType)
{
return $this->setProperty('serviceType', $serviceType);
}
/**
* A slogan or motto associated with the item.
*
* @param string|string[] $slogan
*
* @return static
*
* @see https://schema.org/slogan
*/
public function slogan($slogan)
{
return $this->setProperty('slogan', $slogan);
}
/**
* A CreativeWork or Event about this Thing.
*
* @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
*
* @return static
*
* @see https://schema.org/subjectOf
* @link https://github.com/schemaorg/schemaorg/issues/1670
*/
public function subjectOf($subjectOf)
{
return $this->setProperty('subjectOf', $subjectOf);
}
/**
* Human-readable terms of service documentation.
*
* @param string|string[] $termsOfService
*
* @return static
*
* @see https://schema.org/termsOfService
* @see https://pending.schema.org
* @link https://github.com/schemaorg/schemaorg/issues/1423
*/
public function termsOfService($termsOfService)
{
return $this->setProperty('termsOfService', $termsOfService);
}
/**
* URL of the item.
*
* @param string|string[] $url
*
* @return static
*
* @see https://schema.org/url
*/
public function url($url)
{
return $this->setProperty('url', $url);
}
}