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

cn.com.antcloud.api.ato.v1_0.request.CancelFundPlanRequest 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.response.CancelFundPlanResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * 资方调用,取消商户履约计划 */
public class CancelFundPlanRequest extends AntCloudProdRequest {
  @NotNull
  private String orderId;

  @NotNull
  private String merchantId;

  @NotNull
  private String cancelReason;

  private String fundId;

  public CancelFundPlanRequest(String productInstanceId) {
    super("antchain.ato.fund.plan.cancel", "1.0", "Java-SDK-20240923", productInstanceId);
  }

  public CancelFundPlanRequest() {
    super("antchain.ato.fund.plan.cancel", "1.0", null);
    this.setSdkVersion("Java-SDK-20240923");
  }

  /**
   * 订单id 长度不可超过50 */
  public String getOrderId() {
    return this.orderId;
  }

  /**
   * 订单id 长度不可超过50 */
  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  /**
   * 订单所属商户的社会信用代码 */
  public String getMerchantId() {
    return this.merchantId;
  }

  /**
   * 订单所属商户的社会信用代码 */
  public void setMerchantId(String merchantId) {
    this.merchantId = merchantId;
  }

  /**
   * 取消原因 
   * ACTIVE_REDEEM:自主赎回
   * RENTING_OUT_REDEEM:退租赎回
   * RENTING_AND_RESALE_REDEEM:租转售赎回 */
  public String getCancelReason() {
    return this.cancelReason;
  }

  /**
   * 取消原因 
   * ACTIVE_REDEEM:自主赎回
   * RENTING_OUT_REDEEM:退租赎回
   * RENTING_AND_RESALE_REDEEM:租转售赎回 */
  public void setCancelReason(String cancelReason) {
    this.cancelReason = cancelReason;
  }

  /**
   * 融资单的资方社会信用代码 */
  public String getFundId() {
    return this.fundId;
  }

  /**
   * 融资单的资方社会信用代码 */
  public void setFundId(String fundId) {
    this.fundId = fundId;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy