Skip to content

Commit

Permalink
Update DescribeApiMetering API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 13, 2024
1 parent c21c6bd commit 985a2f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 235 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-market/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-12-13 Version: 2.0.45
- Update DescribeApiMetering API.

2024-11-26 Version: 2.0.44
- Update DescribeApiMetering API.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-market/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-market</artifactId>
<packaging>jar</packaging>
<version>2.0.44</version>
<version>2.0.45</version>
<name>aliyun-java-sdk-market</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
*/

package com.aliyuncs.market.model.v20151101;

import java.util.List;
import java.util.Map;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.market.transform.v20151101.DescribeOrderForIsvResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand All @@ -26,206 +24,6 @@
*/
public class DescribeOrderForIsvResponse extends AcsResponse {

private String productName;

private Float originalPrice;

private Long aliUid;

private Float couponPrice;

private Long accountQuantity;

private String periodType;

private String payStatus;

private Float paymentPrice;

private String orderStatus;

private String productSkuCode;

private Long paidOn;

private Map<Object,Object> components;

private Long createdOn;

private String orderType;

private Float totalPrice;

private Integer quantity;

private Long orderId;

private String productCode;

private String requestId;

private List<String> instanceIds;

public String getProductName() {
return this.productName;
}

public void setProductName(String productName) {
this.productName = productName;
}

public Float getOriginalPrice() {
return this.originalPrice;
}

public void setOriginalPrice(Float originalPrice) {
this.originalPrice = originalPrice;
}

public Long getAliUid() {
return this.aliUid;
}

public void setAliUid(Long aliUid) {
this.aliUid = aliUid;
}

public Float getCouponPrice() {
return this.couponPrice;
}

public void setCouponPrice(Float couponPrice) {
this.couponPrice = couponPrice;
}

public Long getAccountQuantity() {
return this.accountQuantity;
}

public void setAccountQuantity(Long accountQuantity) {
this.accountQuantity = accountQuantity;
}

public String getPeriodType() {
return this.periodType;
}

public void setPeriodType(String periodType) {
this.periodType = periodType;
}

public String getPayStatus() {
return this.payStatus;
}

public void setPayStatus(String payStatus) {
this.payStatus = payStatus;
}

public Float getPaymentPrice() {
return this.paymentPrice;
}

public void setPaymentPrice(Float paymentPrice) {
this.paymentPrice = paymentPrice;
}

public String getOrderStatus() {
return this.orderStatus;
}

public void setOrderStatus(String orderStatus) {
this.orderStatus = orderStatus;
}

public String getProductSkuCode() {
return this.productSkuCode;
}

public void setProductSkuCode(String productSkuCode) {
this.productSkuCode = productSkuCode;
}

public Long getPaidOn() {
return this.paidOn;
}

public void setPaidOn(Long paidOn) {
this.paidOn = paidOn;
}

public Map<Object,Object> getComponents() {
return this.components;
}

public void setComponents(Map<Object,Object> components) {
this.components = components;
}

public Long getCreatedOn() {
return this.createdOn;
}

public void setCreatedOn(Long createdOn) {
this.createdOn = createdOn;
}

public String getOrderType() {
return this.orderType;
}

public void setOrderType(String orderType) {
this.orderType = orderType;
}

public Float getTotalPrice() {
return this.totalPrice;
}

public void setTotalPrice(Float totalPrice) {
this.totalPrice = totalPrice;
}

public Integer getQuantity() {
return this.quantity;
}

public void setQuantity(Integer quantity) {
this.quantity = quantity;
}

public Long getOrderId() {
return this.orderId;
}

public void setOrderId(Long orderId) {
this.orderId = orderId;
}

public String getProductCode() {
return this.productCode;
}

public void setProductCode(String productCode) {
this.productCode = productCode;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public List<String> getInstanceIds() {
return this.instanceIds;
}

public void setInstanceIds(List<String> instanceIds) {
this.instanceIds = instanceIds;
}

@Override
public DescribeOrderForIsvResponse getInstance(UnmarshallerContext context) {
return DescribeOrderForIsvResponseUnmarshaller.unmarshall(this, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,14 @@

package com.aliyuncs.market.transform.v20151101;

import java.util.ArrayList;
import java.util.List;

import com.aliyuncs.market.model.v20151101.DescribeOrderForIsvResponse;
import java.util.Map;
import com.aliyuncs.market.model.v20151101.DescribeOrderForIsvResponse;
import com.aliyuncs.transform.UnmarshallerContext;


public class DescribeOrderForIsvResponseUnmarshaller {

public static DescribeOrderForIsvResponse unmarshall(DescribeOrderForIsvResponse describeOrderForIsvResponse, UnmarshallerContext _ctx) {

describeOrderForIsvResponse.setRequestId(_ctx.stringValue("DescribeOrderForIsvResponse.RequestId"));
describeOrderForIsvResponse.setProductName(_ctx.stringValue("DescribeOrderForIsvResponse.ProductName"));
describeOrderForIsvResponse.setOriginalPrice(_ctx.floatValue("DescribeOrderForIsvResponse.OriginalPrice"));
describeOrderForIsvResponse.setAliUid(_ctx.longValue("DescribeOrderForIsvResponse.AliUid"));
describeOrderForIsvResponse.setCouponPrice(_ctx.floatValue("DescribeOrderForIsvResponse.CouponPrice"));
describeOrderForIsvResponse.setAccountQuantity(_ctx.longValue("DescribeOrderForIsvResponse.AccountQuantity"));
describeOrderForIsvResponse.setPeriodType(_ctx.stringValue("DescribeOrderForIsvResponse.PeriodType"));
describeOrderForIsvResponse.setPayStatus(_ctx.stringValue("DescribeOrderForIsvResponse.PayStatus"));
describeOrderForIsvResponse.setPaymentPrice(_ctx.floatValue("DescribeOrderForIsvResponse.PaymentPrice"));
describeOrderForIsvResponse.setOrderStatus(_ctx.stringValue("DescribeOrderForIsvResponse.OrderStatus"));
describeOrderForIsvResponse.setProductSkuCode(_ctx.stringValue("DescribeOrderForIsvResponse.ProductSkuCode"));
describeOrderForIsvResponse.setPaidOn(_ctx.longValue("DescribeOrderForIsvResponse.PaidOn"));
describeOrderForIsvResponse.setComponents(_ctx.mapValue("DescribeOrderForIsvResponse.Components"));
describeOrderForIsvResponse.setCreatedOn(_ctx.longValue("DescribeOrderForIsvResponse.CreatedOn"));
describeOrderForIsvResponse.setOrderType(_ctx.stringValue("DescribeOrderForIsvResponse.OrderType"));
describeOrderForIsvResponse.setTotalPrice(_ctx.floatValue("DescribeOrderForIsvResponse.TotalPrice"));
describeOrderForIsvResponse.setQuantity(_ctx.integerValue("DescribeOrderForIsvResponse.Quantity"));
describeOrderForIsvResponse.setOrderId(_ctx.longValue("DescribeOrderForIsvResponse.OrderId"));
describeOrderForIsvResponse.setProductCode(_ctx.stringValue("DescribeOrderForIsvResponse.ProductCode"));

List<String> instanceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeOrderForIsvResponse.InstanceIds.Length"); i++) {
instanceIds.add(_ctx.stringValue("DescribeOrderForIsvResponse.InstanceIds["+ i +"]"));
}
describeOrderForIsvResponse.setInstanceIds(instanceIds);


return describeOrderForIsvResponse;
}
Expand Down

0 comments on commit 985a2f8

Please sign in to comment.