Demo entry 6751093

java

   

Submitted by anonymous on Jun 21, 2018 at 05:44
Language: Java. Code size: 570 Bytes.

public DevicesResponse searchCustomerDevices(String customerId) throws Exception {
		if (customerId == null) {
			throw new Exception("查询用户的所有购买产品列表,参数customerId不能为空");
		}
		CustomerDevices cdl = new CustomerDevices();
		cdl.setCustomerId(customerId);
		cdl.setUpdateTime("20000101021111");
		CustomerDeviceRequest request = new CustomerDeviceRequest(
				MessageConstants.BIP_CODE_V002, MessageConstants.ACT_CODE_T901
		);
		request.setServiceContent(cdl);
		DevicesResponse response = (DevicesResponse) this.client.request(request);
		return response;
	}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).