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)
Updates the shipping status of the specified Issuing Card object to delivered.
func FailCard ¶
func FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to failure.
func ReturnCard ¶
func ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to returned.
func ShipCard ¶
func ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to shipped.
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)
Updates the shipping status of the specified Issuing Card object to delivered.
func (Client) FailCard ¶
func (c Client) FailCard(id string, params *stripe.TestHelpersIssuingCardFailCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to failure.
func (Client) ReturnCard ¶
func (c Client) ReturnCard(id string, params *stripe.TestHelpersIssuingCardReturnCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to returned.
func (Client) ShipCard ¶
func (c Client) ShipCard(id string, params *stripe.TestHelpersIssuingCardShipCardParams) (*stripe.IssuingCard, error)
Updates the shipping status of the specified Issuing Card object to shipped.