Skip to content

FavorAvailableTime类字段描述错误 #395

Description

@haitanghua1122

错误描述

FavorAvailableTime类的availableTimeAfterReceive字段与微信支付产品文档不匹配,微信支付文档是以天为单位,sdk描述的是以分钟为单位

重现bug的步骤

  1. 查看sdk时发现的问题

预期行为

希望同步一下微信文档的描述

导致错误的代码片段

微信文档:
 available_time_after_receive  选填   integer

【领取后有效时间】领取后,券的结束时间为领取N天后,如设置领取后7天有效,那么7月1日领券,在7月7日23:59:59失效(在可用时间内计算失效时间,若券还未到领取后N天,但是已经到了可用结束时间,那么也会过期)
领取后有效时间,单位:天。
该字段暂未开放  

微信支付SDK:
/** 领取后有效时间 说明:领取后有效时间,单位分钟 */
  @SerializedName("available_time_after_receive")
  private Integer availableTimeAfterReceive;

操作系统

windows10

Java 版本

Java 17

wechatpay-java 版本

0.2.17

其他信息

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions