com.alipay.api.AlipayMobilePublicMultiMediaDownloadRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk-java Show documentation
Show all versions of alipay-sdk-java Show documentation
Alipay openapi SDK for Java
Copyright © 2018 杭州蚂蚁金服
All rights reserved.
版权所有 (C)杭州蚂蚁金服
http://open.alipay.com
/**
* Alipay.com Inc. Copyright (c) 2004-2014 All Rights Reserved.
*/
package com.alipay.api;
import com.alipay.api.internal.util.AlipayHashMap;
import java.io.OutputStream;
import java.util.Map;
/**
* 多媒体文件下载请求
*
* @author yikai.hu
* @version $Id: AlipayMobilePublicMultiMediaDownloadRequest.java, v 0.1 Aug 15, 2014 10:19:15 AM yikai.hu Exp $
*/
public class AlipayMobilePublicMultiMediaDownloadRequest implements
AlipayRequest {
private AlipayHashMap udfParams; // add user-defined text parameters
private String apiVersion = "1.0";
private String notifyUrl;
private OutputStream outputStream;
private String bizContent;
public void setBizContent(String bizContent) {
this.bizContent = bizContent;
}
public String getBizContent() {
return this.bizContent;
}
private String terminalType;
private String terminalInfo;
private String prodCode;
public String getApiVersion() {
return this.apiVersion;
}
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}
public void setTerminalType(String terminalType) {
this.terminalType = terminalType;
}
public String getTerminalType() {
return this.terminalType;
}
public void setTerminalInfo(String terminalInfo) {
this.terminalInfo = terminalInfo;
}
public String getTerminalInfo() {
return this.terminalInfo;
}
public void setProdCode(String prodCode) {
this.prodCode = prodCode;
}
public String getProdCode() {
return this.prodCode;
}
public String getApiMethodName() {
return "alipay.mobile.public.multimedia.download";
}
public Map getTextParams() {
AlipayHashMap txtParams = new AlipayHashMap();
txtParams.put("biz_content", this.bizContent);
if (udfParams != null) {
txtParams.putAll(this.udfParams);
}
return txtParams;
}
public void putOtherTextParam(String key, String value) {
if (this.udfParams == null) {
this.udfParams = new AlipayHashMap();
}
this.udfParams.put(key, value);
}
/**
* Getter method for property outputStream.
*
* @return property value of outputStream
*/
public OutputStream getOutputStream() {
return outputStream;
}
/**
* Setter method for property outputStream.
*
* @param outputStream value to be assigned to property outputStream
*/
public void setOutputStream(OutputStream outputStream) {
this.outputStream = outputStream;
}
/**
* Getter method for property notifyUrl.
*
* @return property value of notifyUrl
*/
public String getNotifyUrl() {
return notifyUrl;
}
/**
* Setter method for property notifyUrl.
*
* @param notifyUrl value to be assigned to property notifyUrl
*/
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public Class getResponseClass() {
return AlipayMobilePublicMultiMediaDownloadResponse.class;
}
/**
* @see com.alipay.api.AlipayRequest#isNeedEncrypt()
*/
public boolean isNeedEncrypt() {
return false;
}
/**
* @see com.alipay.api.AlipayRequest#setNeedEncrypt(boolean)
*/
public void setNeedEncrypt(boolean needEncrypt) {
throw new RuntimeException("当前请求不支持加密!");
}
public String getReturnUrl() {
return null;
}
public void setReturnUrl(String returnUrl) {
}
public AlipayObject getBizModel() {
return null;
}
public void setBizModel(AlipayObject bizModel) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy