Update by SDK platform.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user