feat(tenpayv3): 随官方更新部分接口模型

This commit is contained in:
Fu Diwei 2022-02-16 11:33:25 +08:00
parent fdc318a8c0
commit ceb210e7a9
8 changed files with 5 additions and 10 deletions

View File

@ -40,9 +40,7 @@
/// <summary> /// <summary>
/// 获取或设置是否需要填写支行。 /// 获取或设置是否需要填写支行。
/// </summary> /// </summary>
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.TextualBooleanConverter))]
[Newtonsoft.Json.JsonProperty("need_bank_branch")] [Newtonsoft.Json.JsonProperty("need_bank_branch")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("need_bank_branch")] [System.Text.Json.Serialization.JsonPropertyName("need_bank_branch")]
public bool RequireBankBranch { get; set; } public bool RequireBankBranch { get; set; }
} }

View File

@ -73,7 +73,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("transferable")] [Newtonsoft.Json.JsonProperty("transferable")]
[System.Text.Json.Serialization.JsonPropertyName("transferable")] [System.Text.Json.Serialization.JsonPropertyName("transferable")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualNullableBooleanConverter))]
public bool? IsTransferable { get; set; } public bool? IsTransferable { get; set; }
/// <summary> /// <summary>
@ -81,7 +80,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("shareable")] [Newtonsoft.Json.JsonProperty("shareable")]
[System.Text.Json.Serialization.JsonPropertyName("shareable")] [System.Text.Json.Serialization.JsonPropertyName("shareable")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualNullableBooleanConverter))]
public bool? IsShareable { get; set; } public bool? IsShareable { get; set; }
/// <summary> /// <summary>

View File

@ -349,7 +349,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("need_collection")] [Newtonsoft.Json.JsonProperty("need_collection")]
[System.Text.Json.Serialization.JsonPropertyName("need_collection")] [System.Text.Json.Serialization.JsonPropertyName("need_collection")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualNullableBooleanConverter))]
public bool? RequireCollection { get; set; } public bool? RequireCollection { get; set; }
/// <summary> /// <summary>

View File

@ -6,7 +6,7 @@
"bank_alias_code": "1000006247", "bank_alias_code": "1000006247",
"account_bank": "招商银行其他银行", "account_bank": "招商银行其他银行",
"account_bank_code": 1001, "account_bank_code": 1001,
"need_bank_branch": "true" "need_bank_branch": true
} }
] ]
} }

View File

@ -6,7 +6,7 @@
"bank_alias_code": "1000006247", "bank_alias_code": "1000006247",
"account_bank": "招商银行其他银行", "account_bank": "招商银行其他银行",
"account_bank_code": 1001, "account_bank_code": 1001,
"need_bank_branch": "true" "need_bank_branch": true
} }
], ],
"offset": "0" "offset": "0"

View File

@ -7,7 +7,7 @@
"goods_name": "xxx商品可用", "goods_name": "xxx商品可用",
"stock_type": "NORMAL", "stock_type": "NORMAL",
"transferable": false, "transferable": false,
"shareable": "false", "shareable": false,
"coupon_state": "SENDED", "coupon_state": "SENDED",
"display_pattern_info": { "display_pattern_info": {
"merchant_logo_url": "https://xxx", "merchant_logo_url": "https://xxx",

View File

@ -30,7 +30,7 @@
"description": "就餐的预估费用" "description": "就餐的预估费用"
}, },
"total_amount": 40000, "total_amount": 40000,
"need_collection": "true", "need_collection": true,
"collection": { "collection": {
"state": "USER_PAID", "state": "USER_PAID",
"total_amount": 50000, "total_amount": 50000,

View File

@ -30,7 +30,7 @@
"description": "就餐的预估费用" "description": "就餐的预估费用"
}, },
"total_amount": 40000, "total_amount": 40000,
"need_collection": "true", "need_collection": true,
"collection": { "collection": {
"state": "USER_PAID", "state": "USER_PAID",
"total_amount": 50000, "total_amount": 50000,