paymentmethoddomain

package
v76.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package paymentmethoddomain provides the /payment_method_domains APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a payment method domain.

func New

New creates a new payment method domain.

func Update

Update updates a payment method domain's properties.

func Validate

Validate is the method for the `POST /v1/payment_method_domains/{payment_method_domain}/validate` API.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /payment_method_domains APIs.

func (Client) Get

Get returns the details of a payment method domain.

func (Client) List

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

List returns a list of payment method domains.

func (Client) New

New creates a new payment method domain.

func (Client) Update

Update updates a payment method domain's properties.

func (Client) Validate

Validate is the method for the `POST /v1/payment_method_domains/{payment_method_domain}/validate` API.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for payment method domains.

func List

List returns a list of payment method domains.

func (*Iter) PaymentMethodDomain

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

PaymentMethodDomain returns the payment method domain which the iterator is currently pointing to.

func (*Iter) PaymentMethodDomainList

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

PaymentMethodDomainList 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