public class DescribeVoucherInfoRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeVoucherInfoRequest() |
DescribeVoucherInfoRequest(DescribeVoucherInfoRequest 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 |
getActivityId()
Get The campaign ID.
|
String |
getCodeId()
Get The voucher order ID.
|
Long |
getLimit()
Get The number of records per page.
|
Long |
getOffset()
Get The page number the records start from.
|
String |
getOperator()
Get The operator.
|
String |
getPayMode()
Get The payment mode.
|
String |
getPayScene()
Get If `PayMode` is `postPay`, this parameter may be `spotpay` (spot instance) or `settle account` (regular pay-as-you-go).
|
String |
getProductCode()
Get The product code.
|
String |
getSortField()
Get The field used to sort the records.
|
String |
getSortOrder()
Get Whether to sort the records in ascending or descending order.
|
String |
getStatus()
Get The voucher status.
|
String |
getTimeFrom()
Get The start date of the voucher issuance, such as `2021-01-01`.
|
String |
getTimeTo()
Get The end date of the voucher issuance, such as `2021-01-01`.
|
String |
getVoucherId()
Get The voucher ID.
|
String |
getVoucherMainType()
Get The primary types of vouchers are has_price and no_price, which represent the cash voucher with a price and the cash voucher without a price respectively.
|
String |
getVoucherName()
Get The voucher name.
|
String |
getVoucherSubType()
Get Voucher subtype: Discount is a discount voucher, and deduct is a deduction voucher.
|
void |
setActivityId(String ActivityId)
Set The campaign ID.
|
void |
setCodeId(String CodeId)
Set The voucher order ID.
|
void |
setLimit(Long Limit)
Set The number of records per page.
|
void |
setOffset(Long Offset)
Set The page number the records start from.
|
void |
setOperator(String Operator)
Set The operator.
|
void |
setPayMode(String PayMode)
Set The payment mode.
|
void |
setPayScene(String PayScene)
Set If `PayMode` is `postPay`, this parameter may be `spotpay` (spot instance) or `settle account` (regular pay-as-you-go).
|
void |
setProductCode(String ProductCode)
Set The product code.
|
void |
setSortField(String SortField)
Set The field used to sort the records.
|
void |
setSortOrder(String SortOrder)
Set Whether to sort the records in ascending or descending order.
|
void |
setStatus(String Status)
Set The voucher status.
|
void |
setTimeFrom(String TimeFrom)
Set The start date of the voucher issuance, such as `2021-01-01`.
|
void |
setTimeTo(String TimeTo)
Set The end date of the voucher issuance, such as `2021-01-01`.
|
void |
setVoucherId(String VoucherId)
Set The voucher ID.
|
void |
setVoucherMainType(String VoucherMainType)
Set The primary types of vouchers are has_price and no_price, which represent the cash voucher with a price and the cash voucher without a price respectively.
|
void |
setVoucherName(String VoucherName)
Set The voucher name.
|
void |
setVoucherSubType(String VoucherSubType)
Set Voucher subtype: Discount is a discount voucher, and deduct is a deduction voucher.
|
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 DescribeVoucherInfoRequest()
public DescribeVoucherInfoRequest(DescribeVoucherInfoRequest source)
public Long getLimit()
public void setLimit(Long Limit)
Limit - The number of records per page. The default is 20, and the maximum is 1,000.public Long getOffset()
public void setOffset(Long Offset)
Offset - The page number the records start from. The default is 1.public String getStatus()
public void setStatus(String Status)
Status - The voucher status. Valid values: `unUsed`, `used`, `delivered`, `cancel`, `overdue`.public String getVoucherId()
public void setVoucherId(String VoucherId)
VoucherId - The voucher ID.public String getCodeId()
public void setCodeId(String CodeId)
CodeId - The voucher order ID.public String getProductCode()
public void setProductCode(String ProductCode)
ProductCode - The product code.public String getActivityId()
public void setActivityId(String ActivityId)
ActivityId - The campaign ID.public String getVoucherName()
public void setVoucherName(String VoucherName)
VoucherName - The voucher name.public String getTimeFrom()
public void setTimeFrom(String TimeFrom)
TimeFrom - The start date of the voucher issuance, such as `2021-01-01`.public String getTimeTo()
public void setTimeTo(String TimeTo)
TimeTo - The end date of the voucher issuance, such as `2021-01-01`.public String getSortField()
public void setSortField(String SortField)
SortField - The field used to sort the records. Valid values: BeginTime, EndTime, CreateTime.public String getSortOrder()
public void setSortOrder(String SortOrder)
SortOrder - Whether to sort the records in ascending or descending order. Valid values: desc, asc.public String getPayMode()
public void setPayMode(String PayMode)
PayMode - The payment mode. Valid values: `postPay`: pay-as-you-go; `prePay`: prepaid; `riPay`: reserved instance; empty or `*`: all. If this parameter is empty or `*`, `productCode` and `subProductCode` must also be empty.public String getPayScene()
public void setPayScene(String PayScene)
PayScene - If `PayMode` is `postPay`, this parameter may be `spotpay` (spot instance) or `settle account` (regular pay-as-you-go). If `PayMode` is `prePay`, this parameter may be `purchase`, `renew`, or `modify` (downgrade/upgrade). If `PayMode` is `riPay`, this parameter may be `oneOffFee` (prepayment of reserved instance) or `hourlyFee` (hourly billing of reserved instance). `*` means to query vouchers that support all billing scenarios.public String getOperator()
public void setOperator(String Operator)
Operator - The operator. The default is the UIN of the current user.public String getVoucherMainType()
public void setVoucherMainType(String VoucherMainType)
VoucherMainType - The primary types of vouchers are has_price and no_price, which represent the cash voucher with a price and the cash voucher without a price respectively.public String getVoucherSubType()
public void setVoucherSubType(String VoucherSubType)
VoucherSubType - Voucher subtype: Discount is a discount voucher, and deduct is a deduction voucher.Copyright © 2025. All rights reserved.