secret

package
v76.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package secret provides the /apps/secrets APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteWhere

func DeleteWhere(params *stripe.AppsSecretDeleteWhereParams) (*stripe.AppsSecret, error)

DeleteWhere is the method for the `POST /v1/apps/secrets/delete` API.

func Find

Find is the method for the `GET /v1/apps/secrets/find` API.

func New

New creates a new apps secret.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /apps/secrets APIs.

func (Client) DeleteWhere

func (c Client) DeleteWhere(params *stripe.AppsSecretDeleteWhereParams) (*stripe.AppsSecret, error)

DeleteWhere is the method for the `POST /v1/apps/secrets/delete` API.

func (Client) Find

Find is the method for the `GET /v1/apps/secrets/find` API.

func (Client) List

func (c Client) List(listParams *stripe.AppsSecretListParams) *Iter

List returns a list of apps secrets.

func (Client) New

func (c Client) New(params *stripe.AppsSecretParams) (*stripe.AppsSecret, error)

New creates a new apps secret.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for apps secrets.

func List

func List(params *stripe.AppsSecretListParams) *Iter

List returns a list of apps secrets.

func (*Iter) AppsSecret

func (i *Iter) AppsSecret() *stripe.AppsSecret

AppsSecret returns the apps secret which the iterator is currently pointing to.

func (*Iter) AppsSecretList

func (i *Iter) AppsSecretList() *stripe.AppsSecretList

AppsSecretList 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