All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pdd.pop.sdk.http.PopBaseHttpResponse Maven / Gradle / Ivy

There is a newer version: 1.10.85
Show newest version
package com.pdd.pop.sdk.http;

import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;

public class PopBaseHttpResponse {

    @JsonProperty("error_response")
    private ErrorResponse errorResponse;

    @JsonProperty("request_id")
    private String requestId;

    public static class ErrorResponse {

        @JsonProperty("error_code")
        private Integer errorCode;

        @JsonProperty("error_msg")
        private String errorMsg;

        @JsonProperty("sub_code")
        private String subCode;

        @JsonProperty("sub_msg")
        private String subMsg;

        public Integer getErrorCode() {
            return errorCode;
        }

        public String getErrorMsg() {
            return errorMsg;
        }

        public String getSubCode() {
            return subCode;
        }

        public String getSubMsg() {
            return subMsg;
        }
    }

    public ErrorResponse getErrorResponse() {
        return errorResponse;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy