Update by SDK platform.

This commit is contained in:
sdk-team
2023-09-18 08:55:08 +00:00
parent a3c08aa6f7
commit 2d60eb1a66
3 changed files with 4 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
double lackForPriceBreak;
};
std::vector<std::string> ruleIds1;
bool showDiscountInfo;
std::string currency;
std::string tradeAmount;
std::vector<Coupon> coupons;

View File

@@ -77,6 +77,8 @@ void DescribePriceResult::parse(const std::string &payload)
order_.tradeAmount = orderNode["TradeAmount"].asString();
if(!orderNode["Currency"].isNull())
order_.currency = orderNode["Currency"].asString();
if(!orderNode["ShowDiscountInfo"].isNull())
order_.showDiscountInfo = orderNode["ShowDiscountInfo"].asString() == "true";
auto allCouponsNode = orderNode["Coupons"]["Coupon"];
for (auto orderNodeCouponsCoupon : allCouponsNode)
{