Documentation ¶
Overview ¶
Package testclock provides the /test_helpers/test_clocks APIs
Index ¶
- func Advance(id string, params *stripe.TestHelpersTestClockAdvanceParams) (*stripe.TestHelpersTestClock, error)
- func Del(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- func Get(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- func New(params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- type Client
- func (c Client) Advance(id string, params *stripe.TestHelpersTestClockAdvanceParams) (*stripe.TestHelpersTestClock, error)
- func (c Client) Del(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- func (c Client) Get(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- func (c Client) List(listParams *stripe.TestHelpersTestClockListParams) *Iter
- func (c Client) New(params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Advance ¶
func Advance(id string, params *stripe.TestHelpersTestClockAdvanceParams) (*stripe.TestHelpersTestClock, error)
Advance is the method for the `POST /v1/test_helpers/test_clocks/{test_clock}/advance` API.
func Del ¶
func Del(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
Del removes a test helpers test clock.
func Get ¶
func Get(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
Get returns the details of a test helpers test clock.
func New ¶
func New(params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
New creates a new test helpers test clock.
Types ¶
type Client ¶
Client is used to invoke /test_helpers/test_clocks APIs.
func (Client) Advance ¶
func (c Client) Advance(id string, params *stripe.TestHelpersTestClockAdvanceParams) (*stripe.TestHelpersTestClock, error)
Advance is the method for the `POST /v1/test_helpers/test_clocks/{test_clock}/advance` API.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
Del removes a test helpers test clock.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
Get returns the details of a test helpers test clock.
func (Client) List ¶
func (c Client) List(listParams *stripe.TestHelpersTestClockListParams) *Iter
List returns a list of test helpers test clocks.
func (Client) New ¶
func (c Client) New(params *stripe.TestHelpersTestClockParams) (*stripe.TestHelpersTestClock, error)
New creates a new test helpers test clock.
type Iter ¶
Iter is an iterator for test helpers test clocks.
func List ¶
func List(params *stripe.TestHelpersTestClockListParams) *Iter
List returns a list of test helpers test clocks.
func (*Iter) TestHelpersTestClock ¶
func (i *Iter) TestHelpersTestClock() *stripe.TestHelpersTestClock
TestHelpersTestClock returns the test helpers test clock which the iterator is currently pointing to.
func (*Iter) TestHelpersTestClockList ¶
func (i *Iter) TestHelpersTestClockList() *stripe.TestHelpersTestClockList
TestHelpersTestClockList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.