Documentation ¶
Overview ¶
Package authorization provides API functions related to issuing authorizations.
For more details, see: https://stripe.com/docs/api/go#issuing_authorizations
Index ¶
- func Approve(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func Decline(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- type Client
- func (c Client) Approve(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Decline(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func (c Client) List(listParams *stripe.IssuingAuthorizationListParams) *Iter
- func (c Client) Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Approve ¶
func Approve(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Approve approves an issuing authorization.
func Decline ¶
func Decline(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Decline decline an issuing authorization.
func Get ¶
func Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Get returns the details of an issuing authorization.
func Update ¶
func Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Update updates an issuing authorization.
Types ¶
type Client ¶
Client is used to invoke /issuing/authorizations APIs.
func (Client) Approve ¶
func (c Client) Approve(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Approve updates an issuing authorization.
func (Client) Decline ¶
func (c Client) Decline(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Decline updates an issuing authorization.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Get returns the details of an issuing authorization.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingAuthorizationListParams) *Iter
List returns a list of issuing authorizations.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
Update updates an issuing authorization.
type Iter ¶
Iter is an iterator for issuing authorizations.
func List ¶
func List(params *stripe.IssuingAuthorizationListParams) *Iter
List returns a list of issuing authorizations.
func (*Iter) IssuingAuthorization ¶
func (i *Iter) IssuingAuthorization() *stripe.IssuingAuthorization
IssuingAuthorization returns the issuing authorization which the iterator is currently pointing to.