public class DescribeBillDetailForOrganizationRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeBillDetailForOrganizationRequest() |
DescribeBillDetailForOrganizationRequest(DescribeBillDetailForOrganizationRequest 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 Transaction type.
|
String |
getBeginTime()
Get The start time of the period in the format of yyyy-mm-dd hh:ii:ss.
|
String |
getBusinessCode()
Get Product code.
|
String |
getContext()
Get Context information returned by the last response.
|
String |
getEndTime()
Get The end time of the period in the format of yyyy-mm-dd hh:ii:ss.
|
Long |
getLimit()
Get The number of entries returned at a time.
|
String |
getMonth()
Get The month is in the format of yyyy-mm.
|
Long |
getNeedRecordNum()
Get Indicates whether the total number of records is required, used for pagination.
|
Long |
getOffset()
Get Pagination offset.
|
String |
getPayMode()
Get Billing mode, which can be `prePay` (monthly subscription) or `postPay` (pay-as-you-go).
|
String |
getPeriodType()
Deprecated.
|
Long |
getProjectId()
Get Project ID: The ID of the project to which the resource belongs.
|
String |
getResourceId()
Get ID of the instance to be queried.
|
void |
setActionType(String ActionType)
Set Transaction type.
|
void |
setBeginTime(String BeginTime)
Set The start time of the period in the format of yyyy-mm-dd hh:ii:ss.
|
void |
setBusinessCode(String BusinessCode)
Set Product code.
|
void |
setContext(String Context)
Set Context information returned by the last response.
|
void |
setEndTime(String EndTime)
Set The end time of the period in the format of yyyy-mm-dd hh:ii:ss.
|
void |
setLimit(Long Limit)
Set The number of entries returned at a time.
|
void |
setMonth(String Month)
Set The month is in the format of yyyy-mm.
|
void |
setNeedRecordNum(Long NeedRecordNum)
Set Indicates whether the total number of records is required, used for pagination.
|
void |
setOffset(Long Offset)
Set Pagination offset.
|
void |
setPayMode(String PayMode)
Set Billing mode, which can be `prePay` (monthly subscription) or `postPay` (pay-as-you-go).
|
void |
setPeriodType(String PeriodType)
Deprecated.
|
void |
setProjectId(Long ProjectId)
Set Project ID: The ID of the project to which the resource belongs.
|
void |
setResourceId(String ResourceId)
Set ID of the instance to be queried.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeBillDetailForOrganizationRequest()
public DescribeBillDetailForOrganizationRequest(DescribeBillDetailForOrganizationRequest source)
public Long getOffset()
public void setOffset(Long Offset)
Offset - Pagination offset. If `Offset` is `0`, it indicates the first page. When `Limit` is `100`, if `Offset` is `100`, it indicates the second page; if `Offset` is `200`, it indicates the third page, and so on.public Long getLimit()
public void setLimit(Long Limit)
Limit - The number of entries returned at a time. The maximum value is `100`.@Deprecated public String getPeriodType()
@Deprecated public void setPeriodType(String PeriodType)
PeriodType - Cycle type, which can be `byUsedTime` (by billing cycle) or `byPayTime` (by deduction time). This value must be the same as the billing period type in Billing Center for that particular month. You can check your billing cycle 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 - The month is in the format of yyyy-mm. Either Month or BeginTime&EndTime must be specified. If BeginTime&EndTime is specified, the Month field is invalid. Data within the last 18 months can be pulled at most.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime - The start time of the period in the format of yyyy-mm-dd hh:ii:ss. Either Month or BeginTime&EndTime must be specified. If BeginTime&EndTime is specified, the Month field is invalid. BeginTime and EndTime must be specified together and must be in the same month. Cross-month queries are not supported and the query results are data for the entire month. Data within the last 18 months can be pulled at most.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - The end time of the period in the format of yyyy-mm-dd hh:ii:ss. Either Month or BeginTime&EndTime must be specified. If BeginTime&EndTime is specified, the Month field is invalid. BeginTime and EndTime must be specified together and must be in the same month. Cross-month queries are not supported and the query results are data for the entire month. Data within the last 18 months can be pulled at most.public Long getNeedRecordNum()
public void setNeedRecordNum(Long NeedRecordNum)
NeedRecordNum - Indicates whether the total number of records is required, used for pagination.
Valid values: `1` (required), `0` (not required).public String getPayMode()
public void setPayMode(String PayMode)
PayMode - Billing mode, which can be `prePay` (monthly subscription) or `postPay` (pay-as-you-go).public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId - ID of the instance to be queried.public String getActionType()
public void setActionType(String ActionType)
ActionType - Transaction type. This parameter needs to be input using the `ActionTypeName` value. Valid values:
Monthly subscription purchase
Monthly subscription renewal
Monthly subscription upgrade/downgrade
Monthly subscription refund
Pay-as-you-go deduction
Offline project deduction
Offline product deduction
Adjustment deduction
Adjustment compensation
Hourly pay-as-you-go
Daily pay-as-you-go
Monthly pay-as-you-go
Hourly spot instance
Offline project adjustment compensation
Offline product adjustment compensation
Offer deduction
Offer compensation
Pay-as-you-go resource migration in
Pay-as-you-go resource migration out
Monthly subscription resource migration in
Monthly subscription resource migration out
Prepaid
Hourly
RI refund
Pay-as-you-go reversal
Monthly subscription to pay-as-you-go
Minimum spend deduction
Hourly savings plan feepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - Project ID: The ID of the project to which the resource belongs.public 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 response. You can view multiple pages when querying for data after May 2023 to speed up the query. We recommend you use this query method if your data volume is above 100 thousand entries, which can improve query speed by 2-10 times.Copyright © 2025. All rights reserved.