You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					
					
						
							450 lines
						
					
					
						
							11 KiB
						
					
					
				
			
		
		
	
	
							450 lines
						
					
					
						
							11 KiB
						
					
					
				package com.ynxbd.bcm.bean.pmssMpng;
 | 
						|
 | 
						|
import com.bocom.api.AbstractBocomRequest;
 | 
						|
import com.bocom.api.BizContent;
 | 
						|
import com.fasterxml.jackson.annotation.JsonProperty;
 | 
						|
 | 
						|
import java.util.List;
 | 
						|
 | 
						|
 | 
						|
public class MPNG210001RequestV1 extends AbstractBocomRequest<MPNG210001ResponseV1> {
 | 
						|
 | 
						|
    @Override
 | 
						|
    public Class<MPNG210001ResponseV1> getResponseClass() {
 | 
						|
        return MPNG210001ResponseV1.class;
 | 
						|
    }
 | 
						|
 | 
						|
    @Override
 | 
						|
    public boolean isNeedEncrypt() {
 | 
						|
        return false;
 | 
						|
    }
 | 
						|
 | 
						|
    @Override
 | 
						|
    public String getMethod() {
 | 
						|
        return "POST";
 | 
						|
    }
 | 
						|
 | 
						|
    @Override
 | 
						|
    public Class<? extends BizContent> getBizContentClass() {
 | 
						|
        return MPNG210001RequestV1Biz.class;
 | 
						|
    }
 | 
						|
 | 
						|
    public static class MPNG210001RequestV1Biz implements BizContent {
 | 
						|
 | 
						|
        /**
 | 
						|
         * "req_head"
 | 
						|
         */
 | 
						|
        @JsonProperty("req_head")
 | 
						|
        private ReqHead reqHead;
 | 
						|
 | 
						|
        public static class ReqHead {
 | 
						|
            /**
 | 
						|
             * 交易时间 yyyymmddhhmmss
 | 
						|
             */
 | 
						|
            @JsonProperty("trans_time")
 | 
						|
            private String transTime;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 版本信息
 | 
						|
             */
 | 
						|
            @JsonProperty("version")
 | 
						|
            private String version;
 | 
						|
 | 
						|
            public String getTransTime() {
 | 
						|
                return transTime;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setTransTime(String transTime) {
 | 
						|
                this.transTime = transTime;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getVersion() {
 | 
						|
                return version;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setVersion(String version) {
 | 
						|
                this.version = version;
 | 
						|
            }
 | 
						|
        }
 | 
						|
 | 
						|
        /**
 | 
						|
         * ""
 | 
						|
         */
 | 
						|
        @JsonProperty("req_body")
 | 
						|
        private ReqBody reqBody;
 | 
						|
 | 
						|
        public static class ReqBody {
 | 
						|
            /**
 | 
						|
             * "商户分账信息"
 | 
						|
             */
 | 
						|
            @JsonProperty("royalty_info")
 | 
						|
            private List<RoyaltyInfo> royaltyInfo;
 | 
						|
 | 
						|
            public static class RoyaltyInfo {
 | 
						|
                /**
 | 
						|
                 * 分账金额
 | 
						|
                 */
 | 
						|
                @JsonProperty("amount")
 | 
						|
                private String amount;
 | 
						|
 | 
						|
                /**
 | 
						|
                 * 分账的序号
 | 
						|
                 */
 | 
						|
                @JsonProperty("serial_no")
 | 
						|
                private String serialNo;
 | 
						|
 | 
						|
                public String getAmount() {
 | 
						|
                    return amount;
 | 
						|
                }
 | 
						|
 | 
						|
                public void setAmount(String amount) {
 | 
						|
                    this.amount = amount;
 | 
						|
                }
 | 
						|
 | 
						|
                public String getSerialNo() {
 | 
						|
                    return serialNo;
 | 
						|
                }
 | 
						|
 | 
						|
                public void setSerialNo(String serialNo) {
 | 
						|
                    this.serialNo = serialNo;
 | 
						|
                }
 | 
						|
            }
 | 
						|
 | 
						|
            /**
 | 
						|
             * 交易失效时间
 | 
						|
             */
 | 
						|
            @JsonProperty("valid_period")
 | 
						|
            private String validPeriod;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 交易场景
 | 
						|
             */
 | 
						|
            @JsonProperty("tran_scene")
 | 
						|
            private String tranScene;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 终端号
 | 
						|
             */
 | 
						|
            @JsonProperty("terminal_info")
 | 
						|
            private String terminalInfo;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户编号
 | 
						|
             */
 | 
						|
            @JsonProperty("mer_ptc_id")
 | 
						|
            private String merPtcId;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户侧交易时间
 | 
						|
             */
 | 
						|
            @JsonProperty("mer_trade_time")
 | 
						|
            private String merTradeTime;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 后台通知地址
 | 
						|
             */
 | 
						|
            @JsonProperty("notify_url")
 | 
						|
            private String notifyUrl;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 经纬度信息
 | 
						|
             */
 | 
						|
            @JsonProperty("location_id")
 | 
						|
            private String locationId;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户侧交易日期
 | 
						|
             */
 | 
						|
            @JsonProperty("mer_trade_date")
 | 
						|
            private String merTradeDate;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 门店编号
 | 
						|
             */
 | 
						|
            @JsonProperty("shop_id")
 | 
						|
            private String shopId;
 | 
						|
 | 
						|
            /**
 | 
						|
             * "服务商分润信息"
 | 
						|
             */
 | 
						|
            @JsonProperty("fee_split_info")
 | 
						|
            private FeeSplitInfo feeSplitInfo;
 | 
						|
 | 
						|
            public static class FeeSplitInfo {
 | 
						|
                /**
 | 
						|
                 * 服务商分润金额
 | 
						|
                 */
 | 
						|
                @JsonProperty("partner_amount")
 | 
						|
                private String partnerAmount;
 | 
						|
 | 
						|
                /**
 | 
						|
                 * 商户结算金额
 | 
						|
                 */
 | 
						|
                @JsonProperty("mer_amount")
 | 
						|
                private String merAmount;
 | 
						|
 | 
						|
                public String getPartnerAmount() {
 | 
						|
                    return partnerAmount;
 | 
						|
                }
 | 
						|
 | 
						|
                public void setPartnerAmount(String partnerAmount) {
 | 
						|
                    this.partnerAmount = partnerAmount;
 | 
						|
                }
 | 
						|
 | 
						|
                public String getMerAmount() {
 | 
						|
                    return merAmount;
 | 
						|
                }
 | 
						|
 | 
						|
                public void setMerAmount(String merAmount) {
 | 
						|
                    this.merAmount = merAmount;
 | 
						|
                }
 | 
						|
            }
 | 
						|
 | 
						|
            /**
 | 
						|
             * 服务商编号
 | 
						|
             */
 | 
						|
            @JsonProperty("partner_id")
 | 
						|
            private String partnerId;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户交易编号
 | 
						|
             */
 | 
						|
            @JsonProperty("pay_mer_tran_no")
 | 
						|
            private String payMerTranNo;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 不带报文的前台跳转地址
 | 
						|
             */
 | 
						|
            @JsonProperty("jump_url")
 | 
						|
            private String jumpUrl;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户内部备注
 | 
						|
             */
 | 
						|
            @JsonProperty("mer_memo")
 | 
						|
            private String merMemo;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 商户订单总金额
 | 
						|
             */
 | 
						|
            @JsonProperty("total_amount")
 | 
						|
            private String totalAmount;
 | 
						|
 | 
						|
            /**
 | 
						|
             * "额外返回的属性"
 | 
						|
             */
 | 
						|
            @JsonProperty("require_fields")
 | 
						|
            private List<RequireFields> requireFields;
 | 
						|
 | 
						|
            public static class RequireFields {
 | 
						|
                /**
 | 
						|
                 * 额外返回的属性
 | 
						|
                 */
 | 
						|
                @JsonProperty("require_field")
 | 
						|
                private String requireField;
 | 
						|
 | 
						|
                public String getRequireField() {
 | 
						|
                    return requireField;
 | 
						|
                }
 | 
						|
 | 
						|
                public void setRequireField(String requireField) {
 | 
						|
                    this.requireField = requireField;
 | 
						|
                }
 | 
						|
            }
 | 
						|
 | 
						|
            /**
 | 
						|
             * 线上或线下
 | 
						|
             */
 | 
						|
            @JsonProperty("location")
 | 
						|
            private String location;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 币种
 | 
						|
             */
 | 
						|
            @JsonProperty("currency")
 | 
						|
            private String currency;
 | 
						|
 | 
						|
            /**
 | 
						|
             * 交易内容
 | 
						|
             */
 | 
						|
            @JsonProperty("tran_content")
 | 
						|
            private String tranContent;
 | 
						|
 | 
						|
            public List<RoyaltyInfo> getRoyaltyInfo() {
 | 
						|
                return royaltyInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setRoyaltyInfo(List<RoyaltyInfo> royaltyInfo) {
 | 
						|
                this.royaltyInfo = royaltyInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getValidPeriod() {
 | 
						|
                return validPeriod;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setValidPeriod(String validPeriod) {
 | 
						|
                this.validPeriod = validPeriod;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getTranScene() {
 | 
						|
                return tranScene;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setTranScene(String tranScene) {
 | 
						|
                this.tranScene = tranScene;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getTerminalInfo() {
 | 
						|
                return terminalInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setTerminalInfo(String terminalInfo) {
 | 
						|
                this.terminalInfo = terminalInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getMerPtcId() {
 | 
						|
                return merPtcId;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setMerPtcId(String merPtcId) {
 | 
						|
                this.merPtcId = merPtcId;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getMerTradeTime() {
 | 
						|
                return merTradeTime;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setMerTradeTime(String merTradeTime) {
 | 
						|
                this.merTradeTime = merTradeTime;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getNotifyUrl() {
 | 
						|
                return notifyUrl;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setNotifyUrl(String notifyUrl) {
 | 
						|
                this.notifyUrl = notifyUrl;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getLocationId() {
 | 
						|
                return locationId;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setLocationId(String locationId) {
 | 
						|
                this.locationId = locationId;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getMerTradeDate() {
 | 
						|
                return merTradeDate;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setMerTradeDate(String merTradeDate) {
 | 
						|
                this.merTradeDate = merTradeDate;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getShopId() {
 | 
						|
                return shopId;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setShopId(String shopId) {
 | 
						|
                this.shopId = shopId;
 | 
						|
            }
 | 
						|
 | 
						|
            public FeeSplitInfo getFeeSplitInfo() {
 | 
						|
                return feeSplitInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setFeeSplitInfo(FeeSplitInfo feeSplitInfo) {
 | 
						|
                this.feeSplitInfo = feeSplitInfo;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getPartnerId() {
 | 
						|
                return partnerId;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setPartnerId(String partnerId) {
 | 
						|
                this.partnerId = partnerId;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getPayMerTranNo() {
 | 
						|
                return payMerTranNo;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setPayMerTranNo(String payMerTranNo) {
 | 
						|
                this.payMerTranNo = payMerTranNo;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getJumpUrl() {
 | 
						|
                return jumpUrl;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setJumpUrl(String jumpUrl) {
 | 
						|
                this.jumpUrl = jumpUrl;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getMerMemo() {
 | 
						|
                return merMemo;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setMerMemo(String merMemo) {
 | 
						|
                this.merMemo = merMemo;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getTotalAmount() {
 | 
						|
                return totalAmount;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setTotalAmount(String totalAmount) {
 | 
						|
                this.totalAmount = totalAmount;
 | 
						|
            }
 | 
						|
 | 
						|
            public List<RequireFields> getRequireFields() {
 | 
						|
                return requireFields;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setRequireFields(List<RequireFields> requireFields) {
 | 
						|
                this.requireFields = requireFields;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getLocation() {
 | 
						|
                return location;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setLocation(String location) {
 | 
						|
                this.location = location;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getCurrency() {
 | 
						|
                return currency;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setCurrency(String currency) {
 | 
						|
                this.currency = currency;
 | 
						|
            }
 | 
						|
 | 
						|
            public String getTranContent() {
 | 
						|
                return tranContent;
 | 
						|
            }
 | 
						|
 | 
						|
            public void setTranContent(String tranContent) {
 | 
						|
                this.tranContent = tranContent;
 | 
						|
            }
 | 
						|
        }
 | 
						|
 | 
						|
        public ReqHead getReqHead() {
 | 
						|
            return reqHead;
 | 
						|
        }
 | 
						|
 | 
						|
        public void setReqHead(ReqHead reqHead) {
 | 
						|
            this.reqHead = reqHead;
 | 
						|
        }
 | 
						|
 | 
						|
        public ReqBody getReqBody() {
 | 
						|
            return reqBody;
 | 
						|
        }
 | 
						|
 | 
						|
        public void setReqBody(ReqBody reqBody) {
 | 
						|
            this.reqBody = reqBody;
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |