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

com.alipay.v3.util.model.OpenApiGenericRequest Maven / Gradle / Ivy

The newest version!
/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2022 All Rights Reserved.
 */
package com.alipay.v3.util.model;

import java.io.File;
import java.util.Map;

/**
 * @author jishupei.jsp
 * @version : OpenApiGenericRequest, v0.1 2022年12月14日 12:04 下午 jishupei.jsp Exp $
 */
public class OpenApiGenericRequest {
    /**
     * 系统服务商的第三方应用代商家的应用或小程序模板调用支付宝OpenAPI时所传入的授权凭证
     */
    private String appAuthToken;

    /**
     * path参数
     */
    private Map pathParams;

    /**
     * query参数
     */
    private Map queryParams;

    /**
     * body参数
     */
    private Map bodyParams;

    /**
     * 业务参数(废弃,请使用 bodyParams)
     */
    private Map bizParams;

    /**
     * 文件参数(fileParams或byteStreamParams不为空则表示文件上传)
     */
    private Map fileParams;

    /**
     * 字节流参数(fileParams或byteStreamParams不为空则表示文件上传)
     */
    private Map byteStreamParams;

    /**
     * 额外的header参数
     */
    private Map headerParams;

    /**
     * Getter method for property appAuthToken.
     *
     * @return property value of appAuthToken
     */
    public String getAppAuthToken() {
        return appAuthToken;
    }

    /**
     * Setter method for property appAuthToken.
     *
     * @param appAuthToken value to be assigned to property appAuthToken
     */
    public void setAppAuthToken(String appAuthToken) {
        this.appAuthToken = appAuthToken;
    }

    /**
     * Getter method for property pathParams.
     *
     * @return property value of pathParams
     */
    public Map getPathParams() {
        return pathParams;
    }

    /**
     * Setter method for property pathParams.
     *
     * @param pathParams value to be assigned to property pathParams
     */
    public void setPathParams(Map pathParams) {
        this.pathParams = pathParams;
    }

    /**
     * Getter method for property queryParams.
     *
     * @return property value of queryParams
     */
    public Map getQueryParams() {
        return queryParams;
    }

    /**
     * Setter method for property queryParams.
     *
     * @param queryParams value to be assigned to property queryParams
     */
    public void setQueryParams(Map queryParams) {
        this.queryParams = queryParams;
    }

    /**
     * Getter method for property bodyParams.
     *
     * @return property value of bodyParams
     */
    public Map getBodyParams() {
        return bodyParams;
    }

    /**
     * Setter method for property bodyParams.
     *
     * @param bodyParams value to be assigned to property bodyParams
     */
    public void setBodyParams(Map bodyParams) {
        this.bodyParams = bodyParams;
    }

    /**
     * Getter method for property bizParams.
     *
     * @return property value of bizParams
     */
    public Map getBizParams() {
        return bizParams;
    }

    /**
     * Setter method for property bizParams.
     *
     * @param bizParams value to be assigned to property bizParams
     */
    @Deprecated
    public void setBizParams(Map bizParams) {
        this.bizParams = bizParams;
    }

    /**
     * Getter method for property fileParams.
     *
     * @return property value of fileParams
     */
    public Map getFileParams() {
        return fileParams;
    }

    /**
     * Setter method for property fileParams.
     *
     * @param fileParams value to be assigned to property fileParams
     */
    public void setFileParams(Map fileParams) {
        this.fileParams = fileParams;
    }

    /**
     * Getter method for property headerParams.
     *
     * @return property value of headerParams
     */
    public Map getHeaderParams() {
        return headerParams;
    }

    /**
     * Setter method for property headerParams.
     *
     * @param headerParams value to be assigned to property headerParams
     */
    public void setHeaderParams(Map headerParams) {
        this.headerParams = headerParams;
    }

    /**
     * Getter method for property byteStreamParams.
     *
     * @return property value of byteStreamParams
     */
    public Map getByteStreamParams() {
        return byteStreamParams;
    }

    /**
     * Setter method for property byteStreamParams.
     *
     * @param byteStreamParams value to be assigned to property byteStreamParams
     */
    public void setByteStreamParams(Map byteStreamParams) {
        this.byteStreamParams = byteStreamParams;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy