类com.alipay.api.response.AlipayMobilePublicShortlinkCreateResponse源码实例Demo

下面列出了怎么用com.alipay.api.response.AlipayMobilePublicShortlinkCreateResponse的API类实例代码及写法,或者点击链接到github查看源代码。


public Class<AlipayMobilePublicShortlinkCreateResponse> getResponseClass() {
	return AlipayMobilePublicShortlinkCreateResponse.class;
}
 

public Class<AlipayMobilePublicShortlinkCreateResponse> getResponseClass() {
	return AlipayMobilePublicShortlinkCreateResponse.class;
}
 

public Class<AlipayMobilePublicShortlinkCreateResponse> getResponseClass() {
	return AlipayMobilePublicShortlinkCreateResponse.class;
}
 

/**
 * 推广短链接
 * 
 * @param appAuthToken
 * @param model
 * @return
 * @throws AlipayApiException
 */
public static AlipayMobilePublicShortlinkCreateResponse shortlinkCreate(String appAuthToken, ShortLink model,AlipayConfig config) throws AlipayApiException {
	AlipayMobilePublicShortlinkCreateRequest request = new AlipayMobilePublicShortlinkCreateRequest();
	request.putOtherTextParam("app_auth_token", appAuthToken);
	String json = JSONObject.toJSONString(model);
	request.setBizContent(json);
	return AlipayClientFactory.getAlipayClientInstance(config).execute(request);
}
 
 类所在包
 类方法
 同包方法