From 5e48f753cc126bf4be642dc38cdf5d2941d9c647 Mon Sep 17 00:00:00 2001 From: ByteChen <773749455@qq.com> Date: Tue, 10 Oct 2023 20:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=82=B9=E9=87=91=E8=AE=A1?= =?UTF-8?q?=E5=88=92SDK=EF=BC=9A=E7=82=B9=E9=87=91=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=AE=A1=E7=90=86API=E6=96=B0=E5=A2=9E=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=AD=97=E6=AE=B5=20(#233)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/goldplan/GoldPlanService.java | 2 +- .../model/ChangeCustomPageStatusRequest.java | 2 +- .../model/ChangeCustomPageStatusResponse.java | 2 +- .../model/ChangeGoldPlanStatusRequest.java | 14 +++++++++- .../model/ChangeGoldPlanStatusResponse.java | 2 +- .../model/CloseAdvertisingShowRequest.java | 2 +- .../service/goldplan/model/IndustryType.java | 2 +- .../model/OpenAdvertisingShowRequest.java | 2 +- .../goldplan/model/OperationPayScene.java | 26 +++++++++++++++++++ .../service/goldplan/model/OperationType.java | 2 +- .../SetAdvertisingIndustryFilterRequest.java | 2 +- 11 files changed, 48 insertions(+), 10 deletions(-) create mode 100644 service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationPayScene.java diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/GoldPlanService.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/GoldPlanService.java index 9a786554..4d6a1778 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/GoldPlanService.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/GoldPlanService.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusRequest.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusRequest.java index 76136d51..92449604 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusRequest.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusRequest.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusResponse.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusResponse.java index d432ad56..6cfc676e 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusResponse.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeCustomPageStatusResponse.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusRequest.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusRequest.java index 7ec5e5c9..0a840242 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusRequest.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusRequest.java @@ -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. @@ -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; @@ -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(); } diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusResponse.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusResponse.java index 0fdba8c3..9246eb21 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusResponse.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/ChangeGoldPlanStatusResponse.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/CloseAdvertisingShowRequest.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/CloseAdvertisingShowRequest.java index e5b6f7db..da1d165b 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/CloseAdvertisingShowRequest.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/CloseAdvertisingShowRequest.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/IndustryType.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/IndustryType.java index 9007bb65..748d7e54 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/IndustryType.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/IndustryType.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OpenAdvertisingShowRequest.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OpenAdvertisingShowRequest.java index 46ce8458..c754f7e0 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OpenAdvertisingShowRequest.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OpenAdvertisingShowRequest.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationPayScene.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationPayScene.java new file mode 100644 index 00000000..884649e5 --- /dev/null +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationPayScene.java @@ -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 +} diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationType.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationType.java index 8657fd0d..48188e68 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationType.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/OperationType.java @@ -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. diff --git a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/SetAdvertisingIndustryFilterRequest.java b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/SetAdvertisingIndustryFilterRequest.java index 54a3e36b..890af7be 100644 --- a/service/src/main/java/com/wechat/pay/java/service/goldplan/model/SetAdvertisingIndustryFilterRequest.java +++ b/service/src/main/java/com/wechat/pay/java/service/goldplan/model/SetAdvertisingIndustryFilterRequest.java @@ -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.