@@ -253,6 +253,25 @@ public static class WechatTenpayClientExecuteMarketingFavorExtensions
253253 return await client . SendFlurlRequestAsJsonAsync < Models . GetMarketingFavorStockUseFlowResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
254254 }
255255
256+ /// <summary>
257+ /// <para>异步调用 [GET] /marketing/favor/stocks/{stock_id}/use-flow-by-day 接口。</para>
258+ /// </summary>
259+ /// <param name="client"></param>
260+ /// <param name="request"></param>
261+ /// <param name="cancellationToken"></param>
262+ /// <returns></returns>
263+ public static async Task < Models . GetMarketingFavorStockUseFlowByDayResponse > ExecuteGetMarketingFavorStockUseFlowByDayAsync ( this WechatTenpayClient client , Models . GetMarketingFavorStockUseFlowByDayRequest request , CancellationToken cancellationToken = default )
264+ {
265+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
266+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
267+
268+ IFlurlRequest flurlReq = client
269+ . CreateFlurlRequest ( request , HttpMethod . Get , "marketing" , "favor" , "stocks" , request . StockId , "use-flow-by-day" )
270+ . SetQueryParam ( "bill_date" , request . BillDateString ) ;
271+
272+ return await client . SendFlurlRequestAsJsonAsync < Models . GetMarketingFavorStockUseFlowByDayResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
273+ }
274+
256275 /// <summary>
257276 /// <para>异步调用 [GET] /marketing/favor/stocks/{stock_id}/refund-flow 接口。</para>
258277 /// <para>
@@ -276,6 +295,25 @@ public static class WechatTenpayClientExecuteMarketingFavorExtensions
276295 return await client . SendFlurlRequestAsJsonAsync < Models . GetMarketingFavorStockRefundFlowResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
277296 }
278297
298+ /// <summary>
299+ /// <para>异步调用 [GET] /marketing/favor/stocks/{stock_id}/refund-flow-by-day 接口。</para>
300+ /// </summary>
301+ /// <param name="client"></param>
302+ /// <param name="request"></param>
303+ /// <param name="cancellationToken"></param>
304+ /// <returns></returns>
305+ public static async Task < Models . GetMarketingFavorStockRefundFlowByDayResponse > ExecuteGetMarketingFavorStockRefundFlowByDayAsync ( this WechatTenpayClient client , Models . GetMarketingFavorStockRefundFlowByDayRequest request , CancellationToken cancellationToken = default )
306+ {
307+ if ( client is null ) throw new ArgumentNullException ( nameof ( client ) ) ;
308+ if ( request is null ) throw new ArgumentNullException ( nameof ( request ) ) ;
309+
310+ IFlurlRequest flurlReq = client
311+ . CreateFlurlRequest ( request , HttpMethod . Get , "marketing" , "favor" , "stocks" , request . StockId , "refund-flow-by-day" )
312+ . SetQueryParam ( "bill_date" , request . BillDateString ) ;
313+
314+ return await client . SendFlurlRequestAsJsonAsync < Models . GetMarketingFavorStockRefundFlowByDayResponse > ( flurlReq , data : request , cancellationToken : cancellationToken ) . ConfigureAwait ( false ) ;
315+ }
316+
279317 /// <summary>
280318 /// <para>异步调用 [POST] /marketing/favor/users/{openid}/coupons 接口。</para>
281319 /// <para>
0 commit comments