alibabaalscunionkborderquery

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	BizOrderID  string      `json:"biz_order_id"`
	VoucherList VoucherList `json:"voucher_list"`
	OrderStatus string      `json:"order_status"`
}

type OrderVoucherDetailDto

type OrderVoucherDetailDto struct {
	ItemID        string `json:"item_id"`
	Title         string `json:"title"`
	VoucherID     string `json:"voucher_id"`
	TicketCode    string `json:"ticket_code"`
	VoucherStatus string `json:"voucher_status"`
	TotalAmount   int64  `json:"total_amount"`
	UsedAmount    int64  `json:"used_amount"`
	RefundAmount  int64  `json:"refund_amount"`
	EffectTime    string `json:"effect_time"`
	ExpireTime    string `json:"expire_time"`
	EXTInfo       string `json:"ext_info"`
	RefundType    string `json:"refund_type"`
	TicketURL     string `json:"ticket_url"`
}

type Response

type Response struct {
	response.TopResponse
	ResultResponse ResultResponse `json:"alibaba_alsc_union_kb_order_query_response"`
}

Response alibaba.alsc.union.kb.order.query( openapi订单查询 )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

type ResultResponse

type ResultResponse struct {
	BizErrorDesc string `json:"biz_error_desc"`
	BizErrorCode int    `json:"biz_error_code"`
	RequestID    string `json:"request_id"`
	Data         Data   `json:"data"`
	ResultCode   int64  `json:"result_code"`
	Message      string `json:"message"`
}

ResultResponse 响应结果

func (ResultResponse) Error

func (rr ResultResponse) Error() string

func (ResultResponse) IsError

func (rr ResultResponse) IsError() bool

type VoucherList

type VoucherList struct {
	OrderVoucherDetailDto []OrderVoucherDetailDto `json:"order_voucher_detail_dto"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL