Documentation ¶
Index ¶
- Variables
- type GraphqlPayload
- type SessionPublic
- type TokopediaApiPublic
- func (api *TokopediaApiPublic) AceSearchShop(payload *model_public.ParamsVar) (*model_public.AceSearchShopResp, error)
- func (api *TokopediaApiPublic) CategoryAllListLite() (*model_public.CategoryAllListLiteResp, error)
- func (api *TokopediaApiPublic) DiscussionDataByProductID(payload *model_public.DiscussionDataProductByIDVar) (*model_public.DiscussionDataProductByIDResp, error)
- func (api *TokopediaApiPublic) FilterSortProductQuery(payload *model_public.ParamsVar) (*model_public.FilterSortProductResp, error)
- func (api *TokopediaApiPublic) GetDrogonAnnotation(payload *model_public.GetDrogonAnnotationVar) (*model_public.GetDrogonAnnotationResp, error)
- func (api *TokopediaApiPublic) GetShopOperationalHourStatus(payload *model_public.ShopIdVar) (*model_public.GetShopOperationalHourStatusResp, error)
- func (api *TokopediaApiPublic) JarvisRecommendation(prodname string) (*model_public.JarvisRecommendationResp, error)
- func (api *TokopediaApiPublic) LocDisctricRecommendation(payload *model_public.LocDisctricRecommendationVar) (*model_public.LocDisctricRecommendationResp, error)
- func (api *TokopediaApiPublic) NewGraphqlReq(payload *GraphqlPayload) *http.Request
- func (api *TokopediaApiPublic) NewRequest(method, ur string, query any, body io.Reader) *http.Request
- func (api *TokopediaApiPublic) PdpGetDataP2(payload *model_public.PdpGetDataP2Var) (*model_public.PdpGetDataP2Resp, error)
- func (api *TokopediaApiPublic) PdpGetReiewImageQuery(payload *model_public.PdpGetReiewImageQueryVar) (*model_public.PdpGetReiewImageQueryResp, error)
- func (api *TokopediaApiPublic) PdpGetlayoutQuery(payload *model_public.PdpGetlayoutQueryVar) (*model_public.PdpGetlayoutQueryResp, error)
- func (api *TokopediaApiPublic) PdpShopNote(payload *model_public.ShopIdVar) (*model_public.PdpShopNoteResp, error)
- func (api *TokopediaApiPublic) ProductRatingandTopics(payload *model_public.ProductIdVar) (*model_public.ProductRatingandTopicsResp, error)
- func (api *TokopediaApiPublic) ProductReviewList(payload *model_public.ProductReviewListVar) (*model_public.ProductReviewListResp, error)
- func (api *TokopediaApiPublic) RatesEstimateQuery(payload *model_public.RatesEstimateQueryVar) (*model_public.RatesEstimateQueryResp, error)
- func (api *TokopediaApiPublic) RecomWidget(payload *model_public.RecomWidgetVar) (*model_public.RecomWidgetResp, error)
- func (api *TokopediaApiPublic) SearchProductQuery(payload *model_public.SearchProductQueryVar) (*model_public.SearchProductQueryResp, error)
- func (api *TokopediaApiPublic) SearchProductQueryV4(payload *model_public.ParamsVar) (*model_public.SearchProductQueryV4Resp, error)
- func (api *TokopediaApiPublic) SendRequest(req *http.Request, hasil any) error
- func (api *TokopediaApiPublic) ShopCoreInfo(payload *model_public.ShopCoreInfoVar) (*model_public.ShopCoreInfoResp, error)
- func (api *TokopediaApiPublic) ShopNote(payload *model_public.ShopNoteVar) (*model_public.ShopNoteResp, error)
- func (api *TokopediaApiPublic) ShopPageLayoutV2(payload *model_public.ShopPageGetLayoutV2Var) (*model_public.ShopPageGetLayoutV2Resp, error)
- func (api *TokopediaApiPublic) ShopProducts(payload *model_public.ShopProductVar) (*model_public.ShopProductResp, error)
- func (api *TokopediaApiPublic) ShopSpeedQuery(payload *model_public.ShopIdStrVar) (*model_public.ShopSpeedQueryResp, error)
- func (api *TokopediaApiPublic) ShopStatisticQuery(payload *model_public.ShopStatisticQueryVar) (*model_public.ShopStatisticQueryResp, error)
- func (api *TokopediaApiPublic) TopadsProductQuery(payload *model_public.AdParamsVar) (*model_public.TopadsProductQueryResp, error)
- func (api *TokopediaApiPublic) VariantCombinationQuery(payload *model_public.VariantCategoryCombinationVar) (*model_public.VariantCategoryCombinationResp, error)
- func (api *TokopediaApiPublic) VoucherListQuery(payload *model_public.ShopIdVarInt) (*model_public.ShopVoucherQueryResp, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type GraphqlPayload ¶
type SessionPublic ¶
type TokopediaApiPublic ¶
type TokopediaApiPublic struct {
Session SessionPublic
}
func NewTokopediaApiPublic ¶
func NewTokopediaApiPublic() (*TokopediaApiPublic, error)
func (*TokopediaApiPublic) AceSearchShop ¶
func (api *TokopediaApiPublic) AceSearchShop(payload *model_public.ParamsVar) (*model_public.AceSearchShopResp, error)
func (*TokopediaApiPublic) CategoryAllListLite ¶
func (api *TokopediaApiPublic) CategoryAllListLite() (*model_public.CategoryAllListLiteResp, error)
func (*TokopediaApiPublic) DiscussionDataByProductID ¶
func (api *TokopediaApiPublic) DiscussionDataByProductID(payload *model_public.DiscussionDataProductByIDVar) (*model_public.DiscussionDataProductByIDResp, error)
func (*TokopediaApiPublic) FilterSortProductQuery ¶
func (api *TokopediaApiPublic) FilterSortProductQuery(payload *model_public.ParamsVar) (*model_public.FilterSortProductResp, error)
func (*TokopediaApiPublic) GetDrogonAnnotation ¶
func (api *TokopediaApiPublic) GetDrogonAnnotation(payload *model_public.GetDrogonAnnotationVar) (*model_public.GetDrogonAnnotationResp, error)
func (*TokopediaApiPublic) GetShopOperationalHourStatus ¶
func (api *TokopediaApiPublic) GetShopOperationalHourStatus(payload *model_public.ShopIdVar) (*model_public.GetShopOperationalHourStatusResp, error)
func (*TokopediaApiPublic) JarvisRecommendation ¶
func (api *TokopediaApiPublic) JarvisRecommendation(prodname string) (*model_public.JarvisRecommendationResp, error)
category recom
func (*TokopediaApiPublic) LocDisctricRecommendation ¶
func (api *TokopediaApiPublic) LocDisctricRecommendation(payload *model_public.LocDisctricRecommendationVar) (*model_public.LocDisctricRecommendationResp, error)
func (*TokopediaApiPublic) NewGraphqlReq ¶
func (api *TokopediaApiPublic) NewGraphqlReq(payload *GraphqlPayload) *http.Request
func (*TokopediaApiPublic) NewRequest ¶
func (*TokopediaApiPublic) PdpGetDataP2 ¶
func (api *TokopediaApiPublic) PdpGetDataP2(payload *model_public.PdpGetDataP2Var) (*model_public.PdpGetDataP2Resp, error)
func (*TokopediaApiPublic) PdpGetReiewImageQuery ¶
func (api *TokopediaApiPublic) PdpGetReiewImageQuery(payload *model_public.PdpGetReiewImageQueryVar) (*model_public.PdpGetReiewImageQueryResp, error)
func (*TokopediaApiPublic) PdpGetlayoutQuery ¶
func (api *TokopediaApiPublic) PdpGetlayoutQuery(payload *model_public.PdpGetlayoutQueryVar) (*model_public.PdpGetlayoutQueryResp, error)
func (*TokopediaApiPublic) PdpShopNote ¶
func (api *TokopediaApiPublic) PdpShopNote(payload *model_public.ShopIdVar) (*model_public.PdpShopNoteResp, error)
func (*TokopediaApiPublic) ProductRatingandTopics ¶
func (api *TokopediaApiPublic) ProductRatingandTopics(payload *model_public.ProductIdVar) (*model_public.ProductRatingandTopicsResp, error)
func (*TokopediaApiPublic) ProductReviewList ¶
func (api *TokopediaApiPublic) ProductReviewList(payload *model_public.ProductReviewListVar) (*model_public.ProductReviewListResp, error)
func (*TokopediaApiPublic) RatesEstimateQuery ¶ added in v1.0.2
func (api *TokopediaApiPublic) RatesEstimateQuery(payload *model_public.RatesEstimateQueryVar) (*model_public.RatesEstimateQueryResp, error)
func (*TokopediaApiPublic) RecomWidget ¶
func (api *TokopediaApiPublic) RecomWidget(payload *model_public.RecomWidgetVar) (*model_public.RecomWidgetResp, error)
func (*TokopediaApiPublic) SearchProductQuery ¶ added in v1.0.2
func (api *TokopediaApiPublic) SearchProductQuery(payload *model_public.SearchProductQueryVar) (*model_public.SearchProductQueryResp, error)
func (*TokopediaApiPublic) SearchProductQueryV4 ¶
func (api *TokopediaApiPublic) SearchProductQueryV4(payload *model_public.ParamsVar) (*model_public.SearchProductQueryV4Resp, error)
func (*TokopediaApiPublic) SendRequest ¶
func (api *TokopediaApiPublic) SendRequest(req *http.Request, hasil any) error
func (*TokopediaApiPublic) ShopCoreInfo ¶
func (api *TokopediaApiPublic) ShopCoreInfo(payload *model_public.ShopCoreInfoVar) (*model_public.ShopCoreInfoResp, error)
func (*TokopediaApiPublic) ShopNote ¶
func (api *TokopediaApiPublic) ShopNote(payload *model_public.ShopNoteVar) (*model_public.ShopNoteResp, error)
func (*TokopediaApiPublic) ShopPageLayoutV2 ¶
func (api *TokopediaApiPublic) ShopPageLayoutV2(payload *model_public.ShopPageGetLayoutV2Var) (*model_public.ShopPageGetLayoutV2Resp, error)
func (*TokopediaApiPublic) ShopProducts ¶
func (api *TokopediaApiPublic) ShopProducts(payload *model_public.ShopProductVar) (*model_public.ShopProductResp, error)
func (*TokopediaApiPublic) ShopSpeedQuery ¶
func (api *TokopediaApiPublic) ShopSpeedQuery(payload *model_public.ShopIdStrVar) (*model_public.ShopSpeedQueryResp, error)
func (*TokopediaApiPublic) ShopStatisticQuery ¶
func (api *TokopediaApiPublic) ShopStatisticQuery(payload *model_public.ShopStatisticQueryVar) (*model_public.ShopStatisticQueryResp, error)
func (*TokopediaApiPublic) TopadsProductQuery ¶
func (api *TokopediaApiPublic) TopadsProductQuery(payload *model_public.AdParamsVar) (*model_public.TopadsProductQueryResp, error)
func (*TokopediaApiPublic) VariantCombinationQuery ¶
func (api *TokopediaApiPublic) VariantCombinationQuery(payload *model_public.VariantCategoryCombinationVar) (*model_public.VariantCategoryCombinationResp, error)
func (*TokopediaApiPublic) VoucherListQuery ¶
func (api *TokopediaApiPublic) VoucherListQuery(payload *model_public.ShopIdVarInt) (*model_public.ShopVoucherQueryResp, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.