mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-01-21 10:32:12 +08:00
🎨 #3414 【视频号】小店API获取订单详情接口结果类新增几个属性
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
package me.chanjar.weixin.channel.bean.order;
|
package me.chanjar.weixin.channel.bean.order;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import java.io.Serializable;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商店订单价格信息
|
* 商店订单价格信息
|
||||||
*
|
*
|
||||||
@@ -13,54 +14,97 @@ import lombok.NoArgsConstructor;
|
|||||||
@Data
|
@Data
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public class OrderPriceInfo implements Serializable {
|
public class OrderPriceInfo implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 5216506688949493432L;
|
private static final long serialVersionUID = 5216506688949493432L;
|
||||||
/** 商品总价,单位为分 */
|
|
||||||
|
/**
|
||||||
|
* 商品总价,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("product_price")
|
@JsonProperty("product_price")
|
||||||
private Integer productPrice;
|
private Integer productPrice;
|
||||||
|
|
||||||
/** 订单金额,单位为分 */
|
/**
|
||||||
|
* 订单金额,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("order_price")
|
@JsonProperty("order_price")
|
||||||
private Integer orderPrice;
|
private Integer orderPrice;
|
||||||
|
|
||||||
/** 运费,单位为分 */
|
/**
|
||||||
|
* 运费,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("freight")
|
@JsonProperty("freight")
|
||||||
private Integer freight;
|
private Integer freight;
|
||||||
|
|
||||||
/** 优惠金额,单位为分 */
|
/**
|
||||||
|
* 优惠金额,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("discounted_price")
|
@JsonProperty("discounted_price")
|
||||||
private Integer discountedPrice;
|
private Integer discountedPrice;
|
||||||
|
|
||||||
/** 是否有优惠 */
|
/**
|
||||||
|
* 是否有优惠
|
||||||
|
*/
|
||||||
@JsonProperty("is_discounted")
|
@JsonProperty("is_discounted")
|
||||||
private Boolean isDiscounted;
|
private Boolean isDiscounted;
|
||||||
|
|
||||||
/** 订单原始价格,单位为分 */
|
/**
|
||||||
|
* 订单原始价格,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("original_order_price")
|
@JsonProperty("original_order_price")
|
||||||
private Integer originalOrderPrice;
|
private Integer originalOrderPrice;
|
||||||
|
|
||||||
/** 商品预估价格,单位为分 */
|
/**
|
||||||
|
* 商品预估价格,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("estimate_product_price")
|
@JsonProperty("estimate_product_price")
|
||||||
private Integer estimateProductPrice;
|
private Integer estimateProductPrice;
|
||||||
|
|
||||||
/** 改价后降低金额,单位为分 */
|
/**
|
||||||
|
* 改价后降低金额,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("change_down_price")
|
@JsonProperty("change_down_price")
|
||||||
private Integer changeDownPrice;
|
private Integer changeDownPrice;
|
||||||
|
|
||||||
/** 改价后运费,单位为分 */
|
/**
|
||||||
|
* 改价后运费,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("change_freight")
|
@JsonProperty("change_freight")
|
||||||
private Integer changeFreight;
|
private Integer changeFreight;
|
||||||
|
|
||||||
/** 是否修改运费 */
|
/**
|
||||||
|
* 是否修改运费
|
||||||
|
*/
|
||||||
@JsonProperty("is_change_freight")
|
@JsonProperty("is_change_freight")
|
||||||
private Boolean changeFreighted;
|
private Boolean changeFreighted;
|
||||||
|
|
||||||
/** 是否使用了会员积分抵扣 */
|
/**
|
||||||
|
* 是否使用了会员积分抵扣
|
||||||
|
*/
|
||||||
@JsonProperty("use_deduction")
|
@JsonProperty("use_deduction")
|
||||||
private Boolean useDeduction;
|
private Boolean useDeduction;
|
||||||
|
|
||||||
/** 会员积分抵扣金额,单位为分 */
|
/**
|
||||||
|
* 会员积分抵扣金额,单位为分
|
||||||
|
*/
|
||||||
@JsonProperty("deduction_price")
|
@JsonProperty("deduction_price")
|
||||||
private Integer deductionPrice;
|
private Integer deductionPrice;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商家实收金额,单位为分
|
||||||
|
* merchant_receieve_price=original_order_price-discounted_price-deduction_price-change_down_price
|
||||||
|
*/
|
||||||
|
@JsonProperty("merchant_receieve_price")
|
||||||
|
private Integer merchant_receive_price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商家优惠金额,单位为分,含义同discounted_price,必填
|
||||||
|
*/
|
||||||
|
@JsonProperty("merchant_discounted_price")
|
||||||
|
private Integer merchant_discounted_price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 达人优惠金额,单位为分
|
||||||
|
*/
|
||||||
|
@JsonProperty("finder_discounted_price")
|
||||||
|
private Integer finder_discounted_price;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user