View Source ExOAPI.Stripe.SDK.TestHelpers (exoapi_stripe v0.1.1)
Link to this section Summary
Functions
description: <p>Deletes a test clock.</p>
description: <p>Returns a list of your test clocks.</p>
description: <p>Retrieves a test clock.</p>
description: <p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.</p>
description: <p>Creates a new test clock that can be attached to new customers and quotes.</p>
description: <p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to <code>Ready</code>.</p>
Link to this section Types
@type get_test_helpers_test_clocks_test_clock_opts() :: {:expand, String.t()}
Link to this section Functions
delete_test_helpers_test_clocks_test_clock(client, body, test_clock)
View Source@spec delete_test_helpers_test_clocks_test_clock( client :: ExOAPI.Client.t(), body :: map(), test_clock :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Deletes a test clock.</p>
@spec get_test_helpers_test_clocks(client :: ExOAPI.Client.t(), [ get_test_helpers_test_clocks_opts() ]) :: {:ok, any()} | {:error, any()}
description: <p>Returns a list of your test clocks.</p>
get_test_helpers_test_clocks_test_clock(client, test_clock, opts \\ [])
View Source@spec get_test_helpers_test_clocks_test_clock( client :: ExOAPI.Client.t(), test_clock :: String.t(), [get_test_helpers_test_clocks_test_clock_opts()] ) :: {:ok, any()} | {:error, any()}
description: <p>Retrieves a test clock.</p>
post_test_helpers_terminal_readers_reader_present_payment_method(client, body, reader)
View Source@spec post_test_helpers_terminal_readers_reader_present_payment_method( client :: ExOAPI.Client.t(), body :: map(), reader :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.</p>
@spec post_test_helpers_test_clocks(client :: ExOAPI.Client.t(), body :: map()) :: {:ok, any()} | {:error, any()}
description: <p>Creates a new test clock that can be attached to new customers and quotes.</p>
post_test_helpers_test_clocks_test_clock_advance(client, body, test_clock)
View Source@spec post_test_helpers_test_clocks_test_clock_advance( client :: ExOAPI.Client.t(), body :: map(), test_clock :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to <code>Ready</code>.</p>