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 MPResponseMercadoPagoClient. list(String path, MPRequestOptions requestOptions)Convenience method to perform requests that returns lists of results.protected MPResponseMercadoPagoClient. 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 MPResponseMercadoPagoClient. search(String path, MPSearchRequest request)Convenience method to perform searches.protected MPResponseMercadoPagoClient. search(String path, MPSearchRequest searchRequest, MPRequestOptions requestOptions)Convenience method to perform searches.protected MPResponseMercadoPagoClient. send(MPRequest request)Method used directly or by other methods to make requests.protected MPResponseMercadoPagoClient. send(MPRequest request, MPRequestOptions requestOptions)Method used directly or by other methods to make requests with request options.protected MPResponseMercadoPagoClient. 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 MPResponseMercadoPagoClient. 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 CardTokenCardTokenClient. create(CardTokenRequest request)Create token associated with a card.CardTokenCardTokenClient. create(CardTokenRequest request, MPRequestOptions requestOptions)Create token associated with a card.CardTokenCardTokenClient. get(String id)Get card token.CardTokenCardTokenClient. 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 CustomerCardCustomerCardClient. create(String customerId, CustomerCardCreateRequest request)Add card for customer.CustomerCardCustomerCardClient. create(String customerId, CustomerCardCreateRequest request, MPRequestOptions requestOptions)Add card for customer.CustomerCustomerClient. create(CustomerRequest request)Add new customer.CustomerCustomerClient. create(CustomerRequest request, MPRequestOptions requestOptions)Add new customer.CustomerCardCustomerClient. createCard(String customerId, CustomerCardCreateRequest request)Associate new card with customer.CustomerCardCustomerClient. createCard(String customerId, CustomerCardCreateRequest request, MPRequestOptions requestOptions)Associate new card with customer.CustomerCardCustomerCardClient. delete(String customerId, String cardId)Remove card for customer.CustomerCardCustomerCardClient. delete(String customerId, String cardId, MPRequestOptions requestOptions)Remove card for customer.CustomerCustomerClient. delete(String customerId)Delete customer.CustomerCustomerClient. delete(String customerId, MPRequestOptions requestOptions)Delete customer.CustomerCardCustomerClient. deleteCard(String customerId, String cardId)Delete card.CustomerCardCustomerClient. deleteCard(String customerId, String cardId, MPRequestOptions requestOptions)Delete card.CustomerCardCustomerCardClient. get(String customerId, String cardId)Get card of customer.CustomerCardCustomerCardClient. get(String customerId, String cardId, MPRequestOptions requestOptions)Get card of customer.CustomerCustomerClient. get(String customerId)Get customer.CustomerCustomerClient. get(String customerId, MPRequestOptions requestOptions)Get customer.CustomerCardCustomerClient. getCard(String customerId, String cardId)Get customer card by id.CustomerCardCustomerClient. 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.CustomerCustomerClient. update(String customerId, CustomerRequest request)Update customer.CustomerCustomerClient. 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 MerchantOrderMerchantOrderClient. create(MerchantOrderCreateRequest request)Method responsible for creating merchant order.MerchantOrderMerchantOrderClient. create(MerchantOrderCreateRequest request, MPRequestOptions requestOptions)Method responsible for creating merchant order with request options.MerchantOrderMerchantOrderClient. get(Long id)Method responsible for getting merchant order.MerchantOrderMerchantOrderClient. 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.MerchantOrderMerchantOrderClient. update(Long id, MerchantOrderUpdateRequest request)Method responsible for creating merchant order.MerchantOrderMerchantOrderClient. 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 CreateOauthCredentialOauthClient. createCredential(String authorizationCode, String redirectUri)Create Oauth credentials to operate on behalf of a seller.CreateOauthCredentialOauthClient. createCredential(String authorizationCode, String redirectUri, MPRequestOptions requestOptions)Create Oauth credentials to operate on behalf of a seller.StringOauthClient. getAuthorizationURL(String appId, String redirectUri)Get URL for Oauth authorization.StringOauthClient. getAuthorizationURL(String appId, String redirectUri, MPRequestOptions requestOptions)Get URL for Oauth authorization.RefreshOauthCredentialOauthClient. refreshCredential(String refreshToken)Refresh Oauth credentials.RefreshOauthCredentialOauthClient. 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 PaymentPaymentClient. cancel(Long id)Method responsible for cancel payment.PaymentPaymentClient. cancel(Long id, MPRequestOptions requestOptions)Method responsible for cancel payment with request options.PaymentPaymentClient. capture(Long id)Method responsible for capture payment.PaymentPaymentClient. capture(Long id, MPRequestOptions requestOptions)Method responsible for capture payment.PaymentPaymentClient. capture(Long id, BigDecimal amount)Method responsible for capture payment.PaymentPaymentClient. capture(Long id, BigDecimal amount, MPRequestOptions requestOptions)Method responsible for capture payment.PaymentPaymentClient. create(PaymentCreateRequest request)Method responsible for creating payment.PaymentPaymentClient. create(PaymentCreateRequest request, MPRequestOptions requestOptions)Method responsible for creating payment with request options.PaymentPaymentClient. get(Long id)Method responsible for getting payment.PaymentPaymentClient. get(Long id, MPRequestOptions requestOptions)Method responsible for getting payment.PaymentRefundPaymentRefundClient. get(Long paymentId, Long refundId)Gets refund information by id from the payment.PaymentRefundPaymentRefundClient. get(Long paymentId, Long refundId, MPRequestOptions requestOptions)Gets refund information by id from the payment.PaymentRefundPaymentClient. getRefund(Long paymentId, Long refundId)Gets a refund by id from the payment.PaymentRefundPaymentClient. 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.PaymentRefundPaymentClient. refund(Long paymentId)Creates a total refund for payment.PaymentRefundPaymentClient. refund(Long paymentId, MPRequestOptions requestOptions)Creates a total refund for payment.PaymentRefundPaymentClient. refund(Long paymentId, BigDecimal amount)Creates a refund for payment.PaymentRefundPaymentClient. refund(Long paymentId, BigDecimal amount, MPRequestOptions requestOptions)Creates a refund for payment.PaymentRefundPaymentRefundClient. refund(Long paymentId)Creates a refund for payment.PaymentRefundPaymentRefundClient. refund(Long paymentId, MPRequestOptions requestOptions)Creates a refund for payment.PaymentRefundPaymentRefundClient. refund(Long paymentId, BigDecimal amount)Creates a refund for payment.PaymentRefundPaymentRefundClient. 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 PointCancelPaymentIntentPointClient. cancelPaymentIntent(String deviceId, String paymentIntentId)Method responsible for cancelling a payment intent.PointCancelPaymentIntentPointClient. cancelPaymentIntent(String deviceId, String paymentIntentId, MPRequestOptions requestOptions)Method responsible for cancelling a payment intent.PointDeviceOperatingModePointClient. changeDeviceOperatingMode(String deviceId, PointDeviceOperatingModeRequest request)Method responsible for change the device operating mode.PointDeviceOperatingModePointClient. changeDeviceOperatingMode(String deviceId, PointDeviceOperatingModeRequest request, MPRequestOptions requestOptions)Method responsible for change the device operating mode with request options.PointPaymentIntentPointClient. createPaymentIntent(String deviceId, PointPaymentIntentRequest request)Method responsible for creating a payment intent.PointPaymentIntentPointClient. createPaymentIntent(String deviceId, PointPaymentIntentRequest request, MPRequestOptions requestOptions)Method responsible for creating payment intent with request options.PointDevicesPointClient. getDevices(MPSearchRequest request)Method responsible for getting the devices.PointDevicesPointClient. getDevices(MPSearchRequest request, MPRequestOptions requestOptions)Method responsible for getting the devices.PointPaymentIntentListPointClient. getPaymentIntentList(PointPaymentIntentListRequest request)Method responsible for getting a list of payment intents with their final states between a date range.PointPaymentIntentListPointClient. 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.PointStatusPaymentIntentPointClient. getPaymentIntentStatus(String paymentIntentId)Method responsible for finding the last state of a payment intent.PointStatusPaymentIntentPointClient. getPaymentIntentStatus(String paymentIntentId, MPRequestOptions requestOptions)Method responsible for finding the last state of a payment intent.PointSearchPaymentIntentPointClient. searchPaymentIntent(String paymentIntentId)Method responsible for getting a payment intent.PointSearchPaymentIntentPointClient. 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 PreapprovalPreapprovalClient. create(PreapprovalCreateRequest request)Creates a Preapproval.PreapprovalPreapprovalClient. create(PreapprovalCreateRequest request, MPRequestOptions requestOptions)Creates a Preapproval.PreapprovalPreapprovalClient. get(String id)Get a Preapproval by your ID.PreapprovalPreapprovalClient. 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.PreapprovalPreapprovalClient. update(String id, PreapprovalUpdateRequest request)Updates a Preapproval.PreapprovalPreapprovalClient. 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 PreferencePreferenceClient. create(PreferenceRequest request)Method responsible for creating preference.PreferencePreferenceClient. create(PreferenceRequest request, MPRequestOptions requestOptions)Method responsible for creating preference with request options.PreferencePreferenceClient. get(String id)Method responsible for getting preference.PreferencePreferenceClient. 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.PreferencePreferenceClient. update(String id, PreferenceRequest request)Method responsible for updating preference.PreferencePreferenceClient. 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 UserUserClient. get()Get user information.UserUserClient. 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 MPResponseMPDefaultHttpClient. send(MPRequest mpRequest)MPResponseMPHttpClient. send(MPRequest request)Method responsible to send a request.
-