Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新点金计划SDK:点金计划管理API新增支付场景字段 #233

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading