Skip to content

Commit 0773895

Browse files
authored
Update all APIs and Related Models (#723)
* Update all APIs and Related Models Correct templates so that optional request method params are nullable Separate rector runs and configurations for efficiency. CatalogItemSDK moved from CatalogApi namespace to CatalogItemsApi namespace. OrdersSDK moved from OrdersV0Api namespace to OrdersApi namespace. Removed ShipmentApi/OrdersSDK. Moved VendorInvoicesSDK from VendorPaymentsApi namespace to VendorInvoicesApi namespace. Breaking changes to the FulfillmentInboundV0SDK due to deprecations. Move Finances SDK and Related Models Rename FinancesSDK to FinancialEventsSDK. Move related models from Finances namespace to Finances/FinancialEvents namespace. Rename generator-finances.yaml to generator-finances-financial-events.yaml Add Financial Transactions SDK and Related Models Add Financial Transfers SDK and Related Models * Update README.md as necessary
1 parent b7fbaad commit 0773895

File tree

464 files changed

+12587
-12814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

464 files changed

+12587
-12814
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,20 @@ Some minor adjustments were made in the template files for models/api.
106106

107107
- [APlusSDK](/src/AmazonPHP/SellingPartner/Api/AplusContentApi/APlusSDK.php)
108108
- [ApplicationManagement](/src/AmazonPHP/SellingPartner/Api/ApplicationsApi/ApplicationManagementSDK.php)
109-
- [CatalogItemSDK](/src/AmazonPHP/SellingPartner/Api/CatalogApi/CatalogItemSDK.php)
109+
- [CatalogItemSDK](/src/AmazonPHP/SellingPartner/Api/CatalogItemsApi/CatalogItemSDK.php)
110110
- [FBAInboundSDK](/src/AmazonPHP/SellingPartner/Api/FbaInboundApi/FBAInboundSDK.php)
111111
- [FBAInventorySDK](/src/AmazonPHP/SellingPartner/Api/FbaInventoryApi/FBAInventorySDK.php)
112112
- [FulfillmentInboundV0SDK](/src/AmazonPHP/SellingPartner/Api/FbaInboundApi/FulfillmentInboundV0SDK.php)
113113
- [FulfillmentInboundSDK](/src/AmazonPHP/SellingPartner/Api/FbaInboundApi/FulfillmentInboundSDK.php)
114114
- [FeedsSDK](/src/AmazonPHP/SellingPartner/Api/FeedsApi/FeedsSDK.php)
115-
- [FinancesSDK](/src/AmazonPHP/SellingPartner/Api/DefaultApi/FinancesSDK.php)
115+
- [FinancialEventsSDK](/src/AmazonPHP/SellingPartner/Api/DefaultApi/FinancialEventsSDK.php)
116+
- [FinancialTransactionsSDK](/src/AmazonPHP/SellingPartner/Api/DefaultApi/FinancialTransactionsSDK.php)
117+
- [FinancialTransfersSDK](/src/AmazonPHP/SellingPartner/Api/DefaultApi/FinancialTransfersSDK.php)
116118
- [FulfillmentOutboundSDK](/src/AmazonPHP/SellingPartner/Api/FbaOutboundApi/FulfillmentOutboundSDK.php)
117119
- [ListingsItemsSDK](/src/AmazonPHP/SellingPartner/Api/ListingsApi/ListingsItemsSDK.php)
118120
- [MessagingSDK](/src/AmazonPHP/SellingPartner/Api/MessagingApi/MessagingSDK.php)
119121
- [NotificationsSDK](/src/AmazonPHP/SellingPartner/Api/NotificationsApi/NotificationsSDK.php)
120-
- [OrdersSDK](/src/AmazonPHP/SellingPartner/Api/OrdersV0Api/OrdersSDK.php)
121-
- [Shipment/OrdersSDK](/src/AmazonPHP/SellingPartner/Api/ShipmentApi/OrdersSDK.php)
122+
- [OrdersSDK](/src/AmazonPHP/SellingPartner/Api/OrdersApi/OrdersSDK.php)
122123
- [ProductFeesSDK](/src/AmazonPHP/SellingPartner/Api/FeesApi/ProductFeesSDK.php)
123124
- [ProductPricingSDK](/src/AmazonPHP/SellingPartner/Api/ProductPricingApi/ProductPricingSDK.php)
124125
- [ProductTypesDefinitionsSDK](/src/AmazonPHP/SellingPartner/Api/DefinitionsApi/ProductTypesDefinitionsSDK.php)
@@ -133,7 +134,7 @@ Some minor adjustments were made in the template files for models/api.
133134
- [UploadsSDK](/src/AmazonPHP/SellingPartner/Api/UploadsApi/UploadsSDK.php)
134135
- [WarehousingAndDistributionSDK](/src/AmazonPHP/SellingPartner/Api/AwdApi/WarehousingAndDistributionSDK.php)
135136
- VendorSDK
136-
- [VendorInvoicesSDK](/src/AmazonPHP/SellingPartner/Api/VendorPaymentsApi/VendorInvoicesSDK.php)
137+
- [VendorInvoicesSDK](/src/AmazonPHP/SellingPartner/Api/VendorInvoicesApi/VendorInvoicesSDK.php)
137138
- [VendorOrdersSDK](/src/AmazonPHP/SellingPartner/Api/VendorOrdersApi/VendorOrdersSDK.php)
138139
- [VendorShipmentsSDK](/src/AmazonPHP/SellingPartner/Api/VendorShippingApi/VendorShipmentsSDK.php)
139140
- [VendorTransactionStatusSDK](/src/AmazonPHP/SellingPartner/Api/VendorTransactionApi/VendorTransactionStatusSDK.php)

bin/generate.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,23 @@ docker run --user "$(id -u)":"$(id -g)" --rm -v "${PWD}:/sp-api" openapitools/op
4141

4242
docker run --user "$(id -u)":"$(id -g)" --rm -v "${PWD}:/sp-api" openapitools/openapi-generator-cli generate \
4343
-i https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/finances-api-model/financesV0.json \
44-
-c /sp-api/config/generator-finances.yaml \
44+
-c /sp-api/config/generator-finances-financial-events.yaml \
45+
--global-property models,apis,apiDocs=false,modelDocs=false,modelTests=false,apiTests=false,supportingFiles=false \
46+
-o /sp-api \
47+
--language-specific-primitives \\DateTimeInterface \
48+
--type-mappings date=\\DateTimeInterface,Date=\\DateTimeInterface,DateTime=\\DateTimeInterface
49+
50+
docker run --user "$(id -u)":"$(id -g)" --rm -v "${PWD}:/sp-api" openapitools/openapi-generator-cli generate \
51+
-i https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/finances-api-model/finances_2024-06-19.json \
52+
-c /sp-api/config/generator-finances-financial-transactions.yaml \
53+
--global-property models,apis,apiDocs=false,modelDocs=false,modelTests=false,apiTests=false,supportingFiles=false \
54+
-o /sp-api \
55+
--language-specific-primitives \\DateTimeInterface \
56+
--type-mappings date=\\DateTimeInterface,Date=\\DateTimeInterface,DateTime=\\DateTimeInterface
57+
58+
docker run --user "$(id -u)":"$(id -g)" --rm -v "${PWD}:/sp-api" openapitools/openapi-generator-cli generate \
59+
-i https://raw.githubusercontent.com/amzn/selling-partner-api-models/main/models/finances-api-model/transfers_2024-06-01.json \
60+
-c /sp-api/config/generator-finances-financial-transfers.yaml \
4561
--global-property models,apis,apiDocs=false,modelDocs=false,modelTests=false,apiTests=false,supportingFiles=false \
4662
-o /sp-api \
4763
--language-specific-primitives \\DateTimeInterface \

composer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
"Composer\\Config::disableProcessTimeout",
4646
"@clean",
4747
"bin/generate.sh",
48-
"@rector:process:force:php",
48+
"@rector:process:force:php:sets",
4949
"@cs:php:fix",
50-
"@rector:process:force:php",
50+
"@rector:process:force:php:rules",
5151
"@cs:php:fix"
5252
],
5353
"build": [
@@ -74,6 +74,14 @@
7474
"Composer\\Config::disableProcessTimeout",
7575
"tools/vendor/bin/rector process --no-diffs --no-progress-bar --config=rector-php.php"
7676
],
77+
"rector:process:force:php:sets": [
78+
"Composer\\Config::disableProcessTimeout",
79+
"tools/vendor/bin/rector process --no-diffs --no-progress-bar --config=rector-php-sets.php"
80+
],
81+
"rector:process:force:php:rules": [
82+
"Composer\\Config::disableProcessTimeout",
83+
"tools/vendor/bin/rector process --no-diffs --no-progress-bar --config=rector-php-rules.php"
84+
],
7785
"cs:php:fix": "tools/vendor/bin/php-cs-fixer fix",
7886
"tools:install": "composer install --working-dir=./tools",
7987
"post-install-cmd": [

config/generator-finances.yaml renamed to config/generator-finances-financial-events.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ templateDir: sp-api/resources/php-amazon-selling-partner-api
33
additionalProperties:
44
invokerPackage: AmazonPHP\SellingPartner
55
srcBasePath: src/AmazonPHP/SellingPartner
6-
modelPackage: Model\Finances
7-
packageName: Finances
6+
modelPackage: Model\Finances\FinancialEvents
7+
packageName: FinancialEvents
88
files:
99
api.mustache:
1010
templateType: API
11-
destinationFilename: /FinancesSDK.php
11+
destinationFilename: /FinancialEventsSDK.php
1212
api_interface.mustache:
1313
templateType: API
14-
destinationFilename: /FinancesSDKInterface.php
14+
destinationFilename: /FinancialEventsSDKInterface.php
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
generatorName: php
2+
templateDir: sp-api/resources/php-amazon-selling-partner-api
3+
additionalProperties:
4+
invokerPackage: AmazonPHP\SellingPartner
5+
srcBasePath: src/AmazonPHP/SellingPartner
6+
modelPackage: Model\Finances\FinancialTransactions
7+
packageName: FinancialTransactions
8+
files:
9+
api.mustache:
10+
templateType: API
11+
destinationFilename: /FinancialTransactionsSDK.php
12+
api_interface.mustache:
13+
templateType: API
14+
destinationFilename: /FinancialTransactionsSDKInterface.php
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
generatorName: php
2+
templateDir: sp-api/resources/php-amazon-selling-partner-api
3+
additionalProperties:
4+
invokerPackage: AmazonPHP\SellingPartner
5+
srcBasePath: src/AmazonPHP/SellingPartner
6+
modelPackage: Model\Finances\FinancialTransfers
7+
packageName: FinancialTransfers
8+
files:
9+
api.mustache:
10+
templateType: API
11+
destinationFilename: /FinancialTransfersSDK.php
12+
api_interface.mustache:
13+
templateType: API
14+
destinationFilename: /FinancialTransfersSDKInterface.php

rector-php-rules.php

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use AmazonPHP\Rector\ClassMethod\FixArgumentDefaultValuesNotMatchingTypeRector;
6+
use AmazonPHP\Rector\ClassMethod\SetNullableFunctionReturnTypeRector;
7+
use AmazonPHP\Rector\ValueObject\NullableReturnTypeDeclaration;
8+
use AmazonPHP\SellingPartner\Model\CatalogItem\Item as CatalogItem;
9+
use AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults;
10+
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\InboundShipmentInfo;
11+
use AmazonPHP\SellingPartner\Model\ListingsItems\Item as ListingsItem;
12+
use AmazonPHP\SellingPartner\Model\ListingsItems\ItemProcurement;
13+
use AmazonPHP\SellingPartner\Model\ListingsItems\ListingsItemPutRequest;
14+
use AmazonPHP\SellingPartner\Model\Messaging\GetSchemaResponse;
15+
use AmazonPHP\SellingPartner\Model\Orders\Address;
16+
use AmazonPHP\SellingPartner\Model\ProductPricing\GetOffersResult;
17+
use AmazonPHP\SellingPartner\Model\Uploads\UploadDestination;
18+
use PHPStan\Type\ArrayType;
19+
use PHPStan\Type\BooleanType;
20+
use PHPStan\Type\MixedType;
21+
use PHPStan\Type\NullType;
22+
use PHPStan\Type\StringType;
23+
use PHPStan\Type\UnionType;
24+
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
25+
use Rector\Config\RectorConfig;
26+
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector;
27+
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector;
28+
use Rector\TypeDeclaration\Rector\ClassMethod\AddParamTypeDeclarationRector;
29+
use Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector;
30+
use Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration;
31+
use Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration;
32+
33+
return static function (RectorConfig $config): void {
34+
35+
$config->parallel(seconds: 1200);
36+
37+
$config->autoloadPaths([
38+
__DIR__ ,
39+
]);
40+
41+
$config->paths([
42+
__DIR__ . '/src/AmazonPHP/SellingPartner/Api',
43+
__DIR__ . '/src/AmazonPHP/SellingPartner/Model',
44+
]);
45+
46+
$config->cacheClass(MemoryCacheStorage::class);
47+
48+
$config->rules([
49+
FixArgumentDefaultValuesNotMatchingTypeRector::class,
50+
RemoveUselessParamTagRector::class,
51+
RemoveUselessReturnTagRector::class,
52+
]);
53+
54+
/**
55+
* Explanation here: https://github.com/amazon-php/sp-api-sdk/issues/101#issuecomment-1002159988
56+
*/
57+
$config->ruleWithConfiguration(
58+
AddParamTypeDeclarationRector::class,
59+
[
60+
new AddParamTypeDeclaration(
61+
CatalogItem::class,
62+
'setAttributes',
63+
0,
64+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
65+
),
66+
new AddParamTypeDeclaration(
67+
ListingsItemPutRequest::class,
68+
'setAttributes',
69+
0,
70+
new ArrayType(new MixedType(), new MixedType())
71+
),
72+
new AddParamTypeDeclaration(
73+
ListingsItem::class,
74+
'setAttributes',
75+
0,
76+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
77+
),
78+
new AddParamTypeDeclaration(
79+
GetSchemaResponse::class,
80+
'setPayload',
81+
0,
82+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
83+
),
84+
new AddParamTypeDeclaration(
85+
UploadDestination::class,
86+
'setHeaders',
87+
0,
88+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
89+
),
90+
]
91+
);
92+
93+
$config->ruleWithConfiguration(
94+
AddReturnTypeDeclarationRector::class,
95+
[
96+
new AddReturnTypeDeclaration(
97+
GetOffersResult::class,
98+
'getMarketplaceId',
99+
new UnionType([new NullType(), new StringType()]),
100+
),
101+
new AddReturnTypeDeclaration(
102+
CatalogItem::class,
103+
'getAttributes',
104+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())]),
105+
),
106+
new AddReturnTypeDeclaration(
107+
ListingsItemPutRequest::class,
108+
'getAttributes',
109+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())]),
110+
),
111+
new AddReturnTypeDeclaration(
112+
GetSchemaResponse::class,
113+
'getPayload',
114+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())]),
115+
),
116+
new AddReturnTypeDeclaration(
117+
GetSchemaResponse::class,
118+
'getHeaders',
119+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())]),
120+
),
121+
// https://github.com/amazon-php/sp-api-sdk/pull/118
122+
new AddReturnTypeDeclaration(
123+
Address::class,
124+
'getName',
125+
new UnionType([new NullType(), new StringType()]),
126+
),
127+
new AddReturnTypeDeclaration(
128+
ListingsItem::class,
129+
'getAttributes',
130+
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())]),
131+
),
132+
]
133+
);
134+
135+
/**
136+
* Contrary to Amazon's schema, some of the properties are in fact nullable - this rule will fix that.
137+
*/
138+
$config->ruleWithConfiguration(
139+
SetNullableFunctionReturnTypeRector::class,
140+
[
141+
/**
142+
* Fulfillment Inbound API
143+
*/
144+
new NullableReturnTypeDeclaration(InboundShipmentInfo::class, 'getAreCasesRequired'),
145+
/**
146+
* Listings API
147+
*/
148+
new NullableReturnTypeDeclaration(ItemProcurement::class, 'getCostPrice'),
149+
/**
150+
* Catalog Items API
151+
*/
152+
new NullableReturnTypeDeclaration(ItemSearchResults::class, 'getPagination'),
153+
new NullableReturnTypeDeclaration(ItemSearchResults::class, 'getRefinements'),
154+
]
155+
);
156+
};

rector-php-sets.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use Rector\Caching\ValueObject\Storage\MemoryCacheStorage;
6+
use Rector\Config\RectorConfig;
7+
use Rector\Set\ValueObject\SetList;
8+
9+
return static function (RectorConfig $config): void {
10+
11+
$config->parallel(seconds: 1200);
12+
13+
$config->autoloadPaths([
14+
__DIR__ ,
15+
]);
16+
17+
$config->paths([
18+
__DIR__ . '/src/AmazonPHP/SellingPartner/Api',
19+
__DIR__ . '/src/AmazonPHP/SellingPartner/Model',
20+
]);
21+
22+
$config->cacheClass(MemoryCacheStorage::class);
23+
24+
$config->sets([
25+
SetList::PHP_73,
26+
SetList::PHP_74,
27+
SetList::PHP_80,
28+
SetList::PHP_81,
29+
SetList::TYPE_DECLARATION,
30+
]);
31+
};

rector-php.php

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,9 @@
55
use AmazonPHP\Rector\ClassMethod\FixArgumentDefaultValuesNotMatchingTypeRector;
66
use AmazonPHP\Rector\ClassMethod\SetNullableFunctionReturnTypeRector;
77
use AmazonPHP\Rector\ValueObject\NullableReturnTypeDeclaration;
8-
use AmazonPHP\SellingPartner\Api\VendorOrdersApi\VendorDirectFulfillmentOrdersSDK;
98
use AmazonPHP\SellingPartner\Model\CatalogItem\Item as CatalogItem;
109
use AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults;
1110
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\InboundShipmentInfo;
12-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\NonPartneredLtlDataOutput;
13-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\NonPartneredSmallParcelPackageOutput;
14-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\Pallet;
15-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\PartneredLtlDataOutput;
16-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\PartneredSmallParcelPackageOutput;
17-
use AmazonPHP\SellingPartner\Model\FulfillmentInboundV0\TransportHeader;
1811
use AmazonPHP\SellingPartner\Model\ListingsItems\Item as ListingsItem;
1912
use AmazonPHP\SellingPartner\Model\ListingsItems\ItemProcurement;
2013
use AmazonPHP\SellingPartner\Model\ListingsItems\ListingsItemPutRequest;
@@ -83,7 +76,7 @@
8376
new ArrayType(new MixedType(), new MixedType())
8477
),
8578
new AddParamTypeDeclaration(
86-
\AmazonPHP\SellingPartner\Model\ListingsItems\Item::class,
79+
ListingsItem::class,
8780
'setAttributes',
8881
0,
8982
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
@@ -100,12 +93,6 @@
10093
0,
10194
new UnionType([new NullType(), new ArrayType(new MixedType(), new MixedType())])
10295
),
103-
new AddParamTypeDeclaration(
104-
VendorDirectFulfillmentOrdersSDK::class,
105-
'getOrders',
106-
9,
107-
new BooleanType()
108-
),
10996
]
11097
);
11198

@@ -161,20 +148,6 @@
161148
* Fulfillment Inbound API
162149
*/
163150
new NullableReturnTypeDeclaration(InboundShipmentInfo::class, 'getAreCasesRequired'),
164-
new NullableReturnTypeDeclaration(TransportHeader::class, 'getIsPartnered'),
165-
new NullableReturnTypeDeclaration(PartneredSmallParcelPackageOutput::class, 'getTrackingId'),
166-
new NullableReturnTypeDeclaration(NonPartneredSmallParcelPackageOutput::class, 'getCarrierName'),
167-
new NullableReturnTypeDeclaration(NonPartneredSmallParcelPackageOutput::class, 'getTrackingId'),
168-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getCarrierName'),
169-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getTotalWeight'),
170-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getPreviewPickupDate'),
171-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getPreviewDeliveryDate'),
172-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getPreviewFreightClass'),
173-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getAmazonReferenceId'),
174-
new NullableReturnTypeDeclaration(PartneredLtlDataOutput::class, 'getIsBillOfLadingAvailable'),
175-
new NullableReturnTypeDeclaration(Pallet::class, 'getIsStacked'),
176-
new NullableReturnTypeDeclaration(NonPartneredLtlDataOutput::class, 'getCarrierName'),
177-
new NullableReturnTypeDeclaration(NonPartneredLtlDataOutput::class, 'getProNumber'),
178151
/**
179152
* Listings API
180153
*/

resources/php-amazon-selling-partner-api/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ final {{#operations}}class {{packageName}}SDK implements {{packageName}}SDKInter
189189
* @param AccessToken $accessToken
190190
* @param string $region
191191
{{#allParams}}
192-
* @param {{{dataType}}}{{^required}}{{#defaultValue}}{{/defaultValue}}{{^defaultValue}}|null{{/defaultValue}}{{/required}} ${{paramName}} {{#description}} {{description}}{{/description}} {{#required}}(required){{/required}}{{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
192+
* @param {{{dataType}}}{{^required}}|null{{/required}} ${{paramName}} {{#description}} {{description}}{{/description}} {{#required}}(required){{/required}}{{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
193193
{{/allParams}}
194194
*
195195
* @throws \{{invokerPackage}}\Exception\InvalidArgumentException

0 commit comments

Comments
 (0)