Documentation ¶
Index ¶
- type ETickets
- func (s *ETickets) GetOrderItemsFromBarCode(code string) eticketsentity.GetOrderItemsFromBarCodeResult
- func (s *ETickets) GlobalEticketMerchantMaAvailable(bizType int, code string, serialNum string, posId string, outerId string, ...) eticketsentity.GlobalEticketMerchantMaAvailableResult
- func (s *ETickets) GlobalEticketMerchantMaConsume(bizType int, serialNum string, posId string, outerId string, consumeNum int, ...) eticketsentity.GlobalEticketMerchantMaConsumeResult
- func (s *ETickets) GlobalEticketMerchantMaFailsend(bizType int, subCode string, outerId string, subMsg string) eticketsentity.GlobalEticketMerchantMaFailsendResult
- func (s *ETickets) GlobalEticketMerchantMaQuery(code string, sellerId int64, storeId int64) eticketsentity.GlobalEticketMerchantMaQueryResult
- func (s *ETickets) GlobalEticketMerchantMaQueryTbMa(code string) eticketsentity.GlobalEticketMerchantMaQueryTbMaResult
- func (s *ETickets) GlobalEticketMerchantMaSend(bizType int, ...) eticketsentity.GlobalEticketMerchantMaSendResult
- func (s *ETickets) RedeemOrderItems(bizType int, code string, outerId string, serialNum string, consumeNum int, ...) eticketsentity.RedeemOrderItemsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ETickets ¶
type ETickets struct {
Config *lazadaConfig.Config
}
ETickets
func (*ETickets) GetOrderItemsFromBarCode ¶
func (s *ETickets) GetOrderItemsFromBarCode(code string) eticketsentity.GetOrderItemsFromBarCodeResult
GetOrderItemsFromBarCode @Title E-Ticcket certificate query Open API @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/code/query
func (*ETickets) GlobalEticketMerchantMaAvailable ¶
func (s *ETickets) GlobalEticketMerchantMaAvailable(bizType int, code string, serialNum string, posId string, outerId string, consumeNum int, consumeStoreId string) eticketsentity.GlobalEticketMerchantMaAvailableResult
GlobalEticketMerchantMaAvailable @Title the callback interface before consume code @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/available
func (*ETickets) GlobalEticketMerchantMaConsume ¶
func (s *ETickets) GlobalEticketMerchantMaConsume(bizType int, serialNum string, posId string, outerId string, consumeNum int, code string, consumeStoreId string) eticketsentity.GlobalEticketMerchantMaConsumeResult
GlobalEticketMerchantMaConsume @Title consume ma @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/consume
func (*ETickets) GlobalEticketMerchantMaFailsend ¶
func (s *ETickets) GlobalEticketMerchantMaFailsend(bizType int, subCode string, outerId string, subMsg string) eticketsentity.GlobalEticketMerchantMaFailsendResult
GlobalEticketMerchantMaFailsend @Title the callback interface when send code failed @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/failsend
func (*ETickets) GlobalEticketMerchantMaQuery ¶
func (s *ETickets) GlobalEticketMerchantMaQuery(code string, sellerId int64, storeId int64) eticketsentity.GlobalEticketMerchantMaQueryResult
GlobalEticketMerchantMaQuery @Title the callback interface that query lazada platform ma @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/query
func (*ETickets) GlobalEticketMerchantMaQueryTbMa ¶
func (s *ETickets) GlobalEticketMerchantMaQueryTbMa(code string) eticketsentity.GlobalEticketMerchantMaQueryTbMaResult
GlobalEticketMerchantMaQueryTbMa @Title the callback interface that query tb ma @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/queryTbMa
func (*ETickets) GlobalEticketMerchantMaSend ¶
func (s *ETickets) GlobalEticketMerchantMaSend(bizType int, isvMaList []eticketsentity.GlobalEticketMerchantMaSendIsvMaListRequestEntity, outerId string) eticketsentity.GlobalEticketMerchantMaSendResult
GlobalEticketMerchantMaSend @Title the callback interface when merchant send code successful @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/ma/send
func (*ETickets) RedeemOrderItems ¶
func (s *ETickets) RedeemOrderItems(bizType int, code string, outerId string, serialNum string, consumeNum int, storeId string, posId string) eticketsentity.RedeemOrderItemsResult
RedeemOrderItems @Title Certificate Consume Open API @Description https://open.lazada.com/doc/api.htm?spm=a2o9m.11193531.0.0.78de6bbeqtnjmQ#/api?cid=21&path=/eticket/code/consume