View Source ExOAPI.Stripe.SDK.Prices (exoapi_stripe v0.1.1)
Link to this section Summary
Functions
description: <p>Returns a list of your prices.</p>
description: <p>Retrieves the price with the given ID.</p>
description: <p>Search for prices you’ve previously created using Stripe’s <a href="/docs/search#search-query-language">Search Query Language</a>. Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up to an hour behind during outages. Search functionality is not available to merchants in India.</p>
description: <p>Creates a new price for an existing product. The price can be recurring or one-time.</p>
description: <p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.</p>
Link to this section Types
@type get_prices_opts() :: {:type, String.t()} | {:starting_after, String.t()} | {:recurring, String.t()} | {:product, String.t()} | {:lookup_keys, String.t()} | {:limit, String.t()} | {:expand, String.t()} | {:ending_before, String.t()} | {:currency, String.t()} | {:created, String.t()} | {:active, String.t()}
@type get_prices_price_opts() :: {:expand, String.t()}
Link to this section Functions
@spec get_prices(client :: ExOAPI.Client.t(), [get_prices_opts()]) :: {:ok, any()} | {:error, any()}
description: <p>Returns a list of your prices.</p>
@spec get_prices_price( client :: ExOAPI.Client.t(), price :: String.t(), [get_prices_price_opts()] ) :: {:ok, any()} | {:error, any()}
description: <p>Retrieves the price with the given ID.</p>
@spec get_prices_search( client :: ExOAPI.Client.t(), query :: String.t(), [get_prices_search_opts()] ) :: {:ok, any()} | {:error, any()}
description: <p>Search for prices you’ve previously created using Stripe’s <a href="/docs/search#search-query-language">Search Query Language</a>. Don’t use search in read-after-write flows where strict consistency is necessary. Under normal operating conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up to an hour behind during outages. Search functionality is not available to merchants in India.</p>
@spec post_prices(client :: ExOAPI.Client.t(), body :: map()) :: {:ok, any()} | {:error, any()}
description: <p>Creates a new price for an existing product. The price can be recurring or one-time.</p>
@spec post_prices_price( client :: ExOAPI.Client.t(), body :: map(), price :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.</p>