Modify QueryAccountBill, support group by product.

This commit is contained in:
sdk-team
2019-11-15 09:47:44 +08:00
parent 85c4ce8295
commit 47fda11426
7 changed files with 49 additions and 9 deletions

View File

@@ -35,19 +35,25 @@ namespace AlibabaCloud
QueryAccountBillRequest();
~QueryAccountBillRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getBillingCycle()const;
void setBillingCycle(const std::string& billingCycle);
int getPageNum()const;
void setPageNum(int pageNum);
long getOwnerID()const;
void setOwnerID(long ownerID);
bool getIsGroupByProduct()const;
void setIsGroupByProduct(bool isGroupByProduct);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string productCode_;
std::string billingCycle_;
int pageNum_;
long ownerID_;
bool isGroupByProduct_;
int pageSize_;
};

View File

@@ -36,18 +36,21 @@ namespace AlibabaCloud
{
struct Item
{
float pretaxGrossAmount;
float deductedByCoupons;
std::string ownerName;
std::string ownerID;
float pretaxAmount;
std::string currency;
std::string productName;
std::string productCode;
float deductedByCashCoupons;
float outstandingAmount;
std::string costUnit;
float paymentAmount;
float deductedByPrepaidCard;
float invoiceDiscount;
std::string subscriptionType;
float pretaxGrossAmount;
std::string ownerID;
float pretaxAmount;
std::string currency;
std::string costUnit;
};
std::string billingCycle;
int totalCount;