testclock

package
v72.116.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testclock provides the /test_helpers/test_clocks APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Advance

Advance is the method for the `POST /v1/test_helpers/test_clocks/{test_clock}/advance` API.

func Del

Del removes a test helpers test clock.

func Get

Get returns the details of a test helpers test clock.

func New

New creates a new test helpers test clock.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /test_helpers/test_clocks APIs.

func (Client) Advance

Advance is the method for the `POST /v1/test_helpers/test_clocks/{test_clock}/advance` API.

func (Client) Del

Del removes a test helpers test clock.

func (Client) Get

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

New creates a new test helpers test clock.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for test helpers test clocks.

func List

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL