Uses of Class
com.mercadopago.exceptions.MPApiException
-
-
Uses of MPApiException in com.mercadopago.client
Methods in com.mercadopago.client that throw MPApiException Modifier and Type Method Description protected MPResponse
MercadoPagoClient. list(String path, MPRequestOptions requestOptions)
Convenience method to perform requests that returns lists of results.protected MPResponse
MercadoPagoClient. list(String path, HttpMethod method, com.google.gson.JsonObject payload, Map<String,Object> queryParams, MPRequestOptions requestOptions)
Convenience method to perform requests that returns lists of results.protected MPResponse
MercadoPagoClient. search(String path, MPSearchRequest request)
Convenience method to perform searches.protected MPResponse
MercadoPagoClient. search(String path, MPSearchRequest searchRequest, MPRequestOptions requestOptions)
Convenience method to perform searches.protected MPResponse
MercadoPagoClient. send(MPRequest request)
Method used directly or by other methods to make requests.protected MPResponse
MercadoPagoClient. send(MPRequest request, MPRequestOptions requestOptions)
Method used directly or by other methods to make requests with request options.protected MPResponse
MercadoPagoClient. send(String path, HttpMethod method, com.google.gson.JsonObject payload, Map<String,Object> queryParams)
Method used directly or by other methods to make requests.protected MPResponse
MercadoPagoClient. send(String path, HttpMethod method, com.google.gson.JsonObject payload, Map<String,Object> queryParams, MPRequestOptions requestOptions)
Method used directly or by other methods to make requests. -
Uses of MPApiException in com.mercadopago.client.cardtoken
Methods in com.mercadopago.client.cardtoken that throw MPApiException Modifier and Type Method Description CardToken
CardTokenClient. create(CardTokenRequest request)
Create token associated with a card.CardToken
CardTokenClient. create(CardTokenRequest request, MPRequestOptions requestOptions)
Create token associated with a card.CardToken
CardTokenClient. get(String id)
Get card token.CardToken
CardTokenClient. get(String id, MPRequestOptions requestOptions)
Get card token. -
Uses of MPApiException in com.mercadopago.client.customer
Methods in com.mercadopago.client.customer that throw MPApiException Modifier and Type Method Description CustomerCard
CustomerCardClient. create(String customerId, CustomerCardCreateRequest request)
Add card for customer.CustomerCard
CustomerCardClient. create(String customerId, CustomerCardCreateRequest request, MPRequestOptions requestOptions)
Add card for customer.Customer
CustomerClient. create(CustomerRequest request)
Add new customer.Customer
CustomerClient. create(CustomerRequest request, MPRequestOptions requestOptions)
Add new customer.CustomerCard
CustomerClient. createCard(String customerId, CustomerCardCreateRequest request)
Associate new card with customer.CustomerCard
CustomerClient. createCard(String customerId, CustomerCardCreateRequest request, MPRequestOptions requestOptions)
Associate new card with customer.CustomerCard
CustomerCardClient. delete(String customerId, String cardId)
Remove card for customer.CustomerCard
CustomerCardClient. delete(String customerId, String cardId, MPRequestOptions requestOptions)
Remove card for customer.Customer
CustomerClient. delete(String customerId)
Delete customer.Customer
CustomerClient. delete(String customerId, MPRequestOptions requestOptions)
Delete customer.CustomerCard
CustomerClient. deleteCard(String customerId, String cardId)
Delete card.CustomerCard
CustomerClient. deleteCard(String customerId, String cardId, MPRequestOptions requestOptions)
Delete card.CustomerCard
CustomerCardClient. get(String customerId, String cardId)
Get card of customer.CustomerCard
CustomerCardClient. get(String customerId, String cardId, MPRequestOptions requestOptions)
Get card of customer.Customer
CustomerClient. get(String customerId)
Get customer.Customer
CustomerClient. get(String customerId, MPRequestOptions requestOptions)
Get customer.CustomerCard
CustomerClient. getCard(String customerId, String cardId)
Get customer card by id.CustomerCard
CustomerClient. getCard(String customerId, String cardId, MPRequestOptions requestOptions)
Get customer card by id.MPResourceList<CustomerCard>
CustomerCardClient. listAll(String customerId)
List all cards of customer.MPResourceList<CustomerCard>
CustomerCardClient. listAll(String customerId, MPRequestOptions requestOptions)
List all cards of customer.MPResourceList<CustomerCard>
CustomerClient. listCards(String customerId)
List customer cards.MPResourceList<CustomerCard>
CustomerClient. listCards(String customerId, MPRequestOptions requestOptions)
List customer cards.MPResultsResourcesPage<Customer>
CustomerClient. search(MPSearchRequest request)
Search customer.MPResultsResourcesPage<Customer>
CustomerClient. search(MPSearchRequest request, MPRequestOptions requestOptions)
Search customer.Customer
CustomerClient. update(String customerId, CustomerRequest request)
Update customer.Customer
CustomerClient. update(String customerId, CustomerRequest request, MPRequestOptions requestOptions)
Update customer. -
Uses of MPApiException in com.mercadopago.client.identificationtype
Methods in com.mercadopago.client.identificationtype that throw MPApiException Modifier and Type Method Description MPResourceList<IdentificationType>
IdentificationTypeClient. list()
List all identification types.MPResourceList<IdentificationType>
IdentificationTypeClient. list(MPRequestOptions requestOptions)
List all identification types. -
Uses of MPApiException in com.mercadopago.client.merchantorder
Methods in com.mercadopago.client.merchantorder that throw MPApiException Modifier and Type Method Description MerchantOrder
MerchantOrderClient. create(MerchantOrderCreateRequest request)
Method responsible for creating merchant order.MerchantOrder
MerchantOrderClient. create(MerchantOrderCreateRequest request, MPRequestOptions requestOptions)
Method responsible for creating merchant order with request options.MerchantOrder
MerchantOrderClient. get(Long id)
Method responsible for getting merchant order.MerchantOrder
MerchantOrderClient. get(Long id, MPRequestOptions requestOptions)
Method responsible for getting merchant order.MPElementsResourcesPage<MerchantOrder>
MerchantOrderClient. search(MPSearchRequest request)
Method responsible for search merchant order.MPElementsResourcesPage<MerchantOrder>
MerchantOrderClient. search(MPSearchRequest request, MPRequestOptions requestOptions)
Method responsible for search merchant order.MerchantOrder
MerchantOrderClient. update(Long id, MerchantOrderUpdateRequest request)
Method responsible for creating merchant order.MerchantOrder
MerchantOrderClient. update(Long id, MerchantOrderUpdateRequest request, MPRequestOptions requestOptions)
Method responsible for creating merchant order with request options. -
Uses of MPApiException in com.mercadopago.client.oauth
Methods in com.mercadopago.client.oauth that throw MPApiException Modifier and Type Method Description CreateOauthCredential
OauthClient. createCredential(String authorizationCode, String redirectUri)
Create Oauth credentials to operate on behalf of a seller.CreateOauthCredential
OauthClient. createCredential(String authorizationCode, String redirectUri, MPRequestOptions requestOptions)
Create Oauth credentials to operate on behalf of a seller.String
OauthClient. getAuthorizationURL(String appId, String redirectUri)
Get URL for Oauth authorization.String
OauthClient. getAuthorizationURL(String appId, String redirectUri, MPRequestOptions requestOptions)
Get URL for Oauth authorization.RefreshOauthCredential
OauthClient. refreshCredential(String refreshToken)
Refresh Oauth credentials.RefreshOauthCredential
OauthClient. refreshCredential(String refreshToken, MPRequestOptions requestOptions)
Refresh Oauth credentials. -
Uses of MPApiException in com.mercadopago.client.payment
Methods in com.mercadopago.client.payment that throw MPApiException Modifier and Type Method Description Payment
PaymentClient. cancel(Long id)
Method responsible for cancel payment.Payment
PaymentClient. cancel(Long id, MPRequestOptions requestOptions)
Method responsible for cancel payment with request options.Payment
PaymentClient. capture(Long id)
Method responsible for capture payment.Payment
PaymentClient. capture(Long id, MPRequestOptions requestOptions)
Method responsible for capture payment.Payment
PaymentClient. capture(Long id, BigDecimal amount)
Method responsible for capture payment.Payment
PaymentClient. capture(Long id, BigDecimal amount, MPRequestOptions requestOptions)
Method responsible for capture payment.Payment
PaymentClient. create(PaymentCreateRequest request)
Method responsible for creating payment.Payment
PaymentClient. create(PaymentCreateRequest request, MPRequestOptions requestOptions)
Method responsible for creating payment with request options.Payment
PaymentClient. get(Long id)
Method responsible for getting payment.Payment
PaymentClient. get(Long id, MPRequestOptions requestOptions)
Method responsible for getting payment.PaymentRefund
PaymentRefundClient. get(Long paymentId, Long refundId)
Gets refund information by id from the payment.PaymentRefund
PaymentRefundClient. get(Long paymentId, Long refundId, MPRequestOptions requestOptions)
Gets refund information by id from the payment.PaymentRefund
PaymentClient. getRefund(Long paymentId, Long refundId)
Gets a refund by id from the payment.PaymentRefund
PaymentClient. getRefund(Long paymentId, Long refundId, MPRequestOptions requestOptions)
Gets a refund by id from the payment.MPResourceList<PaymentRefund>
PaymentRefundClient. list(Long paymentId)
Lists the refunds of the payment.MPResourceList<PaymentRefund>
PaymentRefundClient. list(Long paymentId, MPRequestOptions requestOptions)
Lists the refunds of the payment.MPResourceList<PaymentRefund>
PaymentClient. listRefunds(Long paymentId)
Lists the refunds of the payment.MPResourceList<PaymentRefund>
PaymentClient. listRefunds(Long paymentId, MPRequestOptions requestOptions)
Lists the refunds of the payment.PaymentRefund
PaymentClient. refund(Long paymentId)
Creates a total refund for payment.PaymentRefund
PaymentClient. refund(Long paymentId, MPRequestOptions requestOptions)
Creates a total refund for payment.PaymentRefund
PaymentClient. refund(Long paymentId, BigDecimal amount)
Creates a refund for payment.PaymentRefund
PaymentClient. refund(Long paymentId, BigDecimal amount, MPRequestOptions requestOptions)
Creates a refund for payment.PaymentRefund
PaymentRefundClient. refund(Long paymentId)
Creates a refund for payment.PaymentRefund
PaymentRefundClient. refund(Long paymentId, MPRequestOptions requestOptions)
Creates a refund for payment.PaymentRefund
PaymentRefundClient. refund(Long paymentId, BigDecimal amount)
Creates a refund for payment.PaymentRefund
PaymentRefundClient. refund(Long paymentId, BigDecimal amount, MPRequestOptions requestOptions)
Creates a refund for payment.MPResultsResourcesPage<Payment>
PaymentClient. search(MPSearchRequest request)
Method responsible for search payments.MPResultsResourcesPage<Payment>
PaymentClient. search(MPSearchRequest request, MPRequestOptions requestOptions)
Method responsible for search payments. -
Uses of MPApiException in com.mercadopago.client.paymentmethod
Methods in com.mercadopago.client.paymentmethod that throw MPApiException Modifier and Type Method Description MPResourceList<PaymentMethod>
PaymentMethodClient. list()
List all payment methods.MPResourceList<PaymentMethod>
PaymentMethodClient. list(MPRequestOptions requestOptions)
List all payment methods. -
Uses of MPApiException in com.mercadopago.client.point
Methods in com.mercadopago.client.point that throw MPApiException Modifier and Type Method Description PointCancelPaymentIntent
PointClient. cancelPaymentIntent(String deviceId, String paymentIntentId)
Method responsible for cancelling a payment intent.PointCancelPaymentIntent
PointClient. cancelPaymentIntent(String deviceId, String paymentIntentId, MPRequestOptions requestOptions)
Method responsible for cancelling a payment intent.PointDeviceOperatingMode
PointClient. changeDeviceOperatingMode(String deviceId, PointDeviceOperatingModeRequest request)
Method responsible for change the device operating mode.PointDeviceOperatingMode
PointClient. changeDeviceOperatingMode(String deviceId, PointDeviceOperatingModeRequest request, MPRequestOptions requestOptions)
Method responsible for change the device operating mode with request options.PointPaymentIntent
PointClient. createPaymentIntent(String deviceId, PointPaymentIntentRequest request)
Method responsible for creating a payment intent.PointPaymentIntent
PointClient. createPaymentIntent(String deviceId, PointPaymentIntentRequest request, MPRequestOptions requestOptions)
Method responsible for creating payment intent with request options.PointDevices
PointClient. getDevices(MPSearchRequest request)
Method responsible for getting the devices.PointDevices
PointClient. getDevices(MPSearchRequest request, MPRequestOptions requestOptions)
Method responsible for getting the devices.PointPaymentIntentList
PointClient. getPaymentIntentList(PointPaymentIntentListRequest request)
Method responsible for getting a list of payment intents with their final states between a date range.PointPaymentIntentList
PointClient. getPaymentIntentList(PointPaymentIntentListRequest request, MPRequestOptions requestOptions)
Method responsible for getting a list of payment intents with their final states between a date range with request options.PointStatusPaymentIntent
PointClient. getPaymentIntentStatus(String paymentIntentId)
Method responsible for finding the last state of a payment intent.PointStatusPaymentIntent
PointClient. getPaymentIntentStatus(String paymentIntentId, MPRequestOptions requestOptions)
Method responsible for finding the last state of a payment intent.PointSearchPaymentIntent
PointClient. searchPaymentIntent(String paymentIntentId)
Method responsible for getting a payment intent.PointSearchPaymentIntent
PointClient. searchPaymentIntent(String paymentIntentId, MPRequestOptions requestOptions)
Method responsible for getting a payment intent. -
Uses of MPApiException in com.mercadopago.client.preapproval
Methods in com.mercadopago.client.preapproval that throw MPApiException Modifier and Type Method Description Preapproval
PreapprovalClient. create(PreapprovalCreateRequest request)
Creates a Preapproval.Preapproval
PreapprovalClient. create(PreapprovalCreateRequest request, MPRequestOptions requestOptions)
Creates a Preapproval.Preapproval
PreapprovalClient. get(String id)
Get a Preapproval by your ID.Preapproval
PreapprovalClient. get(String id, MPRequestOptions requestOptions)
Get a Preapproval by your ID.MPResultsResourcesPage<Preapproval>
PreapprovalClient. search(MPSearchRequest request)
Method responsible for search preapprovals.MPResultsResourcesPage<Preapproval>
PreapprovalClient. search(MPSearchRequest request, MPRequestOptions requestOptions)
Method responsible for search preapprovals.Preapproval
PreapprovalClient. update(String id, PreapprovalUpdateRequest request)
Updates a Preapproval.Preapproval
PreapprovalClient. update(String id, PreapprovalUpdateRequest request, MPRequestOptions requestOptions)
Updates a Preapproval. -
Uses of MPApiException in com.mercadopago.client.preference
Methods in com.mercadopago.client.preference that throw MPApiException Modifier and Type Method Description Preference
PreferenceClient. create(PreferenceRequest request)
Method responsible for creating preference.Preference
PreferenceClient. create(PreferenceRequest request, MPRequestOptions requestOptions)
Method responsible for creating preference with request options.Preference
PreferenceClient. get(String id)
Method responsible for getting preference.Preference
PreferenceClient. get(String id, MPRequestOptions requestOptions)
Method responsible for getting preference.MPElementsResourcesPage<PreferenceSearch>
PreferenceClient. search(MPSearchRequest request)
Method responsible for search preference.MPElementsResourcesPage<PreferenceSearch>
PreferenceClient. search(MPSearchRequest request, MPRequestOptions requestOptions)
Method responsible for search preference.Preference
PreferenceClient. update(String id, PreferenceRequest request)
Method responsible for updating preference.Preference
PreferenceClient. update(String id, PreferenceRequest request, MPRequestOptions requestOptions)
Method responsible for updating preference with request options. -
Uses of MPApiException in com.mercadopago.client.user
Methods in com.mercadopago.client.user that throw MPApiException Modifier and Type Method Description User
UserClient. get()
Get user information.User
UserClient. get(MPRequestOptions requestOptions)
Get user information with custom attributes on request. -
Uses of MPApiException in com.mercadopago.net
Methods in com.mercadopago.net that throw MPApiException Modifier and Type Method Description MPResponse
MPDefaultHttpClient. send(MPRequest mpRequest)
MPResponse
MPHttpClient. send(MPRequest request)
Method responsible to send a request.
-