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

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

Go to download

Ant Chain API SDK For Java Copyright (c) 2020-present antgroup.com, https://www.antgroup.com

There is a newer version: 1.9.29
Show newest version
//
//  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.response.CreateRealpersonFacevrfResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 可信身份认证,创建认证 */
public class CreateRealpersonFacevrfRequest extends AntCloudProdRequest {
  @NotNull
  private String solutionType;

  @NotNull
  private String certName;

  @NotNull
  private String certNo;

  @NotNull
  private String certType;

  private String faceReserveStrategy;

  private String returnUrl;

  public CreateRealpersonFacevrfRequest(String productInstanceId) {
    super("antchain.ato.realperson.facevrf.create", "1.0", "Java-SDK-20240808", productInstanceId);
  }

  public CreateRealpersonFacevrfRequest() {
    super("antchain.ato.realperson.facevrf.create", "1.0", null);
    this.setSdkVersion("Java-SDK-20240808");
  }

  /**
   * 实人认证方案枚举
   * APP(客户端android/ios方案)
   * H5(网页)
   * ZFB(支付宝客户端H5方案) */
  public String getSolutionType() {
    return this.solutionType;
  }

  /**
   * 实人认证方案枚举
   * APP(客户端android/ios方案)
   * H5(网页)
   * ZFB(支付宝客户端H5方案) */
  public void setSolutionType(String solutionType) {
    this.solutionType = solutionType;
  }

  /**
   * 真实姓名 */
  public String getCertName() {
    return this.certName;
  }

  /**
   * 真实姓名 */
  public void setCertName(String certName) {
    this.certName = certName;
  }

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

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

  /**
   * 身份信息来源类型
   * IDENTITY_CARD(身份证) */
  public String getCertType() {
    return this.certType;
  }

  /**
   * 身份信息来源类型
   * IDENTITY_CARD(身份证) */
  public void setCertType(String certType) {
    this.certType = certType;
  }

  /**
   * 【solution_type=ZFB使用】
   * reserve(保存活体人脸 默认值)
   * never(不保存活体人脸) */
  public String getFaceReserveStrategy() {
    return this.faceReserveStrategy;
  }

  /**
   * 【solution_type=ZFB使用】
   * reserve(保存活体人脸 默认值)
   * never(不保存活体人脸) */
  public void setFaceReserveStrategy(String faceReserveStrategy) {
    this.faceReserveStrategy = faceReserveStrategy;
  }

  /**
   * 【solution_type=ZFB使用】
   * 认证成功后需要跳转的地址 */
  public String getReturnUrl() {
    return this.returnUrl;
  }

  /**
   * 【solution_type=ZFB使用】
   * 认证成功后需要跳转的地址 */
  public void setReturnUrl(String returnUrl) {
    this.returnUrl = returnUrl;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy