public class Deal extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Deal() |
Deal(Deal 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 |
getAction()
Get Transaction type
Modify network mode adjust bandwidth mode.
|
String |
getBigDealId()
Get Large order number.
|
String |
getCreateTime()
Get Creation time
|
String |
getCreator()
Get Creator
|
String |
getCurrency()
Get Currency unit
|
String |
getFormula()
Get Refund formula.
|
Long |
getGoodsCategoryId()
Get Product category ID
|
String |
getOrderId()
Get Order ID.
|
String |
getPayer()
Get Payer
|
String |
getPayMode()
Get Billing mode: `prePay` (prepaid), `postPay` (pay-as-you-go), `riPay` (reserved instance)
|
Float |
getPolicy()
Get Discount rate
|
Float |
getPrice()
Get Unit price (cents)
|
String |
getProductCode()
Get Product code
|
ProductInfo[] |
getProductInfo()
Get Product details
|
String |
getProductName()
Get Product code chinese name.
|
Long |
getProjectId()
Get Project ID
|
Long |
getRealTotalCost()
Get Actual payment amount (pent)
|
String |
getRefReturnDeals()
Get Refund involves order information.
|
String[] |
getResourceId()
Get The resource ID corresponding to the order.
|
Long |
getStatus()
Get The status of the order.
|
String |
getSubProductCode()
Get Subproduct code
|
String |
getSubProductName()
Get Sub-Product code chinese name.
|
Float |
getTimeSpan()
Get Duration
|
String |
getTimeUnit()
Get Time unit
|
Float |
getTotalCost()
Get Original price (cents)
|
Long |
getVoucherDecline()
Get Voucher offset amount (pent)
|
void |
setAction(String Action)
Set Transaction type
Modify network mode adjust bandwidth mode.
|
void |
setBigDealId(String BigDealId)
Set Large order number.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setCreator(String Creator)
Set Creator
|
void |
setCurrency(String Currency)
Set Currency unit
|
void |
setFormula(String Formula)
Set Refund formula.
|
void |
setGoodsCategoryId(Long GoodsCategoryId)
Set Product category ID
|
void |
setOrderId(String OrderId)
Set Order ID.
|
void |
setPayer(String Payer)
Set Payer
|
void |
setPayMode(String PayMode)
Set Billing mode: `prePay` (prepaid), `postPay` (pay-as-you-go), `riPay` (reserved instance)
|
void |
setPolicy(Float Policy)
Set Discount rate
|
void |
setPrice(Float Price)
Set Unit price (cents)
|
void |
setProductCode(String ProductCode)
Set Product code
|
void |
setProductInfo(ProductInfo[] ProductInfo)
Set Product details
|
void |
setProductName(String ProductName)
Set Product code chinese name.
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setRealTotalCost(Long RealTotalCost)
Set Actual payment amount (pent)
|
void |
setRefReturnDeals(String RefReturnDeals)
Set Refund involves order information.
|
void |
setResourceId(String[] ResourceId)
Set The resource ID corresponding to the order.
|
void |
setStatus(Long Status)
Set The status of the order.
|
void |
setSubProductCode(String SubProductCode)
Set Subproduct code
|
void |
setSubProductName(String SubProductName)
Set Sub-Product code chinese name.
|
void |
setTimeSpan(Float TimeSpan)
Set Duration
|
void |
setTimeUnit(String TimeUnit)
Set Time unit
|
void |
setTotalCost(Float TotalCost)
Set Original price (cents)
|
void |
setVoucherDecline(Long VoucherDecline)
Set Voucher offset amount (pent)
|
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 Deal()
public Deal(Deal source)
public String getOrderId()
public void setOrderId(String OrderId)
OrderId - Order ID.public Long getStatus()
public void setStatus(Long Status)
Status - The status of the order. 1: unpaid; 2: paid; 3: shipping; 4: shipped; 5: shipment failed; 6: refunded; 7: closed case; 8: order expired; 9: order invalidated; 10: product invalidated; 11: third-party payment refused; 12: payment in processpublic String getPayer()
public void setPayer(String Payer)
Payer - Payerpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Creation timepublic String getCreator()
public void setCreator(String Creator)
Creator - Creatorpublic Long getRealTotalCost()
public void setRealTotalCost(Long RealTotalCost)
RealTotalCost - Actual payment amount (pent)public Long getVoucherDecline()
public void setVoucherDecline(Long VoucherDecline)
VoucherDecline - Voucher offset amount (pent)public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - Project IDpublic Long getGoodsCategoryId()
public void setGoodsCategoryId(Long GoodsCategoryId)
GoodsCategoryId - Product category IDpublic ProductInfo[] getProductInfo()
public void setProductInfo(ProductInfo[] ProductInfo)
ProductInfo - Product detailspublic Float getTimeSpan()
public void setTimeSpan(Float TimeSpan)
TimeSpan - Durationpublic String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit - Time unitpublic String getCurrency()
public void setCurrency(String Currency)
Currency - Currency unitpublic Float getPolicy()
public void setPolicy(Float Policy)
Policy - Discount ratepublic Float getPrice()
public void setPrice(Float Price)
Price - Unit price (cents)public Float getTotalCost()
public void setTotalCost(Float TotalCost)
TotalCost - Original price (cents)public String getProductCode()
public void setProductCode(String ProductCode)
ProductCode - Product codepublic String getSubProductCode()
public void setSubProductCode(String SubProductCode)
SubProductCode - Subproduct codepublic String getBigDealId()
public void setBigDealId(String BigDealId)
BigDealId - Large order number.public String getFormula()
public void setFormula(String Formula)
Formula - Refund formula.public String getRefReturnDeals()
public void setRefReturnDeals(String RefReturnDeals)
RefReturnDeals - Refund involves order information.public String getPayMode()
public void setPayMode(String PayMode)
PayMode - Billing mode: `prePay` (prepaid), `postPay` (pay-as-you-go), `riPay` (reserved instance)public String getAction()
public void setAction(String Action)
Action - Transaction type
Modify network mode adjust bandwidth mode.
Adjust bandwidth size.
`Refund`: refund.
downgrade.
upgrade configuration.
renew.
purchase.
preMoveOut monthly subscription resource migration out.
preMoveIn specifies the monthly subscription resources to migrate.
preToPost specifies the prepaid to postpaid conversion.
postMoveOut specifies the pay-as-you-go resources to be migrated out.
postMoveIn specifies the pay-as-you-go resources for inbound migration.public String getProductName()
public void setProductName(String ProductName)
ProductName - Product code chinese name.public String getSubProductName()
public void setSubProductName(String SubProductName)
SubProductName - Sub-Product code chinese name.public String[] getResourceId()
public void setResourceId(String[] ResourceId)
ResourceId - The resource ID corresponding to the order. If the query parameter `Limit` exceeds 200, null will be returned.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.