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

Link to this section Summary

Functions

description: <p>Delete an apple pay domain.</p>

description: <p>List apple pay domains.</p>

description: <p>Retrieve an apple pay domain.</p>

description: <p>Create an apple pay domain.</p>

Link to this section Types

Link to this type

get_apple_pay_domains_domain_opts()

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

get_apple_pay_domains_opts()

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

Link to this section Functions

Link to this function

delete_apple_pay_domains_domain(client, body, domain)

View Source
@spec delete_apple_pay_domains_domain(
  client :: ExOAPI.Client.t(),
  body :: %{} | map(),
  domain :: String.t()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.DeletedApplePayDomain.t()
   | map()}
  | {:error, any()}

description: <p>Delete an apple pay domain.</p>

Link to this function

get_apple_pay_domains(client, opts \\ [])

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

description: <p>List apple pay domains.</p>

Link to this function

get_apple_pay_domains_domain(client, domain, opts \\ [])

View Source
@spec get_apple_pay_domains_domain(
  client :: ExOAPI.Client.t(),
  domain :: String.t(),
  [get_apple_pay_domains_domain_opts()]
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.ApplePayDomain.t()
   | map()}
  | {:error, any()}

description: <p>Retrieve an apple pay domain.</p>

Link to this function

post_apple_pay_domains(client, body)

View Source
@spec post_apple_pay_domains(
  client :: ExOAPI.Client.t(),
  body :: %{expand: [String.t()], domain_name: String.t()} | map()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.ApplePayDomain.t()
   | map()}
  | {:error, any()}

description: <p>Create an apple pay domain.</p>