Documentation ¶
Overview ¶
Package authorization provides the /issuing/authorizations APIs
Index ¶
- func Capture(id string, params *stripe.TestHelpersIssuingAuthorizationCaptureParams) (*stripe.IssuingAuthorization, error)
- func Expire(id string, params *stripe.TestHelpersIssuingAuthorizationExpireParams) (*stripe.IssuingAuthorization, error)
- func Increment(id string, params *stripe.TestHelpersIssuingAuthorizationIncrementParams) (*stripe.IssuingAuthorization, error)
- func New(params *stripe.TestHelpersIssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func Reverse(id string, params *stripe.TestHelpersIssuingAuthorizationReverseParams) (*stripe.IssuingAuthorization, error)
- type Client
- func (c Client) Capture(id string, params *stripe.TestHelpersIssuingAuthorizationCaptureParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Expire(id string, params *stripe.TestHelpersIssuingAuthorizationExpireParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Increment(id string, params *stripe.TestHelpersIssuingAuthorizationIncrementParams) (*stripe.IssuingAuthorization, error)
- func (c Client) New(params *stripe.TestHelpersIssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
- func (c Client) Reverse(id string, params *stripe.TestHelpersIssuingAuthorizationReverseParams) (*stripe.IssuingAuthorization, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capture ¶
func Capture(id string, params *stripe.TestHelpersIssuingAuthorizationCaptureParams) (*stripe.IssuingAuthorization, error)
Capture is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/capture` API.
func Expire ¶
func Expire(id string, params *stripe.TestHelpersIssuingAuthorizationExpireParams) (*stripe.IssuingAuthorization, error)
Expire is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/expire` API.
func Increment ¶
func Increment(id string, params *stripe.TestHelpersIssuingAuthorizationIncrementParams) (*stripe.IssuingAuthorization, error)
Increment is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/increment` API.
func New ¶
func New(params *stripe.TestHelpersIssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
New creates a new issuing authorization.
func Reverse ¶
func Reverse(id string, params *stripe.TestHelpersIssuingAuthorizationReverseParams) (*stripe.IssuingAuthorization, error)
Reverse is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/reverse` API.
Types ¶
type Client ¶
Client is used to invoke /issuing/authorizations APIs.
func (Client) Capture ¶
func (c Client) Capture(id string, params *stripe.TestHelpersIssuingAuthorizationCaptureParams) (*stripe.IssuingAuthorization, error)
Capture is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/capture` API.
func (Client) Expire ¶
func (c Client) Expire(id string, params *stripe.TestHelpersIssuingAuthorizationExpireParams) (*stripe.IssuingAuthorization, error)
Expire is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/expire` API.
func (Client) Increment ¶
func (c Client) Increment(id string, params *stripe.TestHelpersIssuingAuthorizationIncrementParams) (*stripe.IssuingAuthorization, error)
Increment is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/increment` API.
func (Client) New ¶
func (c Client) New(params *stripe.TestHelpersIssuingAuthorizationParams) (*stripe.IssuingAuthorization, error)
New creates a new issuing authorization.
func (Client) Reverse ¶
func (c Client) Reverse(id string, params *stripe.TestHelpersIssuingAuthorizationReverseParams) (*stripe.IssuingAuthorization, error)
Reverse is the method for the `POST /v1/test_helpers/issuing/authorizations/{authorization}/reverse` API.