package
1.0.7
Repository: https://github.com/mercadopago/sdk-go.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new Preference API Client.

# Structs

AddressRequest represents an address.
AddressResponse represents an address.
BackURLsRequest contains callback URLs.
BackURLsResponse contains preference back URLs.
DifferentialPricingRequest contains information about differential pricing configuration.
DifferentialPricingResponse contains information about the differential pricing configuration in the preference.
ExcludedPaymentMethodRequest contains information about the payment method in the preference.
ExcludedPaymentMethodResponse contains information about the payment method in the preference.
ExcludedPaymentTypeRequest contains information about the payment type in the preference.
ExcludedPaymentTypeResponse contains information about the type of payment in the preference.
FreeMethodRequest contains information about free shipping methods in the preference.
FreeMethodResponse contains information about free shipping methods.
IdentificationRequest is a base type that represents identifications, such as customer identification.
IdentificationResponse is a base type that represents identifications, such as customer identification.
ItemRequest represents a purchased item.
ItemResponse represents an item.
PagingResponse is a search page that contains elements.
PayerRequest contains payer information in the preference.
PayerResponse contains payer information in the preference.
PaymentMethodsRequest contains information about payment methods in the preference.
PaymentMethodsResponse contains information about payment methods in the preference.
PhoneRequest represents a telephone number.
PhoneResponse represents a telephone number.
ReceiverAddressRequest contains information about the send address in the preference.
ReceiverAddressResponse represents a sending address.
Request contains parameters to create/update a preference.
Response represents the response to a preference endpoint.
SearchRequest is the helper structure to build search request.
SearchResponse contains information about a preference for searching.
ShipmentsRequest contains information about shipments in the preference.
ShipmentsResponse contains preference shipping information.
TaxRequest contains information about taxes in the preference.
TaxResponse contains information about taxes in the preference.
TrackRequest contains information about the tracking to be performed during user interaction in the Checkout flow.
TrackResponse represents a trace to be executed during user interaction in the Checkout flow.
ValuesRequest contains the values of the tracks to be executed during user interaction in the Checkout flow.
ValuesResponse contains the values of the tracks to be executed during user interaction in the Checkout flow.

# Interfaces

Client contains the methods to interact with the Preference API.