Documentation ¶
Overview ¶
Package paymentmethoddomain provides the /payment_method_domains APIs
Index ¶
- func Get(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func New(params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func Update(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func Validate(id string, params *stripe.PaymentMethodDomainValidateParams) (*stripe.PaymentMethodDomain, error)
- type Client
- func (c Client) Get(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func (c Client) List(listParams *stripe.PaymentMethodDomainListParams) *Iter
- func (c Client) New(params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func (c Client) Update(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
- func (c Client) Validate(id string, params *stripe.PaymentMethodDomainValidateParams) (*stripe.PaymentMethodDomain, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
Get returns the details of a payment method domain.
func New ¶
func New(params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
New creates a new payment method domain.
func Update ¶
func Update(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
Update updates a payment method domain's properties.
func Validate ¶
func Validate(id string, params *stripe.PaymentMethodDomainValidateParams) (*stripe.PaymentMethodDomain, error)
Validate is the method for the `POST /v1/payment_method_domains/{payment_method_domain}/validate` API.
Types ¶
type Client ¶
Client is used to invoke /payment_method_domains APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
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 ¶
func (c Client) New(params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
New creates a new payment method domain.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.PaymentMethodDomainParams) (*stripe.PaymentMethodDomain, error)
Update updates a payment method domain's properties.
func (Client) Validate ¶
func (c Client) Validate(id string, params *stripe.PaymentMethodDomainValidateParams) (*stripe.PaymentMethodDomain, error)
Validate is the method for the `POST /v1/payment_method_domains/{payment_method_domain}/validate` API.
type Iter ¶
Iter is an iterator for payment method domains.
func List ¶
func List(params *stripe.PaymentMethodDomainListParams) *Iter
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.