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