Skip to content

Commit

Permalink
更新点金计划SDK:点金计划管理API新增支付场景字段 (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteChen committed Oct 10, 2023
1 parent d4fffa0 commit 5e48f75
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand All @@ -23,6 +23,9 @@ public class ChangeGoldPlanStatusRequest {
/** 操作类型 说明:开通或关闭点金计划的动作,枚举值: OPEN:表示开通点金计划 CLOSE:表示关闭点金计划 */
@SerializedName("operation_type")
private OperationType operationType;
/** 支付场景 说明:支付场景,指定开通点金计划的支付场景。如果未指定,则默认全部打开 */
@SerializedName("operation_pay_scene")
private OperationPayScene operationPayScene;

public String getSubMchid() {
return subMchid;
Expand All @@ -40,12 +43,21 @@ 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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// 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 com.google.gson.annotations.SerializedName;

/** OperationPayScene */
public enum OperationPayScene {
@SerializedName("JSAPI_AND_MINIPROGRAM")
JSAPI_AND_MINIPROGRAM,

@SerializedName("JSAPI")
JSAPI,

@SerializedName("MINIPROGRAM")
MINIPROGRAM
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

// Code generated by WechatPay APIv3 Generator based on [OpenAPI
// Generator](https://openapi-generator.tech); DO NOT EDIT.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// 特约商户点金计划管理API
//
// API version: 0.2.3
// API version: 0.3.3

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

0 comments on commit 5e48f75

Please sign in to comment.