Documentation ¶
Index ¶
- type ConsumeRequest
- type RefundRequest
- type TaobaoElifeLifecardConsumeAPIResponse
- type TaobaoElifeLifecardConsumeRequest
- func (r TaobaoElifeLifecardConsumeRequest) GetApiMethodName() string
- func (r TaobaoElifeLifecardConsumeRequest) GetApiParams() url.Values
- func (r TaobaoElifeLifecardConsumeRequest) GetConsumeRequest() *ConsumeRequest
- func (r *TaobaoElifeLifecardConsumeRequest) SetConsumeRequest(consumeRequest *ConsumeRequest) error
- type TaobaoElifeLifecardConsumeResponse
- type TaobaoElifeLifecardQueryAPIResponse
- type TaobaoElifeLifecardQueryRequest
- func (r TaobaoElifeLifecardQueryRequest) GetApiMethodName() string
- func (r TaobaoElifeLifecardQueryRequest) GetApiParams() url.Values
- func (r TaobaoElifeLifecardQueryRequest) GetQueryRequest() *ConsumeRequest
- func (r *TaobaoElifeLifecardQueryRequest) SetQueryRequest(queryRequest *ConsumeRequest) error
- type TaobaoElifeLifecardQueryResponse
- type TaobaoElifeLifecardReconAPIResponse
- type TaobaoElifeLifecardReconRequest
- type TaobaoElifeLifecardReconResponse
- type TaobaoElifeLifecardRefundAPIResponse
- type TaobaoElifeLifecardRefundRequest
- func (r TaobaoElifeLifecardRefundRequest) GetApiMethodName() string
- func (r TaobaoElifeLifecardRefundRequest) GetApiParams() url.Values
- func (r TaobaoElifeLifecardRefundRequest) GetRefundRequest() *RefundRequest
- func (r *TaobaoElifeLifecardRefundRequest) SetRefundRequest(refundRequest *RefundRequest) error
- type TaobaoElifeLifecardRefundResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumeRequest ¶
type ConsumeRequest struct { Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"` Operator string `json:"operator,omitempty" xml:"operator,omitempty"` OuterStoreId string `json:"outer_store_id,omitempty" xml:"outer_store_id,omitempty"` PayCode string `json:"pay_code,omitempty" xml:"pay_code,omitempty"` SaleTicket string `json:"sale_ticket,omitempty" xml:"sale_ticket,omitempty"` }
ConsumeRequest
type RefundRequest ¶
type RefundRequest struct { Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` OpId string `json:"op_id,omitempty" xml:"op_id,omitempty"` Operator string `json:"operator,omitempty" xml:"operator,omitempty"` OriginalOpId string `json:"original_op_id,omitempty" xml:"original_op_id,omitempty"` OuterStoreId string `json:"outer_store_id,omitempty" xml:"outer_store_id,omitempty"` PayCode string `json:"pay_code,omitempty" xml:"pay_code,omitempty"` SaleTicket string `json:"sale_ticket,omitempty" xml:"sale_ticket,omitempty"` }
RefundRequest
type TaobaoElifeLifecardConsumeAPIResponse ¶
type TaobaoElifeLifecardConsumeAPIResponse struct { model.CommonResponse TaobaoElifeLifecardConsumeResponse }
品牌惠卡券核销 APIResponse taobao.elife.lifecard.consume
用户线上购买生活汇品牌惠虚拟消费卡,线下购物时,商家码枪核销,涉及用户虚拟卡余额扣减操作
type TaobaoElifeLifecardConsumeRequest ¶
type TaobaoElifeLifecardConsumeRequest struct { model.Params // contains filtered or unexported fields }
品牌惠卡券核销 APIRequest taobao.elife.lifecard.consume
用户线上购买生活汇品牌惠虚拟消费卡,线下购物时,商家码枪核销,涉及用户虚拟卡余额扣减操作
func NewTaobaoElifeLifecardConsumeRequest ¶
func NewTaobaoElifeLifecardConsumeRequest() *TaobaoElifeLifecardConsumeRequest
func (TaobaoElifeLifecardConsumeRequest) GetApiMethodName ¶
func (r TaobaoElifeLifecardConsumeRequest) GetApiMethodName() string
func (TaobaoElifeLifecardConsumeRequest) GetApiParams ¶
func (r TaobaoElifeLifecardConsumeRequest) GetApiParams() url.Values
func (TaobaoElifeLifecardConsumeRequest) GetConsumeRequest ¶
func (r TaobaoElifeLifecardConsumeRequest) GetConsumeRequest() *ConsumeRequest
func (*TaobaoElifeLifecardConsumeRequest) SetConsumeRequest ¶
func (r *TaobaoElifeLifecardConsumeRequest) SetConsumeRequest(consumeRequest *ConsumeRequest) error
type TaobaoElifeLifecardConsumeResponse ¶
type TaobaoElifeLifecardConsumeResponse struct { XMLName xml.Name `xml:"elife_lifecard_consume_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` InflateAmount int64 `json:"inflate_amount,omitempty" xml:"inflate_amount,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` Successed bool `json:"successed,omitempty" xml:"successed,omitempty"` }
type TaobaoElifeLifecardQueryAPIResponse ¶
type TaobaoElifeLifecardQueryAPIResponse struct { model.CommonResponse TaobaoElifeLifecardQueryResponse }
查询交易结果 APIResponse taobao.elife.lifecard.query
卖家在交易状态不明的情况下, 查询交易结果.
type TaobaoElifeLifecardQueryRequest ¶
type TaobaoElifeLifecardQueryRequest struct { model.Params // contains filtered or unexported fields }
查询交易结果 APIRequest taobao.elife.lifecard.query
卖家在交易状态不明的情况下, 查询交易结果.
func NewTaobaoElifeLifecardQueryRequest ¶
func NewTaobaoElifeLifecardQueryRequest() *TaobaoElifeLifecardQueryRequest
func (TaobaoElifeLifecardQueryRequest) GetApiMethodName ¶
func (r TaobaoElifeLifecardQueryRequest) GetApiMethodName() string
func (TaobaoElifeLifecardQueryRequest) GetApiParams ¶
func (r TaobaoElifeLifecardQueryRequest) GetApiParams() url.Values
func (TaobaoElifeLifecardQueryRequest) GetQueryRequest ¶
func (r TaobaoElifeLifecardQueryRequest) GetQueryRequest() *ConsumeRequest
func (*TaobaoElifeLifecardQueryRequest) SetQueryRequest ¶
func (r *TaobaoElifeLifecardQueryRequest) SetQueryRequest(queryRequest *ConsumeRequest) error
type TaobaoElifeLifecardQueryResponse ¶
type TaobaoElifeLifecardQueryResponse struct { XMLName xml.Name `xml:"elife_lifecard_query_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` Successed bool `json:"successed,omitempty" xml:"successed,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` InflateAmount int64 `json:"inflate_amount,omitempty" xml:"inflate_amount,omitempty"` }
type TaobaoElifeLifecardReconAPIResponse ¶
type TaobaoElifeLifecardReconAPIResponse struct { model.CommonResponse TaobaoElifeLifecardReconResponse }
查询对账文件地址接口 APIResponse taobao.elife.lifecard.recon
查询对账文件地址接口
type TaobaoElifeLifecardReconRequest ¶
type TaobaoElifeLifecardReconRequest struct { model.Params // contains filtered or unexported fields }
查询对账文件地址接口 APIRequest taobao.elife.lifecard.recon
查询对账文件地址接口
func NewTaobaoElifeLifecardReconRequest ¶
func NewTaobaoElifeLifecardReconRequest() *TaobaoElifeLifecardReconRequest
func (TaobaoElifeLifecardReconRequest) GetApiMethodName ¶
func (r TaobaoElifeLifecardReconRequest) GetApiMethodName() string
func (TaobaoElifeLifecardReconRequest) GetApiParams ¶
func (r TaobaoElifeLifecardReconRequest) GetApiParams() url.Values
func (TaobaoElifeLifecardReconRequest) GetOpDate ¶
func (r TaobaoElifeLifecardReconRequest) GetOpDate() string
func (*TaobaoElifeLifecardReconRequest) SetOpDate ¶
func (r *TaobaoElifeLifecardReconRequest) SetOpDate(opDate string) error
type TaobaoElifeLifecardReconResponse ¶
type TaobaoElifeLifecardReconResponse struct { XMLName xml.Name `xml:"elife_lifecard_recon_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` OpDate string `json:"op_date,omitempty" xml:"op_date,omitempty"` Successed bool `json:"successed,omitempty" xml:"successed,omitempty"` ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` ReconFileUrl string `json:"recon_file_url,omitempty" xml:"recon_file_url,omitempty"` }
type TaobaoElifeLifecardRefundAPIResponse ¶
type TaobaoElifeLifecardRefundAPIResponse struct { model.CommonResponse TaobaoElifeLifecardRefundResponse }
品牌惠卡券冲正退还 APIResponse taobao.elife.lifecard.refund
淘宝生活汇消费卡虚拟卡,线下冲正退货接口
type TaobaoElifeLifecardRefundRequest ¶
type TaobaoElifeLifecardRefundRequest struct { model.Params // contains filtered or unexported fields }
品牌惠卡券冲正退还 APIRequest taobao.elife.lifecard.refund
淘宝生活汇消费卡虚拟卡,线下冲正退货接口
func NewTaobaoElifeLifecardRefundRequest ¶
func NewTaobaoElifeLifecardRefundRequest() *TaobaoElifeLifecardRefundRequest
func (TaobaoElifeLifecardRefundRequest) GetApiMethodName ¶
func (r TaobaoElifeLifecardRefundRequest) GetApiMethodName() string
func (TaobaoElifeLifecardRefundRequest) GetApiParams ¶
func (r TaobaoElifeLifecardRefundRequest) GetApiParams() url.Values
func (TaobaoElifeLifecardRefundRequest) GetRefundRequest ¶
func (r TaobaoElifeLifecardRefundRequest) GetRefundRequest() *RefundRequest
func (*TaobaoElifeLifecardRefundRequest) SetRefundRequest ¶
func (r *TaobaoElifeLifecardRefundRequest) SetRefundRequest(refundRequest *RefundRequest) error
type TaobaoElifeLifecardRefundResponse ¶
type TaobaoElifeLifecardRefundResponse struct { XMLName xml.Name `xml:"elife_lifecard_refund_response"` RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"` InflateAmount int64 `json:"inflate_amount,omitempty" xml:"inflate_amount,omitempty"` ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` Successed bool `json:"successed,omitempty" xml:"successed,omitempty"` }
Source Files ¶
- ConsumeRequest.go
- RefundRequest.go
- TaobaoElifeLifecardConsumeRequest.go
- TaobaoElifeLifecardConsumeResponse.go
- TaobaoElifeLifecardQueryRequest.go
- TaobaoElifeLifecardQueryResponse.go
- TaobaoElifeLifecardReconRequest.go
- TaobaoElifeLifecardReconResponse.go
- TaobaoElifeLifecardRefundRequest.go
- TaobaoElifeLifecardRefundResponse.go
Click to show internal directories.
Click to hide internal directories.