@Test public void testQueryBillsAsyncChannelNull() throws Exception { query.queryBillsAsync(null, null, null, null, null, null, new BCCallback() { @Override public void done(BCResult result) { Assert.assertTrue(result instanceof BCQueryBillsResult); BCQueryBillsResult billsResult = (BCQueryBillsResult) result; Assert.assertEquals(BCRestfulCommonResult.APP_INNER_FAIL_NUM, billsResult.getResultCode()); latch.countDown(); } }); latch.await(2000, TimeUnit.MILLISECONDS); }
public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final Long startTime, final Long endTime, final Integer skip, final Integer limit, final BCCallback callback) { queryOrdersAsync(channel, QueryOrderType.QUERY_BILLS, billNum, null, null, null, startTime, endTime, skip, limit, null, callback); }
BCQuery { public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final Long startTime, final Long endTime, final Integer skip, final Integer limit, final BCCallback callback) { queryOrdersAsync(channel, QueryOrderType.QUERY_BILLS, billNum, null, null, null, startTime, endTime, skip, limit, null, callback); } }
BCQuery { public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final Long startTime, final Long endTime, final Integer skip, final Integer limit, final BCCallback callback) { queryOrdersAsync(channel, QueryOrderType.QUERY_BILLS, billNum, null, null, null, startTime, endTime, skip, limit, null, callback); } private  BCQuery(); }
BCQuery { public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final Long startTime, final Long endTime, final Integer skip, final Integer limit, final BCCallback callback) { queryOrdersAsync(channel, QueryOrderType.QUERY_BILLS, billNum, null, null, null, startTime, endTime, skip, limit, null, callback); } private  BCQuery(); synchronized static BCQuery getInstance(); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,
                                final Long startTime, final Long endTime,
                                final Integer skip, final Integer limit, final BCCallback callback); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final BCCallback callback); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final BCCallback callback); void queryBillsAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,
                                final Long startTime, final Long endTime,
                                final Integer skip, final Integer limit, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,
                                  final String refundNum, final BCCallback callback); void queryRefundsAsync(final QueryParams queryParams, final BCCallback callback); void queryBillsCountAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,
                                       final BCCallback callback); void queryBillByIDAsync(final String id, final BCCallback callback); void queryRefundByIDAsync(final String id, final BCCallback callback); void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,
                                          final String billNum,
                                          final BCCallback callback); void subscriptionSupportedBanks(final BCCallback callback); void queryPlans(final BCPlanCriteria criteria, final BCCallback callback); void querySubscriptions(final BCSubscriptionCriteria criteria, final BCCallback callback); }
BCQuery { public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final Long startTime, final Long endTime, final Integer skip, final Integer limit, final BCCallback callback) { queryOrdersAsync(channel, QueryOrderType.QUERY_BILLS, billNum, null, null, null, startTime, endTime, skip, limit, null, callback); } private  BCQuery(); synchronized static BCQuery getInstance(); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,
                                final Long startTime, final Long endTime,
                                final Integer skip, final Integer limit, final BCCallback callback); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final BCCallback callback); void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final BCCallback callback); void queryBillsAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,
                                final Long startTime, final Long endTime,
                                final Integer skip, final Integer limit, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final BCCallback callback); void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,
                                  final String refundNum, final BCCallback callback); void queryRefundsAsync(final QueryParams queryParams, final BCCallback callback); void queryBillsCountAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback); void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,
                                       final BCCallback callback); void queryBillByIDAsync(final String id, final BCCallback callback); void queryRefundByIDAsync(final String id, final BCCallback callback); void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,
                                          final String billNum,
                                          final BCCallback callback); void subscriptionSupportedBanks(final BCCallback callback); void queryPlans(final BCPlanCriteria criteria, final BCCallback callback); void querySubscriptions(final BCSubscriptionCriteria criteria, final BCCallback callback);  }