Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2023 Changes in this version + type Announcement struct + AcceptsMercadopago bool + Attributes []struct{ ... } + AutomaticRelist bool + AvailableQuantity int + BasePrice float64 + BuyingMode string + CatalogListing bool + CatalogProductID interface{} + CategoryID string + Channels []string + Condition string + CoverageAreas []interface{} + CurrencyID string + DateCreated time.Time + DealIds []interface{} + Descriptions []interface{} + DifferentialPricing interface{} + DomainID string + EndTime time.Time + Error string + ExpirationTime time.Time + Geolocation struct{ ... } + Health float64 + ID string + InitialQuantity int + InternationalDeliveryMode string + InventoryID interface{} + ItemRelations []interface{} + LastUpdated time.Time + ListingSource string + ListingTypeID string + Location struct{} + Message string + NonMercadoPagoPaymentMethods []interface{} + OfficialStoreID interface{} + OriginalPrice float64 + ParentItemID interface{} + Permalink string + Pictures []struct{ ... } + Price float64 + SaleTerms []struct{ ... } + SecureThumbnail string + SellerAddress struct{ ... } + SellerContact interface{} + SellerCustomField interface{} + SellerID int + Shipping struct{ ... } + SiteID string + SoldQuantity int + StartTime time.Time + Status string + StopTime time.Time + SubStatus []interface{} + Subtitle interface{} + Tags []string + Thumbnail string + ThumbnailID string + Title string + Variations []interface{} + VideoID interface{} + Warnings []interface{} + Warranty string + type AnnouncementsMultiGet []struct + type Credentials struct + AccessToken string + ExpiresIn int + RefreshToken string + Scope string + TokenType string + UserID int + type Description struct + Cause []interface{} + DateCreated time.Time + Error string + LastUpdated time.Time + Message string + PlainText string + Snapshot struct{ ... } + Status int + Text string + type MeliError struct + Cause []interface{} + Error string + Message string + Status int + type MercadoLivre struct + ClientId string + ClientSecret string + Endpoint string + HttpClient *http.Client + Logger metrics.Logger + RedirectUrl string + Validate *validator.Validate + func NewMercadoLivre(clientId, clientSecret, redirectUrl, endpoint string, ...) *MercadoLivre + func (m *MercadoLivre) AddDescription(description string, announcementId string, accessToken string) error + func (m *MercadoLivre) FetchOrder(orderId string, accessToken string) (*common.MeliOrder, error) + func (m *MercadoLivre) GetAnnouncement(id string) (*common.MeliAnnouncement, error) + func (m *MercadoLivre) GetAnnouncements(ids []string, accessToken string) (*[]common.MeliAnnouncement, error) + func (m *MercadoLivre) GetAnnouncementsIDsViaSKU(sku string, userId string, accessToken string) ([]string, error) + func (m *MercadoLivre) GetDescription(id string) (*string, error) + func (m *MercadoLivre) PublishAnnouncement(announcement []byte, accessToken string) (ID *string, err error) + func (m *MercadoLivre) RefreshCredentials(refreshToken string) (*common.MeliCredential, error) + func (m *MercadoLivre) RegisterCredential(code string) (*common.MeliCredential, error) + func (m *MercadoLivre) UpdateQuantity(quantity int, announcementId, accessToken string) error + type Order struct + Buyer struct{ ... } + Comment interface{} + Context struct{ ... } + Coupon struct{ ... } + CurrencyID string + DateClosed string + DateCreated string + ExpirationDate string + Feedback struct{ ... } + Fulfilled interface{} + ID uint64 + LastUpdated string + ManufacturingEndingDate interface{} + Mediations []interface{} + OrderItems []struct{ ... } + OrderRequest struct{ ... } + PackID int64 + PaidAmount float64 + Payments []struct{ ... } + PickupID interface{} + Seller struct{ ... } + Shipping struct{ ... } + Status string + StatusDetail interface{} + Tags []string + Taxes struct{ ... } + TotalAmount float64 + type QueryAnnouncementViaSku struct + AvailableOrders interface{} + Orders []struct{ ... } + Paging interface{} + Query interface{} + Results []string + SellerID string