View Source ExOAPI.Stripe.SDK.Reviews (exoapi_stripe v0.1.4)
Link to this section Summary
Functions
description: <p>Returns a list of <code>Review</code> objects that have <code>open</code> set to <code>true</code>. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
description: <p>Retrieves a <code>Review</code> object.</p>
description: <p>Approves a <code>Review</code> object, closing it and removing it from the list of reviews.</p>
Link to this section Types
@type get_reviews_review_opts() :: {:expand, String.t()}
Link to this section Functions
@spec get_reviews(client :: ExOAPI.Client.t(), [get_reviews_opts()]) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | %{ url: String.t(), object: String.t() | :list, has_more: boolean(), data: [ExOAPI.Stripe.Schemas.Review.t()] } | map()} | {:error, any()}
description: <p>Returns a list of <code>Review</code> objects that have <code>open</code> set to <code>true</code>. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
@spec get_reviews_review( client :: ExOAPI.Client.t(), review :: String.t(), [get_reviews_review_opts()] ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.Review.t() | map()} | {:error, any()}
description: <p>Retrieves a <code>Review</code> object.</p>
@spec post_reviews_review_approve( client :: ExOAPI.Client.t(), body :: %{expand: [String.t()]} | map(), review :: String.t() ) :: {:ok, ExOAPI.Stripe.Schemas.Error.t() | ExOAPI.Stripe.Schemas.Review.t() | map()} | {:error, any()}
description: <p>Approves a <code>Review</code> object, closing it and removing it from the list of reviews.</p>