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.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
- func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*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.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*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.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
Approve approves an issuing authorization.
func Decline ¶
func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*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.IssuingAuthorizationApproveParams) (*stripe.IssuingAuthorization, error)
Approve updates an issuing authorization.
func (Client) Decline ¶
func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*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.
func (*Iter) IssuingAuthorizationList ¶
func (i *Iter) IssuingAuthorizationList() *stripe.IssuingAuthorizationList
IssuingAuthorizationList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.