Documentation ¶
Overview ¶
Package authorization provides the /issuing/authorizations APIs
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 is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.
func Decline ¶
func Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.
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's properties.
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 is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.
func (Client) Decline ¶
func (c Client) Decline(id string, params *stripe.IssuingAuthorizationDeclineParams) (*stripe.IssuingAuthorization, error)
Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.
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's properties.
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.