All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.ato.models.QueryRiskRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.ato.models;

import com.aliyun.tea.*;

public class QueryRiskRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 枚举值:蚁盾版、智租版、旗舰版,蚁盾版代表仅调用蚁盾风控,智租版代表仅调用小程序云风控,旗舰版代表调用蚁盾+旗舰版风控接口
    @NameInMap("product_name")
    @Validation(required = true)
    public String productName;

    // 用户姓名
    @NameInMap("user_name")
    @Validation(required = true, maxLength = 2000)
    public String userName;

    // 用户证件号码
    @NameInMap("cert_no")
    @Validation(required = true)
    public String certNo;

    // 用户手机号码
    @NameInMap("mobile")
    @Validation(required = true)
    public String mobile;

    // 支付宝账户 UserId,智租版可选
    @NameInMap("alipay_user_id")
    @Validation(maxLength = 20)
    public String alipayUserId;

    // 下单渠道,智租版必选。枚举值:ALIPAY-支付宝;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER
    @NameInMap("source")
    @Validation(maxLength = 10)
    public String source;

    // 商品详情,智租版可选
    @NameInMap("item_detail")
    public ItemDetail itemDetail;

    // 价格详情,智租版可选
    @NameInMap("price_detail")
    public PriceDetail priceDetail;

    // 物流信息,智租版可选
    @NameInMap("delivery_detail")
    public DeliveryDetail deliveryDetail;

    public static QueryRiskRequest build(java.util.Map map) throws Exception {
        QueryRiskRequest self = new QueryRiskRequest();
        return TeaModel.build(map, self);
    }

    public QueryRiskRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public QueryRiskRequest setProductInstanceId(String productInstanceId) {
        this.productInstanceId = productInstanceId;
        return this;
    }
    public String getProductInstanceId() {
        return this.productInstanceId;
    }

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

    public QueryRiskRequest setUserName(String userName) {
        this.userName = userName;
        return this;
    }
    public String getUserName() {
        return this.userName;
    }

    public QueryRiskRequest setCertNo(String certNo) {
        this.certNo = certNo;
        return this;
    }
    public String getCertNo() {
        return this.certNo;
    }

    public QueryRiskRequest setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }
    public String getMobile() {
        return this.mobile;
    }

    public QueryRiskRequest setAlipayUserId(String alipayUserId) {
        this.alipayUserId = alipayUserId;
        return this;
    }
    public String getAlipayUserId() {
        return this.alipayUserId;
    }

    public QueryRiskRequest setSource(String source) {
        this.source = source;
        return this;
    }
    public String getSource() {
        return this.source;
    }

    public QueryRiskRequest setItemDetail(ItemDetail itemDetail) {
        this.itemDetail = itemDetail;
        return this;
    }
    public ItemDetail getItemDetail() {
        return this.itemDetail;
    }

    public QueryRiskRequest setPriceDetail(PriceDetail priceDetail) {
        this.priceDetail = priceDetail;
        return this;
    }
    public PriceDetail getPriceDetail() {
        return this.priceDetail;
    }

    public QueryRiskRequest setDeliveryDetail(DeliveryDetail deliveryDetail) {
        this.deliveryDetail = deliveryDetail;
        return this;
    }
    public DeliveryDetail getDeliveryDetail() {
        return this.deliveryDetail;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy