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

com.wechat.pay.java.service.goldplan.model.ChangeGoldPlanStatusRequest Maven / Gradle / Ivy

There is a newer version: 0.2.15
Show newest version
// Copyright 2021 Tencent Inc. All rights reserved.
//
// 点金计划对外API
//
// 特约商户点金计划管理API
//
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.

package com.wechat.pay.java.service.goldplan.model;

import static com.wechat.pay.java.core.util.StringUtil.toIndentedString;

import com.google.gson.annotations.SerializedName;

/** ChangeGoldPlanStatusRequest */
public class ChangeGoldPlanStatusRequest {
  /** 特约商户号 说明:开通或关闭点金计划的特约商户商户号,由微信支付生成并下发。 */
  @SerializedName("sub_mchid")
  private String subMchid;

  /** 操作类型 说明:开通或关闭点金计划的动作,枚举值: OPEN:表示开通点金计划 CLOSE:表示关闭点金计划 */
  @SerializedName("operation_type")
  private OperationType operationType;

  /** 支付场景 说明:支付场景,指定开通点金计划的支付场景。如果未指定,则默认全部打开 */
  @SerializedName("operation_pay_scene")
  private OperationPayScene operationPayScene;

  public String getSubMchid() {
    return subMchid;
  }

  public void setSubMchid(String subMchid) {
    this.subMchid = subMchid;
  }

  public OperationType getOperationType() {
    return operationType;
  }

  public void setOperationType(OperationType operationType) {
    this.operationType = operationType;
  }

  public OperationPayScene getOperationPayScene() {
    return operationPayScene;
  }

  public void setOperationPayScene(OperationPayScene operationPayScene) {
    this.operationPayScene = operationPayScene;
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ChangeGoldPlanStatusRequest {\n");
    sb.append("    subMchid: ").append(toIndentedString(subMchid)).append("\n");
    sb.append("    operationType: ").append(toIndentedString(operationType)).append("\n");
    sb.append("    operationPayScene: ").append(toIndentedString(operationPayScene)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy