Skip to content

Commit

Permalink
🎨 #2194 【小程序】交易组件生成订单接口请求增加缺失参数
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed Jul 25, 2021
1 parent 59f871a commit 596ada0
Show file tree
Hide file tree
Showing 28 changed files with 74 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopAddOrderResult implements Serializable {
private static final long serialVersionUID = -6574489801942310752L;

/**
* 交易组件平台订单ID
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import lombok.Data;

/**
* @author leiin
* @date 2021/3/23
* @description: 添加商品参数返回
* 添加商品参数返回
*/
@Data
public class WxMaShopAddSpuResult implements Serializable {

private static final long serialVersionUID = 2520459849240776617L;

/**
* 交易组件平台内部商品ID
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopAddressInfo implements Serializable {
private static final long serialVersionUID = 1180506593111279857L;

/**
* 收件人姓名
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopDeliveryDetail implements Serializable {

private static final long serialVersionUID = 9074573142867543744L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopDeliveryItem implements Serializable {

private static final long serialVersionUID = -161617470937369136L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WxMaShopGetSpuResult extends WxMaShopSpuInfo implements Serializable {

private static final long serialVersionUID = -3859372286926181933L;
/**
* 商品审核信息
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import lombok.Data;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopOrderDetail implements Serializable {
private static final long serialVersionUID = 3325843289672341160L;

/**
* 下单商品信息
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
import java.io.Serializable;
import lombok.Data;

/**
* @author Boris
* @date 2021/3/23
*/
@Data
public class WxMaShopOrderInfo implements Serializable {

private static final long serialVersionUID = -159624260640727372L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopOrderResult implements Serializable {

private static final long serialVersionUID = -2665426592693969921L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopPayInfo implements Serializable {

private static final long serialVersionUID = 687488209024968647L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import lombok.Data;

import java.io.Serializable;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopPriceInfo implements Serializable {

private static final long serialVersionUID = 1588840927992523263L;

/**
* 该订单最终的金额(单位:分)
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.io.Serializable;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopProductInfo {
public class WxMaShopProductInfo implements Serializable {
private static final long serialVersionUID = 8979181840150112093L;

/**
* 商家自定义商品ID
* <pre>
Expand Down Expand Up @@ -79,5 +82,11 @@ public class WxMaShopProductInfo {
*/
@SerializedName("sku_id")
private Integer skuId;

/**
* 扣除优惠后单件sku的分摊价格(单位:分),如果没优惠则与sale_price一致
*/
@SerializedName("real_price")
private Integer realPrice;
}

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
import lombok.NoArgsConstructor;

/**
* <pre>
* sku对象
* </pre>
*
* @author <a href="https://github.com/borisbao">boris</a>
* @since 2021-03-22
Expand All @@ -20,11 +18,8 @@
@NoArgsConstructor
@AllArgsConstructor
public class WxMaShopSkuAttribute implements Serializable {


private static final long serialVersionUID = -3617077838017818865L;


/**
* 销售属性key(自定义)
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
import lombok.NoArgsConstructor;

/**
* <pre>
* sku对象
* </pre>
*
* @author <a href="https://github.com/borisbao">boris</a>
* @since 2021-03-22
Expand All @@ -21,8 +19,6 @@
@NoArgsConstructor
@AllArgsConstructor
public class WxMaShopSkuInfo implements Serializable {


private static final long serialVersionUID = -3617077838017818865L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import lombok.Data;

import java.io.Serializable;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopSkuResult implements Serializable {

private static final long serialVersionUID = 7127892618805299305L;

/**
* 交易组件平台自定义skuID
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopSkuWithoutAuditInfo implements Serializable {

private static final long serialVersionUID = 3354108922805323888L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import lombok.Data;

import java.io.Serializable;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopSpuAudit implements Serializable {

private static final long serialVersionUID = -3793445161382782265L;

/**
* 上一次审核时间, yyyy-MM-dd HH:mm:ss
* <pre>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* <pre>
* 交易组件-spu商品详情图文
* </pre>
* @author <a href="https://github.com/borisbao">boris</a>
* @since 2021-03-22
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaShopSpuDescInfo {
public class WxMaShopSpuDescInfo implements Serializable {
private static final long serialVersionUID = 9116393835880797275L;

/**
* 商品详情图文-描述
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
import java.util.List;
import lombok.Data;

/**
* @author Boris
* @date 2021/3/23
*/
@Data
public class WxMaShopSpuInfo implements Serializable {

private static final long serialVersionUID = 7237829277693177420L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
package cn.binarywang.wx.miniapp.bean.shop;

import com.google.gson.annotations.SerializedName;
import java.util.List;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopSpuWithoutAuditInfo {
public class WxMaShopSpuWithoutAuditInfo implements Serializable {
private static final long serialVersionUID = 3878053072551733781L;

/**
* 交易组件平台内部商品ID,修改时与out_product_id二选一
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
/**
* @author leiin
* @date 2021/3/23
* @description:
*/
@Data
public class WxMaShopOrderPayRequest implements Serializable {

private static final long serialVersionUID = -954667936670521398L;

/**
Expand Down
Loading

0 comments on commit 596ada0

Please sign in to comment.