com.antgroup.antchain.openapi.twc.models.ApplyLeaseSupplierorderRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class ApplyLeaseSupplierorderRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 订单id
@NameInMap("order_id")
@Validation(required = true)
public String orderId;
// 供应商id
@NameInMap("supplier_id")
@Validation(required = true)
public String supplierId;
// 商品信息
@NameInMap("product_infos")
@Validation(required = true)
public java.util.List productInfos;
// isv代理模式
@NameInMap("mode")
public String mode;
// 被代理的租户id
@NameInMap("agent_lease_id")
public String agentLeaseId;
public static ApplyLeaseSupplierorderRequest build(java.util.Map map) throws Exception {
ApplyLeaseSupplierorderRequest self = new ApplyLeaseSupplierorderRequest();
return TeaModel.build(map, self);
}
public ApplyLeaseSupplierorderRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public ApplyLeaseSupplierorderRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public ApplyLeaseSupplierorderRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public ApplyLeaseSupplierorderRequest setSupplierId(String supplierId) {
this.supplierId = supplierId;
return this;
}
public String getSupplierId() {
return this.supplierId;
}
public ApplyLeaseSupplierorderRequest setProductInfos(java.util.List productInfos) {
this.productInfos = productInfos;
return this;
}
public java.util.List getProductInfos() {
return this.productInfos;
}
public ApplyLeaseSupplierorderRequest setMode(String mode) {
this.mode = mode;
return this;
}
public String getMode() {
return this.mode;
}
public ApplyLeaseSupplierorderRequest setAgentLeaseId(String agentLeaseId) {
this.agentLeaseId = agentLeaseId;
return this;
}
public String getAgentLeaseId() {
return this.agentLeaseId;
}
}