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.
		
		
		
		
			
				
					148 lines
				
				3.4 KiB
			
		
		
			
		
	
	
					148 lines
				
				3.4 KiB
			| 
								 
											3 years ago
										 
									 | 
							
								package com.ynxbd.bcm.bean.pmssMpng;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import com.bocom.api.AbstractBocomRequest;
							 | 
						||
| 
								 | 
							
								import com.bocom.api.BizContent;
							 | 
						||
| 
								 | 
							
								import com.fasterxml.jackson.annotation.JsonProperty;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								public class MPNG210106RequestV1 extends AbstractBocomRequest<MPNG210106ResponseV1> {
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    @Override
							 | 
						||
| 
								 | 
							
								    public Class<MPNG210106ResponseV1> getResponseClass() {
							 | 
						||
| 
								 | 
							
								        return MPNG210106ResponseV1.class;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    @Override
							 | 
						||
| 
								 | 
							
								    public boolean isNeedEncrypt() {
							 | 
						||
| 
								 | 
							
								        return false;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    @Override
							 | 
						||
| 
								 | 
							
								    public String getMethod() {
							 | 
						||
| 
								 | 
							
								        return "POST";
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    @Override
							 | 
						||
| 
								 | 
							
								    public Class<? extends BizContent> getBizContentClass() {
							 | 
						||
| 
								 | 
							
								        return MPNG210106RequestV1Biz.class;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    public static class MPNG210106RequestV1Biz 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;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        /**
							 | 
						||
| 
								 | 
							
								         * "req_body"
							 | 
						||
| 
								 | 
							
								         */
							 | 
						||
| 
								 | 
							
								        @JsonProperty("req_body")
							 | 
						||
| 
								 | 
							
								        private ReqBody reqBody;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        public static class ReqBody {
							 | 
						||
| 
								 | 
							
								            /**
							 | 
						||
| 
								 | 
							
								             * 服务商编号
							 | 
						||
| 
								 | 
							
								             */
							 | 
						||
| 
								 | 
							
								            @JsonProperty("partner_id")
							 | 
						||
| 
								 | 
							
								            private String partnerId;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            /**
							 | 
						||
| 
								 | 
							
								             * 商户编号
							 | 
						||
| 
								 | 
							
								             */
							 | 
						||
| 
								 | 
							
								            @JsonProperty("mer_ptc_id")
							 | 
						||
| 
								 | 
							
								            private String merPtcId;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            /**
							 | 
						||
| 
								 | 
							
								             * 子appid
							 | 
						||
| 
								 | 
							
								             */
							 | 
						||
| 
								 | 
							
								            @JsonProperty("sub_appid")
							 | 
						||
| 
								 | 
							
								            private String subAppid;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            /**
							 | 
						||
| 
								 | 
							
								             * 用户授权码
							 | 
						||
| 
								 | 
							
								             */
							 | 
						||
| 
								 | 
							
								            @JsonProperty("auth_code")
							 | 
						||
| 
								 | 
							
								            private String authCode;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public String getPartnerId() {
							 | 
						||
| 
								 | 
							
								                return partnerId;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public void setPartnerId(String partnerId) {
							 | 
						||
| 
								 | 
							
								                this.partnerId = partnerId;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public String getMerPtcId() {
							 | 
						||
| 
								 | 
							
								                return merPtcId;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public void setMerPtcId(String merPtcId) {
							 | 
						||
| 
								 | 
							
								                this.merPtcId = merPtcId;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public String getSubAppid() {
							 | 
						||
| 
								 | 
							
								                return subAppid;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public void setSubAppid(String subAppid) {
							 | 
						||
| 
								 | 
							
								                this.subAppid = subAppid;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public String getAuthCode() {
							 | 
						||
| 
								 | 
							
								                return authCode;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								            public void setAuthCode(String authCode) {
							 | 
						||
| 
								 | 
							
								                this.authCode = authCode;
							 | 
						||
| 
								 | 
							
								            }
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        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;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |