View Source ExOAPI.Stripe.SDK.CountrySpecs (exoapi_stripe v0.1.4)

Link to this section Summary

Functions

description: <p>Lists all Country Spec objects available in the API.</p>

description: <p>Returns a Country Spec for a given Country code.</p>

Link to this section Types

Link to this type

get_country_specs_country_opts()

View Source
@type get_country_specs_country_opts() :: {:expand, String.t()}
Link to this type

get_country_specs_opts()

View Source
@type get_country_specs_opts() ::
  {:starting_after, String.t()}
  | {:limit, String.t()}
  | {:expand, String.t()}
  | {:ending_before, String.t()}

Link to this section Functions

Link to this function

get_country_specs(client, opts \\ [])

View Source
@spec get_country_specs(client :: ExOAPI.Client.t(), [get_country_specs_opts()]) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | %{
       url: String.t(),
       object: String.t() | :list,
       has_more: boolean(),
       data: [ExOAPI.Stripe.Schemas.CountrySpec.t()]
     }
   | map()}
  | {:error, any()}

description: <p>Lists all Country Spec objects available in the API.</p>

Link to this function

get_country_specs_country(client, country, opts \\ [])

View Source
@spec get_country_specs_country(
  client :: ExOAPI.Client.t(),
  country :: String.t(),
  [get_country_specs_country_opts()]
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.CountrySpec.t()
   | map()}
  | {:error, any()}

description: <p>Returns a Country Spec for a given Country code.</p>