下面列出了怎么用com.alipay.api.response.AlipayMobilePublicLabelAddResponse的API类实例代码及写法,或者点击链接到github查看源代码。
public Class<AlipayMobilePublicLabelAddResponse> getResponseClass() {
return AlipayMobilePublicLabelAddResponse.class;
}
public Class<AlipayMobilePublicLabelAddResponse> getResponseClass() {
return AlipayMobilePublicLabelAddResponse.class;
}
public Class<AlipayMobilePublicLabelAddResponse> getResponseClass() {
return AlipayMobilePublicLabelAddResponse.class;
}
/**
* 创建标签
*
* @param appAuthToken
* @param name
* 标签名不能重复
* @return
* @throws AlipayApiException
*/
public static AlipayMobilePublicLabelAddResponse lableadd(String appAuthToken, String name,AlipayConfig config) throws AlipayApiException {
AlipayMobilePublicLabelAddRequest request = new AlipayMobilePublicLabelAddRequest();
request.putOtherTextParam("app_auth_token", appAuthToken);
JSONObject json = new JSONObject();
json.put("name", name);
request.setBizContent(json.toJSONString());
return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}