# AtVccClient

All URIs are relative to *http://localhost:8080*

Method | HTTP request | Description
------------- | ------------- | -------------
[**unionPayOrderQuery**](AtVccClient.md#unionPayOrderQuery) | **GET** /rest/v1.0/at-vcc/union-pay/order/query | 银联交易查询


<a name="unionPayOrderQuery"></a>
# **unionPayOrderQuery**
UnionPayOrderQueryResponse unionPayOrderQuery(UnionPayOrderQueryRequest request)

银联交易查询

银联交易查询

### Example
```java
//import com.yeepay.yop.sdk.exception.YopClientException;

//import com.yeepay.yop.sdk.service.at_vcc.model.*;
// 日志框架slf4j
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;

private static final Logger LOGGER = LoggerFactory.getLogger(AtVccClient.class);

// 该Client线程安全，请使用单例模式，多次请求共用
AtVccClient api = AtVccClientBuilder.builder().build();

//UnionPayOrderQueryRequest中的参数说明参见Parameters章节
UnionPayOrderQueryRequest request = new UnionPayOrderQueryRequest();
request.setRequestNo("requestNo_example");
request.setCustomerNo("customerNo_example");
request.setTransactionTypeList(Arrays.asList("transactionTypeList_example"));
request.setAccessChannel("accessChannel_example");

//多appKey请求需在请求时指定appKey
//  request.getRequestConfig().setAppKey("test");

//加密请求需要在requestConfig中指定加密选项
//  request.getRequestConfig().setNeedEncrypt(true);

try {
    UnionPayOrderQueryResponse response = api.unionPayOrderQuery(request);
    LOGGER.info("result:{}", response.getResult());
} catch (YopClientException e) {
    LOGGER.error("Exception when calling AtVccClient#unionPayOrderQuery, ex:", e);
}


```
### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **requestNo** | **String**| 商户申卡请求号 |
 **customerNo** | **String**| 商户编号 |
 **transactionTypeList** | [**List&lt;String&gt;**](../model/String.md)| 交易类型集合&lt;br&gt;可选项如下:&lt;br&gt;CONSUMPTION:消费&lt;br&gt;REFUND:退货&lt;br&gt;CONSUMPTION_FAIL:消费失败 | [optional]
 **accessChannel** | **String**| 访问渠道 | [optional]

### Return type
[**UnionPayOrderQueryAuthReportQueryResponseDTOResult**](../model/UnionPayOrderQueryAuthReportQueryResponseDTOResult.md)

### Authorization
YOP-SM2-SM3


### HTTP request headers

 - **Content-Type**: application/x-www-form-urlencoded
 - **Accept**: application/json

