Skip to content

Commit fdf448b

Browse files
committed
Update API DescribeMultiPrice: add request parameters OrderItems.$.SavingPlanPeriod.
1 parent 471605b commit fdf448b

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

wss-20211221/ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2025-11-17 Version: 1.3.4
2+
- Update API DescribeMultiPrice: add request parameters OrderItems.$.SavingPlanPeriod.
3+
- Update API DescribeMultiPrice: add response parameters Body.PriceInfo.Price.PriceDetails.$.ModuleDetails.$.SavingPlanDiscountPrice.
4+
- Update API DescribeMultiPrice: add response parameters Body.PriceInfo.Price.PriceDetails.$.PriceDetail.SavingPlanRecommendPrice.
5+
6+
17
2025-08-08 Version: 1.3.3
28
- Update API DescribePackageDeductions: add response parameters Body.Deductions.$.GroupResourceType.
39

wss-20211221/src/Models/DescribeMultiPriceRequest/orderItems.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ class orderItems extends Model
4848
* @var string
4949
*/
5050
public $resourceType;
51+
52+
/**
53+
* @var string
54+
*/
55+
public $savingPlanPeriod;
5156
protected $_name = [
5257
'amount' => 'Amount',
5358
'components' => 'Components',
@@ -57,6 +62,7 @@ class orderItems extends Model
5762
'promotionId' => 'PromotionId',
5863
'resourceIds' => 'ResourceIds',
5964
'resourceType' => 'ResourceType',
65+
'savingPlanPeriod' => 'SavingPlanPeriod',
6066
];
6167

6268
public function validate()
@@ -129,6 +135,10 @@ public function toArray($noStream = false)
129135
$res['ResourceType'] = $this->resourceType;
130136
}
131137

138+
if (null !== $this->savingPlanPeriod) {
139+
$res['SavingPlanPeriod'] = $this->savingPlanPeriod;
140+
}
141+
132142
return $res;
133143
}
134144

@@ -193,6 +203,10 @@ public static function fromMap($map = [])
193203
$model->resourceType = $map['ResourceType'];
194204
}
195205

206+
if (isset($map['SavingPlanPeriod'])) {
207+
$model->savingPlanPeriod = $map['SavingPlanPeriod'];
208+
}
209+
196210
return $model;
197211
}
198212
}

wss-20211221/src/Models/DescribeMultiPriceResponseBody/priceInfo/price/priceDetails/moduleDetails.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class moduleDetails extends Model
3333
*/
3434
public $originalPrice;
3535

36+
/**
37+
* @var float
38+
*/
39+
public $savingPlanDiscountPrice;
40+
3641
/**
3742
* @var float
3843
*/
@@ -43,6 +48,7 @@ class moduleDetails extends Model
4348
'moduleName' => 'ModuleName',
4449
'moduleValue' => 'ModuleValue',
4550
'originalPrice' => 'OriginalPrice',
51+
'savingPlanDiscountPrice' => 'SavingPlanDiscountPrice',
4652
'tradePrice' => 'TradePrice',
4753
];
4854

@@ -74,6 +80,10 @@ public function toArray($noStream = false)
7480
$res['OriginalPrice'] = $this->originalPrice;
7581
}
7682

83+
if (null !== $this->savingPlanDiscountPrice) {
84+
$res['SavingPlanDiscountPrice'] = $this->savingPlanDiscountPrice;
85+
}
86+
7787
if (null !== $this->tradePrice) {
7888
$res['TradePrice'] = $this->tradePrice;
7989
}
@@ -109,6 +119,10 @@ public static function fromMap($map = [])
109119
$model->originalPrice = $map['OriginalPrice'];
110120
}
111121

122+
if (isset($map['SavingPlanDiscountPrice'])) {
123+
$model->savingPlanDiscountPrice = $map['SavingPlanDiscountPrice'];
124+
}
125+
112126
if (isset($map['TradePrice'])) {
113127
$model->tradePrice = $map['TradePrice'];
114128
}

wss-20211221/src/Models/DescribeMultiPriceResponseBody/priceInfo/price/priceDetails/priceDetail.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ class priceDetail extends Model
2323
*/
2424
public $resourceType;
2525

26+
/**
27+
* @var float
28+
*/
29+
public $savingPlanRecommendPrice;
30+
2631
/**
2732
* @var float
2833
*/
@@ -31,6 +36,7 @@ class priceDetail extends Model
3136
'discountPrice' => 'DiscountPrice',
3237
'originalPrice' => 'OriginalPrice',
3338
'resourceType' => 'ResourceType',
39+
'savingPlanRecommendPrice' => 'SavingPlanRecommendPrice',
3440
'tradePrice' => 'TradePrice',
3541
];
3642

@@ -54,6 +60,10 @@ public function toArray($noStream = false)
5460
$res['ResourceType'] = $this->resourceType;
5561
}
5662

63+
if (null !== $this->savingPlanRecommendPrice) {
64+
$res['SavingPlanRecommendPrice'] = $this->savingPlanRecommendPrice;
65+
}
66+
5767
if (null !== $this->tradePrice) {
5868
$res['TradePrice'] = $this->tradePrice;
5969
}
@@ -81,6 +91,10 @@ public static function fromMap($map = [])
8191
$model->resourceType = $map['ResourceType'];
8292
}
8393

94+
if (isset($map['SavingPlanRecommendPrice'])) {
95+
$model->savingPlanRecommendPrice = $map['SavingPlanRecommendPrice'];
96+
}
97+
8498
if (isset($map['TradePrice'])) {
8599
$model->tradePrice = $map['TradePrice'];
86100
}

0 commit comments

Comments
 (0)