com.alipay.api.FileItem Java Examples

The following examples show how to use com.alipay.api.FileItem. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AlipayOpenMiniVersionAuditApplyRequest.java    From alipay-sdk-java-all with Apache License 2.0 6 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("app_logo", this.appLogo);
	params.put("fifth_license_pic", this.fifthLicensePic);
	params.put("fifth_screen_shot", this.fifthScreenShot);
	params.put("first_license_pic", this.firstLicensePic);
	params.put("first_screen_shot", this.firstScreenShot);
	params.put("first_special_license_pic", this.firstSpecialLicensePic);
	params.put("fourth_license_pic", this.fourthLicensePic);
	params.put("fourth_screen_shot", this.fourthScreenShot);
	params.put("out_door_pic", this.outDoorPic);
	params.put("second_license_pic", this.secondLicensePic);
	params.put("second_screen_shot", this.secondScreenShot);
	params.put("second_special_license_pic", this.secondSpecialLicensePic);
	params.put("test_file_name", this.testFileName);
	params.put("third_license_pic", this.thirdLicensePic);
	params.put("third_screen_shot", this.thirdScreenShot);
	params.put("third_special_license_pic", this.thirdSpecialLicensePic);
	return params;
}
 
Example #2
Source File: WebUtils.java    From pay with Apache License 2.0 5 votes vote down vote up
public static String doPost(String url, Map<String, String> params,
                            Map<String, FileItem> fileParams, int connectTimeout,
                            int readTimeout) throws IOException {
    if (fileParams == null || fileParams.isEmpty()) {
        return doPost(url, params, DEFAULT_CHARSET, connectTimeout, readTimeout);
    } else {
        return doPost(url, params, fileParams, DEFAULT_CHARSET, connectTimeout, readTimeout);
    }
}
 
Example #3
Source File: AlipayOpenMiniVersionAuditApplyRequest.java    From alipay-sdk with Apache License 2.0 5 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("app_logo", this.appLogo);
	params.put("fifth_screen_shot", this.fifthScreenShot);
	params.put("first_screen_shot", this.firstScreenShot);
	params.put("fourth_screen_shot", this.fourthScreenShot);
	params.put("second_screen_shot", this.secondScreenShot);
	params.put("third_screen_shot", this.thirdScreenShot);
	return params;
}
 
Example #4
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public FileItem getShopScenePic() {
	return this.shopScenePic;
}
 
Example #5
Source File: AlipayOpenAgentZhimabriefSignRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public void setAppDemo(FileItem appDemo) {
	this.appDemo = appDemo;
}
 
Example #6
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public FileItem getSpecialLicensePic() {
	return this.specialLicensePic;
}
 
Example #7
Source File: AlipayOpenPublicLifeModifyRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setBackground(FileItem background) {
	this.background = background;
}
 
Example #8
Source File: AlipayOpenAgentZhimabriefSignRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public void setBusinessLicensePic(FileItem businessLicensePic) {
	this.businessLicensePic = businessLicensePic;
}
 
Example #9
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setOwnIntellectualPic(FileItem ownIntellectualPic) {
	this.ownIntellectualPic = ownIntellectualPic;
}
 
Example #10
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public FileItem getBackgroundPic() {
	return this.backgroundPic;
}
 
Example #11
Source File: AlipayOpenAgentMiniCreateRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("app_logo", this.appLogo);
	return params;
}
 
Example #12
Source File: AlipayOpenAgentFacetofaceSignRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public void setSpecialLicensePic(FileItem specialLicensePic) {
	this.specialLicensePic = specialLicensePic;
}
 
Example #13
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public FileItem getBusinessLicenseAuthPic() {
	return this.businessLicenseAuthPic;
}
 
Example #14
Source File: AlipayOpenAgentZhimabriefSignRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public void setAppDemo(FileItem appDemo) {
	this.appDemo = appDemo;
}
 
Example #15
Source File: AlipayOpenPublicLifeModifyRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setLogo(FileItem logo) {
	this.logo = logo;
}
 
Example #16
Source File: AlipaySecurityProdSignatureFileUploadRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setFileContent(FileItem fileContent) {
	this.fileContent = fileContent;
}
 
Example #17
Source File: AlipayOfflineMarketingVoucherCodeUploadRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setFileContent(FileItem fileContent) {
	this.fileContent = fileContent;
}
 
Example #18
Source File: AlipaySecurityProdSignatureFileUploadRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("file_content", this.fileContent);
	return params;
}
 
Example #19
Source File: AlipayZdatafrontDatatransferedFileuploadRequest.java    From alipay-sdk with Apache License 2.0 4 votes vote down vote up
public void setFile(FileItem file) {
	this.file = file;
}
 
Example #20
Source File: ZhimaDataBatchFeedbackRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public FileItem getFile() {
	return this.file;
}
 
Example #21
Source File: AlipayCommerceAppAuthUploadRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("file", this.file);
	return params;
}
 
Example #22
Source File: AlipayOpenAgentOfflinepaymentSignRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public void setBusinessLicensePic(FileItem businessLicensePic) {
	this.businessLicensePic = businessLicensePic;
}
 
Example #23
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public FileItem getBusinessLicensePic() {
	return this.businessLicensePic;
}
 
Example #24
Source File: AlipayOfflineMaterialImageUploadRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public FileItem getImageContent() {
    return this.imageContent;
}
 
Example #25
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setSpecialLicensePic(FileItem specialLicensePic) {
	this.specialLicensePic = specialLicensePic;
}
 
Example #26
Source File: AlipayEbppProdmodeAgreementUploadRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("upload_file", this.uploadFile);
	return params;
}
 
Example #27
Source File: AlipayOpenPublicLifeAgentCreateRequest.java    From pay with Apache License 2.0 4 votes vote down vote up
public void setShopScenePic(FileItem shopScenePic) {
	this.shopScenePic = shopScenePic;
}
 
Example #28
Source File: AlipayEbppProdmodeAgreementUploadRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public void setUploadFile(FileItem uploadFile) {
	this.uploadFile = uploadFile;
}
 
Example #29
Source File: AlipayCommerceIotAdvertiserMaterialCreateRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public Map<String, FileItem> getFileParams() {
	Map<String, FileItem> params = new HashMap<String, FileItem>();
	params.put("file_content", this.fileContent);
	return params;
}
 
Example #30
Source File: AlipayOpenPublicLifeModifyRequest.java    From alipay-sdk-java-all with Apache License 2.0 4 votes vote down vote up
public void setBackground(FileItem background) {
	this.background = background;
}