Issues (439)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/BedAndBreakfast.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
use \Spatie\SchemaOrg\Contracts\BedAndBreakfastContract;
6
use \Spatie\SchemaOrg\Contracts\LocalBusinessContract;
7
use \Spatie\SchemaOrg\Contracts\LodgingBusinessContract;
8
use \Spatie\SchemaOrg\Contracts\OrganizationContract;
9
use \Spatie\SchemaOrg\Contracts\PlaceContract;
10
use \Spatie\SchemaOrg\Contracts\ThingContract;
11
12
/**
13
 * Bed and breakfast.
14
 * 
15
 * See also the <a href="/docs/hotels.html">dedicated document on the use of
16
 * schema.org for marking up hotels and other forms of accommodations</a>.
17
 *
18
 * @see http://schema.org/BedAndBreakfast
19
 *
20
 */
21 View Code Duplication
class BedAndBreakfast extends BaseType implements BedAndBreakfastContract, LocalBusinessContract, LodgingBusinessContract, OrganizationContract, PlaceContract, ThingContract
0 ignored issues
show
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
22
{
23
    /**
24
     * A property-value pair representing an additional characteristics of the
25
     * entitity, e.g. a product feature or another characteristic for which
26
     * there is no matching property in schema.org.
27
     * 
28
     * Note: Publishers should be aware that applications designed to use
29
     * specific schema.org properties (e.g. http://schema.org/width,
30
     * http://schema.org/color, http://schema.org/gtin13, ...) will typically
31
     * expect such data to be provided using those properties, rather than using
32
     * the generic property/value mechanism.
33
     *
34
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[] $additionalProperty
35
     *
36
     * @return static
37
     *
38
     * @see http://schema.org/additionalProperty
39
     */
40
    public function additionalProperty($additionalProperty)
41
    {
42
        return $this->setProperty('additionalProperty', $additionalProperty);
43
    }
44
45
    /**
46
     * An additional type for the item, typically used for adding more specific
47
     * types from external vocabularies in microdata syntax. This is a
48
     * relationship between something and a class that the thing is in. In RDFa
49
     * syntax, it is better to use the native RDFa syntax - the 'typeof'
50
     * attribute - for multiple types. Schema.org tools may have only weaker
51
     * understanding of extra types, in particular those defined externally.
52
     *
53
     * @param string|string[] $additionalType
54
     *
55
     * @return static
56
     *
57
     * @see http://schema.org/additionalType
58
     */
59
    public function additionalType($additionalType)
60
    {
61
        return $this->setProperty('additionalType', $additionalType);
62
    }
63
64
    /**
65
     * Physical address of the item.
66
     *
67
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
68
     *
69
     * @return static
70
     *
71
     * @see http://schema.org/address
72
     */
73
    public function address($address)
74
    {
75
        return $this->setProperty('address', $address);
76
    }
77
78
    /**
79
     * The overall rating, based on a collection of reviews or ratings, of the
80
     * item.
81
     *
82
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
83
     *
84
     * @return static
85
     *
86
     * @see http://schema.org/aggregateRating
87
     */
88
    public function aggregateRating($aggregateRating)
89
    {
90
        return $this->setProperty('aggregateRating', $aggregateRating);
91
    }
92
93
    /**
94
     * An alias for the item.
95
     *
96
     * @param string|string[] $alternateName
97
     *
98
     * @return static
99
     *
100
     * @see http://schema.org/alternateName
101
     */
102
    public function alternateName($alternateName)
103
    {
104
        return $this->setProperty('alternateName', $alternateName);
105
    }
106
107
    /**
108
     * An amenity feature (e.g. a characteristic or service) of the
109
     * Accommodation. This generic property does not make a statement about
110
     * whether the feature is included in an offer for the main accommodation or
111
     * available at extra costs.
112
     *
113
     * @param \Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract|\Spatie\SchemaOrg\Contracts\LocationFeatureSpecificationContract[] $amenityFeature
114
     *
115
     * @return static
116
     *
117
     * @see http://schema.org/amenityFeature
118
     */
119
    public function amenityFeature($amenityFeature)
120
    {
121
        return $this->setProperty('amenityFeature', $amenityFeature);
122
    }
123
124
    /**
125
     * The geographic area where a service or offered item is provided.
126
     *
127
     * @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
128
     *
129
     * @return static
130
     *
131
     * @see http://schema.org/areaServed
132
     */
133
    public function areaServed($areaServed)
134
    {
135
        return $this->setProperty('areaServed', $areaServed);
136
    }
137
138
    /**
139
     * An intended audience, i.e. a group for whom something was created.
140
     *
141
     * @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[] $audience
142
     *
143
     * @return static
144
     *
145
     * @see http://schema.org/audience
146
     */
147
    public function audience($audience)
148
    {
149
        return $this->setProperty('audience', $audience);
150
    }
151
152
    /**
153
     * A language someone may use with or at the item, service or place. Please
154
     * use one of the language codes from the [IETF BCP 47
155
     * standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]]
156
     *
157
     * @param \Spatie\SchemaOrg\Contracts\LanguageContract|\Spatie\SchemaOrg\Contracts\LanguageContract[]|string|string[] $availableLanguage
158
     *
159
     * @return static
160
     *
161
     * @see http://schema.org/availableLanguage
162
     */
163
    public function availableLanguage($availableLanguage)
164
    {
165
        return $this->setProperty('availableLanguage', $availableLanguage);
166
    }
167
168
    /**
169
     * An award won by or for this item.
170
     *
171
     * @param string|string[] $award
172
     *
173
     * @return static
174
     *
175
     * @see http://schema.org/award
176
     */
177
    public function award($award)
178
    {
179
        return $this->setProperty('award', $award);
180
    }
181
182
    /**
183
     * Awards won by or for this item.
184
     *
185
     * @param string|string[] $awards
186
     *
187
     * @return static
188
     *
189
     * @see http://schema.org/awards
190
     */
191
    public function awards($awards)
192
    {
193
        return $this->setProperty('awards', $awards);
194
    }
195
196
    /**
197
     * A short textual code (also called "store code") that uniquely identifies
198
     * a place of business. The code is typically assigned by the
199
     * parentOrganization and used in structured URLs.
200
     * 
201
     * For example, in the URL
202
     * http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047"
203
     * is a branchCode for a particular branch.
204
     *
205
     * @param string|string[] $branchCode
206
     *
207
     * @return static
208
     *
209
     * @see http://schema.org/branchCode
210
     */
211
    public function branchCode($branchCode)
212
    {
213
        return $this->setProperty('branchCode', $branchCode);
214
    }
215
216
    /**
217
     * The larger organization that this local business is a branch of, if any.
218
     * Not to be confused with (anatomical)[[branch]].
219
     *
220
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $branchOf
221
     *
222
     * @return static
223
     *
224
     * @see http://schema.org/branchOf
225
     */
226
    public function branchOf($branchOf)
227
    {
228
        return $this->setProperty('branchOf', $branchOf);
229
    }
230
231
    /**
232
     * The brand(s) associated with a product or service, or the brand(s)
233
     * maintained by an organization or business person.
234
     *
235
     * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
236
     *
237
     * @return static
238
     *
239
     * @see http://schema.org/brand
240
     */
241
    public function brand($brand)
242
    {
243
        return $this->setProperty('brand', $brand);
244
    }
245
246
    /**
247
     * The earliest someone may check into a lodging establishment.
248
     *
249
     * @param \DateTimeInterface|\DateTimeInterface[] $checkinTime
250
     *
251
     * @return static
252
     *
253
     * @see http://schema.org/checkinTime
254
     */
255
    public function checkinTime($checkinTime)
256
    {
257
        return $this->setProperty('checkinTime', $checkinTime);
258
    }
259
260
    /**
261
     * The latest someone may check out of a lodging establishment.
262
     *
263
     * @param \DateTimeInterface|\DateTimeInterface[] $checkoutTime
264
     *
265
     * @return static
266
     *
267
     * @see http://schema.org/checkoutTime
268
     */
269
    public function checkoutTime($checkoutTime)
270
    {
271
        return $this->setProperty('checkoutTime', $checkoutTime);
272
    }
273
274
    /**
275
     * A contact point for a person or organization.
276
     *
277
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint
278
     *
279
     * @return static
280
     *
281
     * @see http://schema.org/contactPoint
282
     */
283
    public function contactPoint($contactPoint)
284
    {
285
        return $this->setProperty('contactPoint', $contactPoint);
286
    }
287
288
    /**
289
     * A contact point for a person or organization.
290
     *
291
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints
292
     *
293
     * @return static
294
     *
295
     * @see http://schema.org/contactPoints
296
     */
297
    public function contactPoints($contactPoints)
298
    {
299
        return $this->setProperty('contactPoints', $contactPoints);
300
    }
301
302
    /**
303
     * The basic containment relation between a place and one that contains it.
304
     *
305
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedIn
306
     *
307
     * @return static
308
     *
309
     * @see http://schema.org/containedIn
310
     */
311
    public function containedIn($containedIn)
312
    {
313
        return $this->setProperty('containedIn', $containedIn);
314
    }
315
316
    /**
317
     * The basic containment relation between a place and one that contains it.
318
     *
319
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containedInPlace
320
     *
321
     * @return static
322
     *
323
     * @see http://schema.org/containedInPlace
324
     */
325
    public function containedInPlace($containedInPlace)
326
    {
327
        return $this->setProperty('containedInPlace', $containedInPlace);
328
    }
329
330
    /**
331
     * The basic containment relation between a place and another that it
332
     * contains.
333
     *
334
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $containsPlace
335
     *
336
     * @return static
337
     *
338
     * @see http://schema.org/containsPlace
339
     */
340
    public function containsPlace($containsPlace)
341
    {
342
        return $this->setProperty('containsPlace', $containsPlace);
343
    }
344
345
    /**
346
     * The currency accepted.
347
     * 
348
     * Use standard formats: [ISO 4217 currency
349
     * format](http://en.wikipedia.org/wiki/ISO_4217) e.g. "USD"; [Ticker
350
     * symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for
351
     * cryptocurrencies e.g. "BTC"; well known names for [Local Exchange
352
     * Tradings
353
     * Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system)
354
     * (LETS) and other currency types e.g. "Ithaca HOUR".
355
     *
356
     * @param string|string[] $currenciesAccepted
357
     *
358
     * @return static
359
     *
360
     * @see http://schema.org/currenciesAccepted
361
     */
362
    public function currenciesAccepted($currenciesAccepted)
363
    {
364
        return $this->setProperty('currenciesAccepted', $currenciesAccepted);
365
    }
366
367
    /**
368
     * A relationship between an organization and a department of that
369
     * organization, also described as an organization (allowing different urls,
370
     * logos, opening hours). For example: a store with a pharmacy, or a bakery
371
     * with a cafe.
372
     *
373
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department
374
     *
375
     * @return static
376
     *
377
     * @see http://schema.org/department
378
     */
379
    public function department($department)
380
    {
381
        return $this->setProperty('department', $department);
382
    }
383
384
    /**
385
     * A description of the item.
386
     *
387
     * @param string|string[] $description
388
     *
389
     * @return static
390
     *
391
     * @see http://schema.org/description
392
     */
393
    public function description($description)
394
    {
395
        return $this->setProperty('description', $description);
396
    }
397
398
    /**
399
     * A sub property of description. A short description of the item used to
400
     * disambiguate from other, similar items. Information from other properties
401
     * (in particular, name) may be necessary for the description to be useful
402
     * for disambiguation.
403
     *
404
     * @param string|string[] $disambiguatingDescription
405
     *
406
     * @return static
407
     *
408
     * @see http://schema.org/disambiguatingDescription
409
     */
410
    public function disambiguatingDescription($disambiguatingDescription)
411
    {
412
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
413
    }
414
415
    /**
416
     * The date that this organization was dissolved.
417
     *
418
     * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate
419
     *
420
     * @return static
421
     *
422
     * @see http://schema.org/dissolutionDate
423
     */
424
    public function dissolutionDate($dissolutionDate)
425
    {
426
        return $this->setProperty('dissolutionDate', $dissolutionDate);
427
    }
428
429
    /**
430
     * The Dun & Bradstreet DUNS number for identifying an organization or
431
     * business person.
432
     *
433
     * @param string|string[] $duns
434
     *
435
     * @return static
436
     *
437
     * @see http://schema.org/duns
438
     */
439
    public function duns($duns)
440
    {
441
        return $this->setProperty('duns', $duns);
442
    }
443
444
    /**
445
     * Email address.
446
     *
447
     * @param string|string[] $email
448
     *
449
     * @return static
450
     *
451
     * @see http://schema.org/email
452
     */
453
    public function email($email)
454
    {
455
        return $this->setProperty('email', $email);
456
    }
457
458
    /**
459
     * Someone working for this organization.
460
     *
461
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee
462
     *
463
     * @return static
464
     *
465
     * @see http://schema.org/employee
466
     */
467
    public function employee($employee)
468
    {
469
        return $this->setProperty('employee', $employee);
470
    }
471
472
    /**
473
     * People working for this organization.
474
     *
475
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees
476
     *
477
     * @return static
478
     *
479
     * @see http://schema.org/employees
480
     */
481
    public function employees($employees)
482
    {
483
        return $this->setProperty('employees', $employees);
484
    }
485
486
    /**
487
     * Upcoming or past event associated with this place, organization, or
488
     * action.
489
     *
490
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
491
     *
492
     * @return static
493
     *
494
     * @see http://schema.org/event
495
     */
496
    public function event($event)
497
    {
498
        return $this->setProperty('event', $event);
499
    }
500
501
    /**
502
     * Upcoming or past events associated with this place or organization.
503
     *
504
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
505
     *
506
     * @return static
507
     *
508
     * @see http://schema.org/events
509
     */
510
    public function events($events)
511
    {
512
        return $this->setProperty('events', $events);
513
    }
514
515
    /**
516
     * The fax number.
517
     *
518
     * @param string|string[] $faxNumber
519
     *
520
     * @return static
521
     *
522
     * @see http://schema.org/faxNumber
523
     */
524
    public function faxNumber($faxNumber)
525
    {
526
        return $this->setProperty('faxNumber', $faxNumber);
527
    }
528
529
    /**
530
     * A person who founded this organization.
531
     *
532
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder
533
     *
534
     * @return static
535
     *
536
     * @see http://schema.org/founder
537
     */
538
    public function founder($founder)
539
    {
540
        return $this->setProperty('founder', $founder);
541
    }
542
543
    /**
544
     * A person who founded this organization.
545
     *
546
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders
547
     *
548
     * @return static
549
     *
550
     * @see http://schema.org/founders
551
     */
552
    public function founders($founders)
553
    {
554
        return $this->setProperty('founders', $founders);
555
    }
556
557
    /**
558
     * The date that this organization was founded.
559
     *
560
     * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate
561
     *
562
     * @return static
563
     *
564
     * @see http://schema.org/foundingDate
565
     */
566
    public function foundingDate($foundingDate)
567
    {
568
        return $this->setProperty('foundingDate', $foundingDate);
569
    }
570
571
    /**
572
     * The place where the Organization was founded.
573
     *
574
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation
575
     *
576
     * @return static
577
     *
578
     * @see http://schema.org/foundingLocation
579
     */
580
    public function foundingLocation($foundingLocation)
581
    {
582
        return $this->setProperty('foundingLocation', $foundingLocation);
583
    }
584
585
    /**
586
     * A person or organization that supports (sponsors) something through some
587
     * kind of financial contribution.
588
     *
589
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
590
     *
591
     * @return static
592
     *
593
     * @see http://schema.org/funder
594
     */
595
    public function funder($funder)
596
    {
597
        return $this->setProperty('funder', $funder);
598
    }
599
600
    /**
601
     * The geo coordinates of the place.
602
     *
603
     * @param \Spatie\SchemaOrg\Contracts\GeoCoordinatesContract|\Spatie\SchemaOrg\Contracts\GeoCoordinatesContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[] $geo
604
     *
605
     * @return static
606
     *
607
     * @see http://schema.org/geo
608
     */
609
    public function geo($geo)
610
    {
611
        return $this->setProperty('geo', $geo);
612
    }
613
614
    /**
615
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
616
     * referred to as International Location Number or ILN) of the respective
617
     * organization, person, or place. The GLN is a 13-digit number used to
618
     * identify parties and physical locations.
619
     *
620
     * @param string|string[] $globalLocationNumber
621
     *
622
     * @return static
623
     *
624
     * @see http://schema.org/globalLocationNumber
625
     */
626
    public function globalLocationNumber($globalLocationNumber)
627
    {
628
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
629
    }
630
631
    /**
632
     * A URL to a map of the place.
633
     *
634
     * @param \Spatie\SchemaOrg\Contracts\MapContract|\Spatie\SchemaOrg\Contracts\MapContract[]|string|string[] $hasMap
635
     *
636
     * @return static
637
     *
638
     * @see http://schema.org/hasMap
639
     */
640
    public function hasMap($hasMap)
641
    {
642
        return $this->setProperty('hasMap', $hasMap);
643
    }
644
645
    /**
646
     * Indicates an OfferCatalog listing for this Organization, Person, or
647
     * Service.
648
     *
649
     * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
650
     *
651
     * @return static
652
     *
653
     * @see http://schema.org/hasOfferCatalog
654
     */
655
    public function hasOfferCatalog($hasOfferCatalog)
656
    {
657
        return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
658
    }
659
660
    /**
661
     * Points-of-Sales operated by the organization or person.
662
     *
663
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS
664
     *
665
     * @return static
666
     *
667
     * @see http://schema.org/hasPOS
668
     */
669
    public function hasPOS($hasPOS)
670
    {
671
        return $this->setProperty('hasPOS', $hasPOS);
672
    }
673
674
    /**
675
     * The identifier property represents any kind of identifier for any kind of
676
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
677
     * dedicated properties for representing many of these, either as textual
678
     * strings or as URL (URI) links. See [background
679
     * notes](/docs/datamodel.html#identifierBg) for more details.
680
     *
681
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
682
     *
683
     * @return static
684
     *
685
     * @see http://schema.org/identifier
686
     */
687
    public function identifier($identifier)
688
    {
689
        return $this->setProperty('identifier', $identifier);
690
    }
691
692
    /**
693
     * An image of the item. This can be a [[URL]] or a fully described
694
     * [[ImageObject]].
695
     *
696
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
697
     *
698
     * @return static
699
     *
700
     * @see http://schema.org/image
701
     */
702
    public function image($image)
703
    {
704
        return $this->setProperty('image', $image);
705
    }
706
707
    /**
708
     * A flag to signal that the item, event, or place is accessible for free.
709
     *
710
     * @param bool|bool[] $isAccessibleForFree
711
     *
712
     * @return static
713
     *
714
     * @see http://schema.org/isAccessibleForFree
715
     */
716
    public function isAccessibleForFree($isAccessibleForFree)
717
    {
718
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
719
    }
720
721
    /**
722
     * The International Standard of Industrial Classification of All Economic
723
     * Activities (ISIC), Revision 4 code for a particular organization,
724
     * business person, or place.
725
     *
726
     * @param string|string[] $isicV4
727
     *
728
     * @return static
729
     *
730
     * @see http://schema.org/isicV4
731
     */
732
    public function isicV4($isicV4)
733
    {
734
        return $this->setProperty('isicV4', $isicV4);
735
    }
736
737
    /**
738
     * The latitude of a location. For example ```37.42242``` ([WGS
739
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
740
     *
741
     * @param float|float[]|int|int[]|string|string[] $latitude
742
     *
743
     * @return static
744
     *
745
     * @see http://schema.org/latitude
746
     */
747
    public function latitude($latitude)
748
    {
749
        return $this->setProperty('latitude', $latitude);
750
    }
751
752
    /**
753
     * The official name of the organization, e.g. the registered company name.
754
     *
755
     * @param string|string[] $legalName
756
     *
757
     * @return static
758
     *
759
     * @see http://schema.org/legalName
760
     */
761
    public function legalName($legalName)
762
    {
763
        return $this->setProperty('legalName', $legalName);
764
    }
765
766
    /**
767
     * An organization identifier that uniquely identifies a legal entity as
768
     * defined in ISO 17442.
769
     *
770
     * @param string|string[] $leiCode
771
     *
772
     * @return static
773
     *
774
     * @see http://schema.org/leiCode
775
     */
776
    public function leiCode($leiCode)
777
    {
778
        return $this->setProperty('leiCode', $leiCode);
779
    }
780
781
    /**
782
     * The location of for example where the event is happening, an organization
783
     * is located, or where an action takes place.
784
     *
785
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
786
     *
787
     * @return static
788
     *
789
     * @see http://schema.org/location
790
     */
791
    public function location($location)
792
    {
793
        return $this->setProperty('location', $location);
794
    }
795
796
    /**
797
     * An associated logo.
798
     *
799
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
800
     *
801
     * @return static
802
     *
803
     * @see http://schema.org/logo
804
     */
805
    public function logo($logo)
806
    {
807
        return $this->setProperty('logo', $logo);
808
    }
809
810
    /**
811
     * The longitude of a location. For example ```-122.08585``` ([WGS
812
     * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).
813
     *
814
     * @param float|float[]|int|int[]|string|string[] $longitude
815
     *
816
     * @return static
817
     *
818
     * @see http://schema.org/longitude
819
     */
820
    public function longitude($longitude)
821
    {
822
        return $this->setProperty('longitude', $longitude);
823
    }
824
825
    /**
826
     * Indicates a page (or other CreativeWork) for which this thing is the main
827
     * entity being described. See [background
828
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
829
     *
830
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
831
     *
832
     * @return static
833
     *
834
     * @see http://schema.org/mainEntityOfPage
835
     */
836
    public function mainEntityOfPage($mainEntityOfPage)
837
    {
838
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
839
    }
840
841
    /**
842
     * A pointer to products or services offered by the organization or person.
843
     *
844
     * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer
845
     *
846
     * @return static
847
     *
848
     * @see http://schema.org/makesOffer
849
     */
850
    public function makesOffer($makesOffer)
851
    {
852
        return $this->setProperty('makesOffer', $makesOffer);
853
    }
854
855
    /**
856
     * A URL to a map of the place.
857
     *
858
     * @param string|string[] $map
859
     *
860
     * @return static
861
     *
862
     * @see http://schema.org/map
863
     */
864
    public function map($map)
865
    {
866
        return $this->setProperty('map', $map);
867
    }
868
869
    /**
870
     * A URL to a map of the place.
871
     *
872
     * @param string|string[] $maps
873
     *
874
     * @return static
875
     *
876
     * @see http://schema.org/maps
877
     */
878
    public function maps($maps)
879
    {
880
        return $this->setProperty('maps', $maps);
881
    }
882
883
    /**
884
     * The total number of individuals that may attend an event or venue.
885
     *
886
     * @param int|int[] $maximumAttendeeCapacity
887
     *
888
     * @return static
889
     *
890
     * @see http://schema.org/maximumAttendeeCapacity
891
     */
892
    public function maximumAttendeeCapacity($maximumAttendeeCapacity)
893
    {
894
        return $this->setProperty('maximumAttendeeCapacity', $maximumAttendeeCapacity);
895
    }
896
897
    /**
898
     * A member of an Organization or a ProgramMembership. Organizations can be
899
     * members of organizations; ProgramMembership is typically for individuals.
900
     *
901
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member
902
     *
903
     * @return static
904
     *
905
     * @see http://schema.org/member
906
     */
907
    public function member($member)
908
    {
909
        return $this->setProperty('member', $member);
910
    }
911
912
    /**
913
     * An Organization (or ProgramMembership) to which this Person or
914
     * Organization belongs.
915
     *
916
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf
917
     *
918
     * @return static
919
     *
920
     * @see http://schema.org/memberOf
921
     */
922
    public function memberOf($memberOf)
923
    {
924
        return $this->setProperty('memberOf', $memberOf);
925
    }
926
927
    /**
928
     * A member of this organization.
929
     *
930
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members
931
     *
932
     * @return static
933
     *
934
     * @see http://schema.org/members
935
     */
936
    public function members($members)
937
    {
938
        return $this->setProperty('members', $members);
939
    }
940
941
    /**
942
     * The North American Industry Classification System (NAICS) code for a
943
     * particular organization or business person.
944
     *
945
     * @param string|string[] $naics
946
     *
947
     * @return static
948
     *
949
     * @see http://schema.org/naics
950
     */
951
    public function naics($naics)
952
    {
953
        return $this->setProperty('naics', $naics);
954
    }
955
956
    /**
957
     * The name of the item.
958
     *
959
     * @param string|string[] $name
960
     *
961
     * @return static
962
     *
963
     * @see http://schema.org/name
964
     */
965
    public function name($name)
966
    {
967
        return $this->setProperty('name', $name);
968
    }
969
970
    /**
971
     * The number of employees in an organization e.g. business.
972
     *
973
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees
974
     *
975
     * @return static
976
     *
977
     * @see http://schema.org/numberOfEmployees
978
     */
979
    public function numberOfEmployees($numberOfEmployees)
980
    {
981
        return $this->setProperty('numberOfEmployees', $numberOfEmployees);
982
    }
983
984
    /**
985
     * The number of rooms (excluding bathrooms and closets) of the
986
     * accommodation or lodging business.
987
     * Typical unit code(s): ROM for room or C62 for no unit. The type of room
988
     * can be put in the unitText property of the QuantitativeValue.
989
     *
990
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|float|float[]|int|int[] $numberOfRooms
991
     *
992
     * @return static
993
     *
994
     * @see http://schema.org/numberOfRooms
995
     */
996
    public function numberOfRooms($numberOfRooms)
997
    {
998
        return $this->setProperty('numberOfRooms', $numberOfRooms);
999
    }
1000
1001
    /**
1002
     * A pointer to the organization or person making the offer.
1003
     *
1004
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy
1005
     *
1006
     * @return static
1007
     *
1008
     * @see http://schema.org/offeredBy
1009
     */
1010
    public function offeredBy($offeredBy)
1011
    {
1012
        return $this->setProperty('offeredBy', $offeredBy);
1013
    }
1014
1015
    /**
1016
     * The general opening hours for a business. Opening hours can be specified
1017
     * as a weekly time range, starting with days, then times per day. Multiple
1018
     * days can be listed with commas ',' separating each day. Day or time
1019
     * ranges are specified using a hyphen '-'.
1020
     * 
1021
     * * Days are specified using the following two-letter combinations:
1022
     * ```Mo```, ```Tu```, ```We```, ```Th```, ```Fr```, ```Sa```, ```Su```.
1023
     * * Times are specified using 24:00 time. For example, 3pm is specified as
1024
     * ```15:00```. 
1025
     * * Here is an example: <code>&lt;time itemprop="openingHours"
1026
     * datetime=&quot;Tu,Th 16:00-20:00&quot;&gt;Tuesdays and Thursdays
1027
     * 4-8pm&lt;/time&gt;</code>.
1028
     * * If a business is open 7 days a week, then it can be specified as
1029
     * <code>&lt;time itemprop=&quot;openingHours&quot;
1030
     * datetime=&quot;Mo-Su&quot;&gt;Monday through Sunday, all
1031
     * day&lt;/time&gt;</code>.
1032
     *
1033
     * @param string|string[] $openingHours
1034
     *
1035
     * @return static
1036
     *
1037
     * @see http://schema.org/openingHours
1038
     */
1039
    public function openingHours($openingHours)
1040
    {
1041
        return $this->setProperty('openingHours', $openingHours);
1042
    }
1043
1044
    /**
1045
     * The opening hours of a certain place.
1046
     *
1047
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $openingHoursSpecification
1048
     *
1049
     * @return static
1050
     *
1051
     * @see http://schema.org/openingHoursSpecification
1052
     */
1053
    public function openingHoursSpecification($openingHoursSpecification)
1054
    {
1055
        return $this->setProperty('openingHoursSpecification', $openingHoursSpecification);
1056
    }
1057
1058
    /**
1059
     * Products owned by the organization or person.
1060
     *
1061
     * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns
1062
     *
1063
     * @return static
1064
     *
1065
     * @see http://schema.org/owns
1066
     */
1067
    public function owns($owns)
1068
    {
1069
        return $this->setProperty('owns', $owns);
1070
    }
1071
1072
    /**
1073
     * The larger organization that this organization is a [[subOrganization]]
1074
     * of, if any.
1075
     *
1076
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization
1077
     *
1078
     * @return static
1079
     *
1080
     * @see http://schema.org/parentOrganization
1081
     */
1082
    public function parentOrganization($parentOrganization)
1083
    {
1084
        return $this->setProperty('parentOrganization', $parentOrganization);
1085
    }
1086
1087
    /**
1088
     * Cash, Credit Card, Cryptocurrency, Local Exchange Tradings System, etc.
1089
     *
1090
     * @param string|string[] $paymentAccepted
1091
     *
1092
     * @return static
1093
     *
1094
     * @see http://schema.org/paymentAccepted
1095
     */
1096
    public function paymentAccepted($paymentAccepted)
1097
    {
1098
        return $this->setProperty('paymentAccepted', $paymentAccepted);
1099
    }
1100
1101
    /**
1102
     * Indicates whether pets are allowed to enter the accommodation or lodging
1103
     * business. More detailed information can be put in a text value.
1104
     *
1105
     * @param bool|bool[]|string|string[] $petsAllowed
1106
     *
1107
     * @return static
1108
     *
1109
     * @see http://schema.org/petsAllowed
1110
     */
1111
    public function petsAllowed($petsAllowed)
1112
    {
1113
        return $this->setProperty('petsAllowed', $petsAllowed);
1114
    }
1115
1116
    /**
1117
     * A photograph of this place.
1118
     *
1119
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photo
1120
     *
1121
     * @return static
1122
     *
1123
     * @see http://schema.org/photo
1124
     */
1125
    public function photo($photo)
1126
    {
1127
        return $this->setProperty('photo', $photo);
1128
    }
1129
1130
    /**
1131
     * Photographs of this place.
1132
     *
1133
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|\Spatie\SchemaOrg\Contracts\PhotographContract|\Spatie\SchemaOrg\Contracts\PhotographContract[] $photos
1134
     *
1135
     * @return static
1136
     *
1137
     * @see http://schema.org/photos
1138
     */
1139
    public function photos($photos)
1140
    {
1141
        return $this->setProperty('photos', $photos);
1142
    }
1143
1144
    /**
1145
     * Indicates a potential Action, which describes an idealized action in
1146
     * which this thing would play an 'object' role.
1147
     *
1148
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
1149
     *
1150
     * @return static
1151
     *
1152
     * @see http://schema.org/potentialAction
1153
     */
1154
    public function potentialAction($potentialAction)
1155
    {
1156
        return $this->setProperty('potentialAction', $potentialAction);
1157
    }
1158
1159
    /**
1160
     * The price range of the business, for example ```$$$```.
1161
     *
1162
     * @param string|string[] $priceRange
1163
     *
1164
     * @return static
1165
     *
1166
     * @see http://schema.org/priceRange
1167
     */
1168
    public function priceRange($priceRange)
1169
    {
1170
        return $this->setProperty('priceRange', $priceRange);
1171
    }
1172
1173
    /**
1174
     * A flag to signal that the [[Place]] is open to public visitors.  If this
1175
     * property is omitted there is no assumed default boolean value
1176
     *
1177
     * @param bool|bool[] $publicAccess
1178
     *
1179
     * @return static
1180
     *
1181
     * @see http://schema.org/publicAccess
1182
     */
1183
    public function publicAccess($publicAccess)
1184
    {
1185
        return $this->setProperty('publicAccess', $publicAccess);
1186
    }
1187
1188
    /**
1189
     * The publishingPrinciples property indicates (typically via [[URL]]) a
1190
     * document describing the editorial principles of an [[Organization]] (or
1191
     * individual e.g. a [[Person]] writing a blog) that relate to their
1192
     * activities as a publisher, e.g. ethics or diversity policies. When
1193
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
1194
     * those of the party primarily responsible for the creation of the
1195
     * [[CreativeWork]].
1196
     * 
1197
     * While such policies are most typically expressed in natural language,
1198
     * sometimes related information (e.g. indicating a [[funder]]) can be
1199
     * expressed using schema.org terminology.
1200
     *
1201
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples
1202
     *
1203
     * @return static
1204
     *
1205
     * @see http://schema.org/publishingPrinciples
1206
     */
1207
    public function publishingPrinciples($publishingPrinciples)
1208
    {
1209
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
1210
    }
1211
1212
    /**
1213
     * A review of the item.
1214
     *
1215
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
1216
     *
1217
     * @return static
1218
     *
1219
     * @see http://schema.org/review
1220
     */
1221
    public function review($review)
1222
    {
1223
        return $this->setProperty('review', $review);
1224
    }
1225
1226
    /**
1227
     * Review of the item.
1228
     *
1229
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews
1230
     *
1231
     * @return static
1232
     *
1233
     * @see http://schema.org/reviews
1234
     */
1235
    public function reviews($reviews)
1236
    {
1237
        return $this->setProperty('reviews', $reviews);
1238
    }
1239
1240
    /**
1241
     * URL of a reference Web page that unambiguously indicates the item's
1242
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
1243
     * official website.
1244
     *
1245
     * @param string|string[] $sameAs
1246
     *
1247
     * @return static
1248
     *
1249
     * @see http://schema.org/sameAs
1250
     */
1251
    public function sameAs($sameAs)
1252
    {
1253
        return $this->setProperty('sameAs', $sameAs);
1254
    }
1255
1256
    /**
1257
     * A pointer to products or services sought by the organization or person
1258
     * (demand).
1259
     *
1260
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks
1261
     *
1262
     * @return static
1263
     *
1264
     * @see http://schema.org/seeks
1265
     */
1266
    public function seeks($seeks)
1267
    {
1268
        return $this->setProperty('seeks', $seeks);
1269
    }
1270
1271
    /**
1272
     * The geographic area where the service is provided.
1273
     *
1274
     * @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
1275
     *
1276
     * @return static
1277
     *
1278
     * @see http://schema.org/serviceArea
1279
     */
1280
    public function serviceArea($serviceArea)
1281
    {
1282
        return $this->setProperty('serviceArea', $serviceArea);
1283
    }
1284
1285
    /**
1286
     * A slogan or motto associated with the item.
1287
     *
1288
     * @param string|string[] $slogan
1289
     *
1290
     * @return static
1291
     *
1292
     * @see http://schema.org/slogan
1293
     */
1294
    public function slogan($slogan)
1295
    {
1296
        return $this->setProperty('slogan', $slogan);
1297
    }
1298
1299
    /**
1300
     * Indicates whether it is allowed to smoke in the place, e.g. in the
1301
     * restaurant, hotel or hotel room.
1302
     *
1303
     * @param bool|bool[] $smokingAllowed
1304
     *
1305
     * @return static
1306
     *
1307
     * @see http://schema.org/smokingAllowed
1308
     */
1309
    public function smokingAllowed($smokingAllowed)
1310
    {
1311
        return $this->setProperty('smokingAllowed', $smokingAllowed);
1312
    }
1313
1314
    /**
1315
     * The special opening hours of a certain place.
1316
     * 
1317
     * Use this to explicitly override general opening hours brought in scope by
1318
     * [[openingHoursSpecification]] or [[openingHours]].
1319
     *
1320
     * @param \Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract|\Spatie\SchemaOrg\Contracts\OpeningHoursSpecificationContract[] $specialOpeningHoursSpecification
1321
     *
1322
     * @return static
1323
     *
1324
     * @see http://schema.org/specialOpeningHoursSpecification
1325
     */
1326
    public function specialOpeningHoursSpecification($specialOpeningHoursSpecification)
1327
    {
1328
        return $this->setProperty('specialOpeningHoursSpecification', $specialOpeningHoursSpecification);
1329
    }
1330
1331
    /**
1332
     * A person or organization that supports a thing through a pledge, promise,
1333
     * or financial contribution. e.g. a sponsor of a Medical Study or a
1334
     * corporate sponsor of an event.
1335
     *
1336
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
1337
     *
1338
     * @return static
1339
     *
1340
     * @see http://schema.org/sponsor
1341
     */
1342
    public function sponsor($sponsor)
1343
    {
1344
        return $this->setProperty('sponsor', $sponsor);
1345
    }
1346
1347
    /**
1348
     * An official rating for a lodging business or food establishment, e.g.
1349
     * from national associations or standards bodies. Use the author property
1350
     * to indicate the rating organization, e.g. as an Organization with name
1351
     * such as (e.g. HOTREC, DEHOGA, WHR, or Hotelstars).
1352
     *
1353
     * @param \Spatie\SchemaOrg\Contracts\RatingContract|\Spatie\SchemaOrg\Contracts\RatingContract[] $starRating
1354
     *
1355
     * @return static
1356
     *
1357
     * @see http://schema.org/starRating
1358
     */
1359
    public function starRating($starRating)
1360
    {
1361
        return $this->setProperty('starRating', $starRating);
1362
    }
1363
1364
    /**
1365
     * A relationship between two organizations where the first includes the
1366
     * second, e.g., as a subsidiary. See also: the more specific 'department'
1367
     * property.
1368
     *
1369
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization
1370
     *
1371
     * @return static
1372
     *
1373
     * @see http://schema.org/subOrganization
1374
     */
1375
    public function subOrganization($subOrganization)
1376
    {
1377
        return $this->setProperty('subOrganization', $subOrganization);
1378
    }
1379
1380
    /**
1381
     * A CreativeWork or Event about this Thing.
1382
     *
1383
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
1384
     *
1385
     * @return static
1386
     *
1387
     * @see http://schema.org/subjectOf
1388
     */
1389
    public function subjectOf($subjectOf)
1390
    {
1391
        return $this->setProperty('subjectOf', $subjectOf);
1392
    }
1393
1394
    /**
1395
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US
1396
     * or the CIF/NIF in Spain.
1397
     *
1398
     * @param string|string[] $taxID
1399
     *
1400
     * @return static
1401
     *
1402
     * @see http://schema.org/taxID
1403
     */
1404
    public function taxID($taxID)
1405
    {
1406
        return $this->setProperty('taxID', $taxID);
1407
    }
1408
1409
    /**
1410
     * The telephone number.
1411
     *
1412
     * @param string|string[] $telephone
1413
     *
1414
     * @return static
1415
     *
1416
     * @see http://schema.org/telephone
1417
     */
1418
    public function telephone($telephone)
1419
    {
1420
        return $this->setProperty('telephone', $telephone);
1421
    }
1422
1423
    /**
1424
     * URL of the item.
1425
     *
1426
     * @param string|string[] $url
1427
     *
1428
     * @return static
1429
     *
1430
     * @see http://schema.org/url
1431
     */
1432
    public function url($url)
1433
    {
1434
        return $this->setProperty('url', $url);
1435
    }
1436
1437
    /**
1438
     * The Value-added Tax ID of the organization or person.
1439
     *
1440
     * @param string|string[] $vatID
1441
     *
1442
     * @return static
1443
     *
1444
     * @see http://schema.org/vatID
1445
     */
1446
    public function vatID($vatID)
1447
    {
1448
        return $this->setProperty('vatID', $vatID);
1449
    }
1450
1451
}
1452