com.antgroup.antchain.openapi.twc.models.RentInfo 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 RentInfo extends TeaModel {
// 租金
@NameInMap("rent_price")
@Validation(required = true)
public Long rentPrice;
// 租期
@NameInMap("rent_term")
@Validation(required = true)
public Long rentTerm;
// 手续费
@NameInMap("commission")
@Validation(required = true)
public Long commission;
// 买断价
@NameInMap("buyout_price")
@Validation(required = true)
public Long buyoutPrice;
// 留购价
@NameInMap("retained_price")
@Validation(required = true)
public Long retainedPrice;
public static RentInfo build(java.util.Map map) throws Exception {
RentInfo self = new RentInfo();
return TeaModel.build(map, self);
}
public RentInfo setRentPrice(Long rentPrice) {
this.rentPrice = rentPrice;
return this;
}
public Long getRentPrice() {
return this.rentPrice;
}
public RentInfo setRentTerm(Long rentTerm) {
this.rentTerm = rentTerm;
return this;
}
public Long getRentTerm() {
return this.rentTerm;
}
public RentInfo setCommission(Long commission) {
this.commission = commission;
return this;
}
public Long getCommission() {
return this.commission;
}
public RentInfo setBuyoutPrice(Long buyoutPrice) {
this.buyoutPrice = buyoutPrice;
return this;
}
public Long getBuyoutPrice() {
return this.buyoutPrice;
}
public RentInfo setRetainedPrice(Long retainedPrice) {
this.retainedPrice = retainedPrice;
return this;
}
public Long getRetainedPrice() {
return this.retainedPrice;
}
}