Documentation ¶
Overview ¶
Package tax 包含业务平台事业部-税务平台API相关结构体
Index ¶
- type AlibabaTaxInvoiceSyncAPIRequest
- func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiMethodName() string
- func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaTaxInvoiceSyncAPIRequest) GetParamJson() string
- func (r AlibabaTaxInvoiceSyncAPIRequest) GetRawParams() model.Params
- func (r *AlibabaTaxInvoiceSyncAPIRequest) SetParamJson(_paramJson string) error
- type AlibabaTaxInvoiceSyncAPIResponse
- type AlibabaTaxInvoiceSyncAPIResponseModel
- type ResultItem
- type ThirdPartyInvoiceCallBackResultDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaTaxInvoiceSyncAPIRequest ¶ added in v1.2.0
type AlibabaTaxInvoiceSyncAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaTaxInvoiceSyncAPIRequest 第三方开票回调API API请求 alibaba.tax.invoice.sync
该接口只提供给俄罗斯供应商开具发票使用,请勿申请。
func NewAlibabaTaxInvoiceSyncRequest ¶
func NewAlibabaTaxInvoiceSyncRequest() *AlibabaTaxInvoiceSyncAPIRequest
NewAlibabaTaxInvoiceSyncRequest 初始化AlibabaTaxInvoiceSyncAPIRequest对象
func (AlibabaTaxInvoiceSyncAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaTaxInvoiceSyncAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaTaxInvoiceSyncAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaTaxInvoiceSyncAPIRequest) GetParamJson ¶ added in v1.2.0
func (r AlibabaTaxInvoiceSyncAPIRequest) GetParamJson() string
GetParamJson ParamJson Getter
func (AlibabaTaxInvoiceSyncAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaTaxInvoiceSyncAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaTaxInvoiceSyncAPIRequest) SetParamJson ¶ added in v1.2.0
func (r *AlibabaTaxInvoiceSyncAPIRequest) SetParamJson(_paramJson string) error
SetParamJson is ParamJson Setter 回调发票信息,请求参数详情见链接:https://yuque.antfin-inc.com/tax/biw99l/uestb7
type AlibabaTaxInvoiceSyncAPIResponse ¶
type AlibabaTaxInvoiceSyncAPIResponse struct { model.CommonResponse AlibabaTaxInvoiceSyncAPIResponseModel }
AlibabaTaxInvoiceSyncAPIResponse 第三方开票回调API API返回值 alibaba.tax.invoice.sync
该接口只提供给俄罗斯供应商开具发票使用,请勿申请。
type AlibabaTaxInvoiceSyncAPIResponseModel ¶ added in v1.2.0
type AlibabaTaxInvoiceSyncAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_tax_invoice_sync_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *ThirdPartyInvoiceCallBackResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaTaxInvoiceSyncAPIResponseModel is 第三方开票回调API 成功返回结果
type ResultItem ¶
type ResultItem struct { // 每一项具体异常信息 ErrorDescription string `json:"error_description,omitempty" xml:"error_description,omitempty"` // 每一项的请求id RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 每一项成功失败 Correctness bool `json:"correctness,omitempty" xml:"correctness,omitempty"` }
ResultItem 结构体
type ThirdPartyInvoiceCallBackResultDto ¶
type ThirdPartyInvoiceCallBackResultDto struct { // 具体明细列表 ValueList []ResultItem `json:"value_list,omitempty" xml:"value_list>result_item,omitempty"` }
ThirdPartyInvoiceCallBackResultDto 结构体