applepaydomain

package
v72.35.0-capchase.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package applepaydomain provides the /apple_pay/domains APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes an Apple Pay domain.

func Get

Get retrieves an Apple Pay domain.

func New

New creates a new Apple Pay domain.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /apple_pay/domains and Apple Pay domain-related APIs.

func (Client) Del

Del removes an Apple Pay domain.

func (Client) Get

Get retrieves an Apple Pay domain.

func (Client) List

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

List lists available Apple Pay domains.

func (Client) New

New creates a new Apple Pay domain.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for Apple Pay domains.

func List

func List(params *stripe.ApplePayDomainListParams) *Iter

List lists available Apple Pay domains.

func (*Iter) ApplePayDomain

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

ApplePayDomain returns the Apple Pay domain which the iterator is currently pointing to.

func (*Iter) ApplePayDomainList

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

ApplePayDomainList 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