public class WxMpMerchantInvoiceServiceImpl extends Object implements WxMpMerchantInvoiceService
| 构造器和说明 | 
|---|
| WxMpMerchantInvoiceServiceImpl() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | clearOutInvoice(ClearOutInvoiceRequest params)发票冲红 | 
| InvoiceAuthDataResult | getAuthData(InvoiceAuthDataRequest params)获得用户授权数据 | 
| InvoiceAuthPageSetting | getAuthPageSetting()获取授权页面配置 | 
| InvoiceAuthPageResult | getAuthPageUrl(InvoiceAuthPageRequest params)获取开票授权页链接 | 
| MerchantContactInfo | getMerchantContactInfo()获取商户联系方式 | 
| MerchantInvoicePlatformInfo | getMerchantInvoicePlatform(MerchantInvoicePlatformInfo merchantInvoicePlatformInfo)获取商户开票平台信息 | 
| void | makeOutInvoice(MakeOutInvoiceRequest params)开具电子发票 | 
| InvoiceResult | queryInvoiceInfo(String fpqqlsh,
                String nsrsbh)查询发票信息 | 
| void | rejectInvoice(InvoiceRejectRequest params)拒绝开票
 
 场景: 用户授权填写数据无效
 结果: 用户会收到一条开票失败提示 | 
| void | setAuthPageSetting(InvoiceAuthPageSetting authPageSetting)配置授权页面字段 | 
| void | setMerchantContactInfo(MerchantContactInfo contact)设置商户联系方式, 获取授权链接前需要设置商户联系信息 | 
| void | setMerchantInvoicePlatform(MerchantInvoicePlatformInfo paymchInfo)设置商户开票平台信息 | 
public InvoiceAuthPageResult getAuthPageUrl(InvoiceAuthPageRequest params) throws WxErrorException
WxMpMerchantInvoiceServicegetAuthPageUrl 在接口中 WxMpMerchantInvoiceServiceparams - the paramsWxErrorException - the wx error exceptionpublic InvoiceAuthDataResult getAuthData(InvoiceAuthDataRequest params) throws WxErrorException
WxMpMerchantInvoiceServicegetAuthData 在接口中 WxMpMerchantInvoiceServiceparams - the paramsWxErrorException - the wx error exceptionpublic void rejectInvoice(InvoiceRejectRequest params) throws WxErrorException
WxMpMerchantInvoiceService场景: 用户授权填写数据无效 结果: 用户会收到一条开票失败提示
rejectInvoice 在接口中 WxMpMerchantInvoiceServiceparams - the paramsWxErrorException - the wx error exceptionpublic void makeOutInvoice(MakeOutInvoiceRequest params) throws WxErrorException
WxMpMerchantInvoiceServicemakeOutInvoice 在接口中 WxMpMerchantInvoiceServiceparams - the paramsWxErrorException - the wx error exceptionpublic void clearOutInvoice(ClearOutInvoiceRequest params) throws WxErrorException
WxMpMerchantInvoiceServiceclearOutInvoice 在接口中 WxMpMerchantInvoiceServiceparams - the paramsWxErrorException - the wx error exceptionpublic InvoiceResult queryInvoiceInfo(String fpqqlsh, String nsrsbh) throws WxErrorException
WxMpMerchantInvoiceServicequeryInvoiceInfo 在接口中 WxMpMerchantInvoiceServicefpqqlsh - 发票请求流水号nsrsbh - 纳税人识别号WxErrorException - the wx error exceptionpublic void setMerchantContactInfo(MerchantContactInfo contact) throws WxErrorException
WxMpMerchantInvoiceServicesetMerchantContactInfo 在接口中 WxMpMerchantInvoiceServicecontact - the contactWxErrorException - the wx error exceptionpublic MerchantContactInfo getMerchantContactInfo() throws WxErrorException
WxMpMerchantInvoiceServicegetMerchantContactInfo 在接口中 WxMpMerchantInvoiceServiceWxErrorException - the wx error exceptionpublic void setAuthPageSetting(InvoiceAuthPageSetting authPageSetting) throws WxErrorException
WxMpMerchantInvoiceServicesetAuthPageSetting 在接口中 WxMpMerchantInvoiceServiceauthPageSetting - the auth page settingWxErrorException - the wx error exceptionpublic InvoiceAuthPageSetting getAuthPageSetting() throws WxErrorException
WxMpMerchantInvoiceServicegetAuthPageSetting 在接口中 WxMpMerchantInvoiceServiceWxErrorException - the wx error exceptionpublic void setMerchantInvoicePlatform(MerchantInvoicePlatformInfo paymchInfo) throws WxErrorException
WxMpMerchantInvoiceServicesetMerchantInvoicePlatform 在接口中 WxMpMerchantInvoiceServicepaymchInfo - the merchant invoice platform infoWxErrorException - the wx error exceptionpublic MerchantInvoicePlatformInfo getMerchantInvoicePlatform(MerchantInvoicePlatformInfo merchantInvoicePlatformInfo) throws WxErrorException
WxMpMerchantInvoiceServicegetMerchantInvoicePlatform 在接口中 WxMpMerchantInvoiceServicemerchantInvoicePlatformInfo - the merchant invoice platform infoWxErrorException - the wx error exceptionCopyright © 2024. All rights reserved.