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