Documentation ¶
Overview ¶
Package card provides the /issuing/cards APIs
Index ¶
- func DeliverCard(id string, params *stripe.TestHelpersIssuingCardDeliverCardParams) (*stripe.IssuingCard, error)
- func FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
- func ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
- func ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
- type Client
- func (c Client) DeliverCard(id string, params *stripe.TestHelpersIssuingCardDeliverCardParams) (*stripe.IssuingCard, error)
- func (c Client) FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
- func (c Client) ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
- func (c Client) ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeliverCard ¶
func DeliverCard(id string, params *stripe.TestHelpersIssuingCardDeliverCardParams) (*stripe.IssuingCard, error)
DeliverCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/deliver` API.
func FailCard ¶
func FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
FailCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/fail` API.
func ReturnCard ¶
func ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
ReturnCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/return` API.
func ShipCard ¶
func ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
ShipCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/ship` API.
Types ¶
type Client ¶
Client is used to invoke /issuing/cards APIs.
func (Client) DeliverCard ¶
func (c Client) DeliverCard(id string, params *stripe.TestHelpersIssuingCardDeliverCardParams) (*stripe.IssuingCard, error)
DeliverCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/deliver` API.
func (Client) FailCard ¶
func (c Client) FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
FailCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/fail` API.
func (Client) ReturnCard ¶
func (c Client) ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
ReturnCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/return` API.
func (Client) ShipCard ¶
func (c Client) ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
ShipCard is the method for the `POST /v1/test_helpers/issuing/cards/{card}/shipping/ship` API.