| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Square\Legacy\Models; |
| 6 |
|
| 7 |
/** |
| 8 |
* Defines the visibility of a custom attribute to applications other than their |
| 9 |
* creating application. |
| 10 |
*/ |
| 11 |
class CatalogCustomAttributeDefinitionAppVisibility |
| 12 |
{ |
| 13 |
/** |
| 14 |
* Other applications cannot read this custom attribute. |
| 15 |
*/ |
| 16 |
public const APP_VISIBILITY_HIDDEN = 'APP_VISIBILITY_HIDDEN'; |
| 17 |
|
| 18 |
/** |
| 19 |
* Other applications can read this custom attribute definition and |
| 20 |
* values. |
| 21 |
*/ |
| 22 |
public const APP_VISIBILITY_READ_ONLY = 'APP_VISIBILITY_READ_ONLY'; |
| 23 |
|
| 24 |
/** |
| 25 |
* Other applications can read and write custom attribute values on objects. |
| 26 |
* They can read but cannot edit the custom attribute definition. |
| 27 |
*/ |
| 28 |
public const APP_VISIBILITY_READ_WRITE_VALUES = 'APP_VISIBILITY_READ_WRITE_VALUES'; |
| 29 |
} |
| 30 |
|