diff --git a/aliyun-java-sdk-market/ChangeLog.txt b/aliyun-java-sdk-market/ChangeLog.txt index 760e119f15..ed8eb9b799 100644 --- a/aliyun-java-sdk-market/ChangeLog.txt +++ b/aliyun-java-sdk-market/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-13 Version: 2.0.45 +- Update DescribeApiMetering API. + 2024-11-26 Version: 2.0.44 - Update DescribeApiMetering API. diff --git a/aliyun-java-sdk-market/pom.xml b/aliyun-java-sdk-market/pom.xml index 00141e7425..46e5de7e75 100644 --- a/aliyun-java-sdk-market/pom.xml +++ b/aliyun-java-sdk-market/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-market jar - 2.0.44 + 2.0.45 aliyun-java-sdk-market http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/model/v20151101/DescribeOrderForIsvResponse.java b/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/model/v20151101/DescribeOrderForIsvResponse.java index 3ac69e8389..e0c89a6fc9 100644 --- a/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/model/v20151101/DescribeOrderForIsvResponse.java +++ b/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/model/v20151101/DescribeOrderForIsvResponse.java @@ -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; @@ -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 components; - - private Long createdOn; - - private String orderType; - - private Float totalPrice; - - private Integer quantity; - - private Long orderId; - - private String productCode; - - private String requestId; - - private List 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 getComponents() { - return this.components; - } - - public void setComponents(Map 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 getInstanceIds() { - return this.instanceIds; - } - - public void setInstanceIds(List instanceIds) { - this.instanceIds = instanceIds; - } - @Override public DescribeOrderForIsvResponse getInstance(UnmarshallerContext context) { return DescribeOrderForIsvResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/transform/v20151101/DescribeOrderForIsvResponseUnmarshaller.java b/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/transform/v20151101/DescribeOrderForIsvResponseUnmarshaller.java index 3d3723c615..ea901531c3 100644 --- a/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/transform/v20151101/DescribeOrderForIsvResponseUnmarshaller.java +++ b/aliyun-java-sdk-market/src/main/java/com/aliyuncs/market/transform/v20151101/DescribeOrderForIsvResponseUnmarshaller.java @@ -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 instanceIds = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DescribeOrderForIsvResponse.InstanceIds.Length"); i++) { - instanceIds.add(_ctx.stringValue("DescribeOrderForIsvResponse.InstanceIds["+ i +"]")); - } - describeOrderForIsvResponse.setInstanceIds(instanceIds); + return describeOrderForIsvResponse; }