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

cn.com.antcloud.api.ato.v1_0.request.QueryRiskRequest Maven / Gradle / Ivy

//
//  Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//  http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.
//
//
package cn.com.antcloud.api.ato.v1_0.request;

import cn.com.antcloud.api.ato.v1_0.model.DeliveryDetail;
import cn.com.antcloud.api.ato.v1_0.model.ItemDetail;
import cn.com.antcloud.api.ato.v1_0.model.PriceDetail;
import cn.com.antcloud.api.ato.v1_0.response.QueryRiskResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 发起风控分析,获取风险分 */
public class QueryRiskRequest extends AntCloudProdRequest {
  @NotNull
  private String productName;

  @NotNull
  private String userName;

  @NotNull
  private String certNo;

  @NotNull
  private String mobile;

  private String alipayUserId;

  private String source;

  private ItemDetail itemDetail;

  private PriceDetail priceDetail;

  private DeliveryDetail deliveryDetail;

  public QueryRiskRequest(String productInstanceId) {
    super("antchain.ato.risk.query", "1.0", "Java-SDK-20240923", productInstanceId);
  }

  public QueryRiskRequest() {
    super("antchain.ato.risk.query", "1.0", null);
    this.setSdkVersion("Java-SDK-20240923");
  }

  /**
   * 枚举值:蚁盾版、智租版、旗舰版,蚁盾版代表仅调用蚁盾风控,智租版代表仅调用小程序云风控,旗舰版代表调用蚁盾+旗舰版风控接口 */
  public String getProductName() {
    return this.productName;
  }

  /**
   * 枚举值:蚁盾版、智租版、旗舰版,蚁盾版代表仅调用蚁盾风控,智租版代表仅调用小程序云风控,旗舰版代表调用蚁盾+旗舰版风控接口 */
  public void setProductName(String productName) {
    this.productName = productName;
  }

  /**
   * 用户姓名 */
  public String getUserName() {
    return this.userName;
  }

  /**
   * 用户姓名 */
  public void setUserName(String userName) {
    this.userName = userName;
  }

  /**
   * 用户证件号码 */
  public String getCertNo() {
    return this.certNo;
  }

  /**
   * 用户证件号码 */
  public void setCertNo(String certNo) {
    this.certNo = certNo;
  }

  /**
   * 用户手机号码 */
  public String getMobile() {
    return this.mobile;
  }

  /**
   * 用户手机号码 */
  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  /**
   * 支付宝账户 UserId,智租版可选 */
  public String getAlipayUserId() {
    return this.alipayUserId;
  }

  /**
   * 支付宝账户 UserId,智租版可选 */
  public void setAlipayUserId(String alipayUserId) {
    this.alipayUserId = alipayUserId;
  }

  /**
   * 下单渠道,智租版必选。枚举值:ALIPAY-支付宝;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER */
  public String getSource() {
    return this.source;
  }

  /**
   * 下单渠道,智租版必选。枚举值:ALIPAY-支付宝;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER */
  public void setSource(String source) {
    this.source = source;
  }

  /**
   * 商品详情,智租版可选 */
  public ItemDetail getItemDetail() {
    return this.itemDetail;
  }

  /**
   * 商品详情,智租版可选 */
  public void setItemDetail(ItemDetail itemDetail) {
    this.itemDetail = itemDetail;
  }

  /**
   * 价格详情,智租版可选 */
  public PriceDetail getPriceDetail() {
    return this.priceDetail;
  }

  /**
   * 价格详情,智租版可选 */
  public void setPriceDetail(PriceDetail priceDetail) {
    this.priceDetail = priceDetail;
  }

  /**
   * 物流信息,智租版可选 */
  public DeliveryDetail getDeliveryDetail() {
    return this.deliveryDetail;
  }

  /**
   * 物流信息,智租版可选 */
  public void setDeliveryDetail(DeliveryDetail deliveryDetail) {
    this.deliveryDetail = deliveryDetail;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy