Mercadopago.Client (mercadopago_sdk_elixir v0.3.1)

Copy Markdown View Source

Holds authentication and request configuration for all SDK calls.

Summary

Functions

The statuses a GET is retried on when :retry_on is not given.

Types

t()

@type t() :: %Mercadopago.Client{
  access_token: String.t() | nil,
  corporation_id: String.t() | nil,
  custom_headers: map(),
  finch: atom() | nil,
  integrator_id: String.t() | nil,
  max_retries: non_neg_integer(),
  max_retry_delay: non_neg_integer(),
  platform_id: String.t() | nil,
  plug: term() | nil,
  retry_delay: non_neg_integer(),
  retry_on: [non_neg_integer()],
  timeout: non_neg_integer()
}

Functions

default_retry_on()

@spec default_retry_on() :: [non_neg_integer()]

The statuses a GET is retried on when :retry_on is not given.