Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-swagger-webapi-async
Model
SchemaType
Async.php
Go to the documentation of this file.
1
<?php
7
declare(strict_types=1);
8
9
namespace
Magento\SwaggerWebapiAsync\Model\SchemaType
;
10
11
use
Magento\Swagger\Api\Data\SchemaTypeInterface
;
12
16
class
Async
implements
SchemaTypeInterface
17
{
21
private
$code;
22
28
public
function
__construct
(
string
$code =
'async'
)
29
{
30
$this->code = $code;
31
}
32
36
public
function
getCode
()
37
{
38
return
$this->code;
39
}
40
45
public
function
getSchemaUrlPath
(
$store
=
null
)
46
{
47
$store
=
$store
??
'all'
;
48
49
return
'/rest/'
.
$store
.
'/'
. $this->code .
'/schema?services=all'
;
50
}
51
}
Magento\SwaggerWebapiAsync\Model\SchemaType\Async
Definition:
Async.php:16
Magento\Swagger\Api\Data\SchemaTypeInterface
Definition:
SchemaTypeInterface.php:19
Magento\SwaggerWebapiAsync\Model\SchemaType\Async\__construct
__construct(string $code='async')
Definition:
Async.php:28
Magento\SwaggerWebapiAsync\Model\SchemaType\Async\getCode
getCode()
Definition:
Async.php:36
$store
$store
Definition:
payment_configuration_rollback.php:33
Magento\SwaggerWebapiAsync\Model\SchemaType
Definition:
Async.php:9
Magento\SwaggerWebapiAsync\Model\SchemaType\Async\getSchemaUrlPath
getSchemaUrlPath($store=null)
Definition:
Async.php:45