public class DescribeBillDetailRequest extends AbstractModel
skipSign
Constructor and Description |
---|
DescribeBillDetailRequest() |
DescribeBillDetailRequest(DescribeBillDetailRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionType()
Get Action type to query.
|
String |
getBeginTime()
Get The start time of the query range, which should be in the format Y-m-d H:i:s .
|
String |
getBusinessCode()
Get Product code
Note: To query the product codes used in the current month, call DescribeBillSummaryByProduct.
|
String |
getContext()
Get Context information returned by the last request.
|
String |
getEndTime()
Get The end time of the query range, which should be in the format `Y-m-d H:i:s `.
|
Long |
getLimit()
Get Quantity, maximum is 100
|
String |
getMonth()
Get Month; format: yyyy-mm.
|
Long |
getNeedRecordNum()
Get Indicates whether or not the total number of records of accessing the list is required, used for frontend pages.
|
Long |
getOffset()
Get Offset
|
String |
getPayerUin()
Get The account ID of the payer, which is the unique identifier of a Tencent Cloud user.
|
String |
getPayMode()
Get Billing mode: prePay/postPay
|
String |
getPeriodType()
Get The period type.
|
String |
getProductCode()
Get Queries information on a specified product
|
Long |
getProjectId()
Get Project ID: ID of the project to which the resource belongs
|
String |
getResourceId()
Get Queries information on a specified resource
|
void |
setActionType(String ActionType)
Set Action type to query.
|
void |
setBeginTime(String BeginTime)
Set The start time of the query range, which should be in the format Y-m-d H:i:s .
|
void |
setBusinessCode(String BusinessCode)
Set Product code
Note: To query the product codes used in the current month, call DescribeBillSummaryByProduct.
|
void |
setContext(String Context)
Set Context information returned by the last request.
|
void |
setEndTime(String EndTime)
Set The end time of the query range, which should be in the format `Y-m-d H:i:s `.
|
void |
setLimit(Long Limit)
Set Quantity, maximum is 100
|
void |
setMonth(String Month)
Set Month; format: yyyy-mm.
|
void |
setNeedRecordNum(Long NeedRecordNum)
Set Indicates whether or not the total number of records of accessing the list is required, used for frontend pages.
|
void |
setOffset(Long Offset)
Set Offset
|
void |
setPayerUin(String PayerUin)
Set The account ID of the payer, which is the unique identifier of a Tencent Cloud user.
|
void |
setPayMode(String PayMode)
Set Billing mode: prePay/postPay
|
void |
setPeriodType(String PeriodType)
Set The period type.
|
void |
setProductCode(String ProductCode)
Set Queries information on a specified product
|
void |
setProjectId(Long ProjectId)
Set Project ID: ID of the project to which the resource belongs
|
void |
setResourceId(String ResourceId)
Set Queries information on a specified resource
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeBillDetailRequest()
public DescribeBillDetailRequest(DescribeBillDetailRequest source)
public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offsetpublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Quantity, maximum is 100public String getPeriodType()
public void setPeriodType(String PeriodType)
PeriodType
- The period type. byUsedTime: By usage period; byPayTime: By payment period. Must be the same as the period of the current monthly bill of the Billing Center. You can check your bill statistics period type at the top of the [Bill Overview](https://console.cloud.tencent.com/expense/bill/overview) page.public String getMonth()
public void setMonth(String Month)
Month
- Month; format: yyyy-mm. You only have to enter either Month or BeginTime and EndTime. When you enter values for BeginTime and EndTime, Month becomes invalid. This value must be no earlier than the month when Bill 2.0 is activated; last 24 months data are available.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- The start time of the query range, which should be in the format Y-m-d H:i:s . The query range must be in the last 18 months and cannot be earlier than May 2018 (when Bill 2.0 was introduced). The start time and end time must be in the same month.
Example: tccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --BeginTime '2023-04-01 12:05:15' --EndTime '2023-04-18 12:00:10' --ProjectId 1000000731 --version "2018-07-09"
Alternatively, you can use Month to query the billing details of a month.
Example:
ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --Month 2023-04 --version "2018-07-09" --ResourceId "disk-oj9okstm"public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- The end time of the query range, which should be in the format `Y-m-d H:i:s `. The query range must be in the last 18 months and cannot be earlier than May 2018 (when Bill 2.0 was introduced). The start time and end time must be in the same month.
Example: tccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --BeginTime '2023-04-01 12:05:15' --EndTime '2023-04-18 12:00:10' --ProjectId 1000000731 --version "2018-07-09"
Alternatively, you can use `Month` to query the billing details of a month.
Example:
ccli billing DescribeBillDetail --cli-unfold-argument --Offset 1 --Limit 100 --Month 2023-04 --version "2018-07-09" --ResourceId "disk-oj9okstm"public Long getNeedRecordNum()
public void setNeedRecordNum(Long NeedRecordNum)
NeedRecordNum
- Indicates whether or not the total number of records of accessing the list is required, used for frontend pages.
1 = yes, 0 = nopublic String getProductCode()
public void setProductCode(String ProductCode)
ProductCode
- Queries information on a specified productpublic String getPayMode()
public void setPayMode(String PayMode)
PayMode
- Billing mode: prePay/postPaypublic String getResourceId()
public void setResourceId(String ResourceId)
ResourceId
- Queries information on a specified resourcepublic String getActionType()
public void setActionType(String ActionType)
ActionType
- Action type to query. Valid values:
Purchase
Renewal
Modify
Refund
Deduction
Hourly settlement
Daily settlement
Monthly settlement
Offline project deduction
Offline deduction
adjust-CR
adjust-DR
One-off RI Fee
Spot
Hourly RI fee
New monthly subscription
Monthly subscription renewal
Monthly subscription specification adjustment
Monthly subscription specification adjustment
Monthly subscription refundpublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID: ID of the project to which the resource belongspublic String getBusinessCode()
public void setBusinessCode(String BusinessCode)
BusinessCode
- Product code
Note: To query the product codes used in the current month, call DescribeBillSummaryByProduct.public String getContext()
public void setContext(String Context)
Context
- Context information returned by the last request. You can set `Month` to `2023-05` or later to accelerate queries. We recommend users whose data volume is over 100 thousand entries use the paginated query feature, which can help greatly speed up your queries.public String getPayerUin()
public void setPayerUin(String PayerUin)
PayerUin
- The account ID of the payer, which is the unique identifier of a Tencent Cloud user. This account is allowed to query its own bills by default. If an organization admin account needs to query the self-pay bills of members, this field should be specified as the member account ID.Copyright © 2023. All rights reserved.