Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2023 Changes in this version + type AnnouncementError struct + AnnouncementID string + IsAbleToRetry bool + Message string + Sku string + func (a *AnnouncementError) Error() string + type AnnouncementService struct + func NewAnnouncementService(mercadolivre common.MercadoLivre, storeUseCase store.UseCase, ...) *AnnouncementService + func (a *AnnouncementService) CloneAnnouncement(input CloneAnnouncementDtoInput) error + func (a *AnnouncementService) RetrieveAnnouncements(sku string, credentials store.Credentials) (*[]common.MeliAnnouncement, error) + func (a *AnnouncementService) UpdateQuantity(id string, newQuantity int, credentials store.Credentials) error + type CloneAnnouncementDtoInput struct + RootID string + Store entity.ID + Titles []string + type GetAnnouncementsDtoInput struct + Sku string + type UseCase interface + CloneAnnouncement func(input CloneAnnouncementDtoInput) error + RetrieveAnnouncements func(sku string, credentials store.Credentials) (*[]common.MeliAnnouncement, error) + UpdateQuantity func(id string, quantity int, credentials store.Credentials) error