Documentation ¶
Overview ¶
Package card provides API functions related to issuing cards.
For more details, see: https://stripe.com/docs/api/go#issuing_cards
Index ¶
- func Details(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCardDetails, error)
- func Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- type Client
- func (c Client) Details(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCardDetails, error)
- func (c Client) Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func (c Client) List(listParams *stripe.IssuingCardListParams) *Iter
- func (c Client) New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func (c Client) Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Details ¶
func Details(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCardDetails, error)
Details retrieves an issuing card details.
func Get ¶
func Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Get returns the details of an issuing card.
func New ¶
func New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
New creates a new issuing card.
func Update ¶
func Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Update updates an issuing card.
Types ¶
type Client ¶
Client is used to invoke /issuing/cards APIs.
func (Client) Details ¶
func (c Client) Details(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCardDetails, error)
Details retrieves an issuing card details.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Get returns the details of an issuing card.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingCardListParams) *Iter
List returns a list of issuing cards.
func (Client) New ¶
func (c Client) New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
New creates a new issuing card.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Update updates an issuing card.
type Iter ¶
Iter is an iterator for issuing cards.
func List ¶
func List(params *stripe.IssuingCardListParams) *Iter
List returns a list of issuing cards.
func (*Iter) IssuingCard ¶
func (i *Iter) IssuingCard() *stripe.IssuingCard
IssuingCard returns the issuing card which the iterator is currently pointing to.