Documentation ¶
Overview ¶
Package transaction provides the /gift_cards/transactions APIs
Index ¶
- func Cancel(id string, params *stripe.GiftCardsTransactionCancelParams) (*stripe.GiftCardsTransaction, error)
- func Confirm(id string, params *stripe.GiftCardsTransactionConfirmParams) (*stripe.GiftCardsTransaction, error)
- func Get(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- func New(params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- func Update(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.GiftCardsTransactionCancelParams) (*stripe.GiftCardsTransaction, error)
- func (c Client) Confirm(id string, params *stripe.GiftCardsTransactionConfirmParams) (*stripe.GiftCardsTransaction, error)
- func (c Client) Get(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- func (c Client) List(listParams *stripe.GiftCardsTransactionListParams) *Iter
- func (c Client) New(params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- func (c Client) Update(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
func Cancel(id string, params *stripe.GiftCardsTransactionCancelParams) (*stripe.GiftCardsTransaction, error)
Cancel a gift card transaction
func Confirm ¶
func Confirm(id string, params *stripe.GiftCardsTransactionConfirmParams) (*stripe.GiftCardsTransaction, error)
Confirm a gift card transaction
func Get ¶
func Get(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Retrieves the gift card transaction.
func New ¶
func New(params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Create a gift card transaction
func Update ¶
func Update(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Update a gift card transaction
Types ¶
type Client ¶
Client is used to invoke /gift_cards/transactions APIs.
func (Client) Cancel ¶
func (c Client) Cancel(id string, params *stripe.GiftCardsTransactionCancelParams) (*stripe.GiftCardsTransaction, error)
Cancel a gift card transaction
func (Client) Confirm ¶
func (c Client) Confirm(id string, params *stripe.GiftCardsTransactionConfirmParams) (*stripe.GiftCardsTransaction, error)
Confirm a gift card transaction
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Retrieves the gift card transaction.
func (Client) List ¶
func (c Client) List(listParams *stripe.GiftCardsTransactionListParams) *Iter
List gift card transactions for a gift card
func (Client) New ¶
func (c Client) New(params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Create a gift card transaction
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.GiftCardsTransactionParams) (*stripe.GiftCardsTransaction, error)
Update a gift card transaction
type Iter ¶
Iter is an iterator for gift cards transactions.
func List ¶
func List(params *stripe.GiftCardsTransactionListParams) *Iter
List gift card transactions for a gift card
func (*Iter) GiftCardsTransaction ¶
func (i *Iter) GiftCardsTransaction() *stripe.GiftCardsTransaction
GiftCardsTransaction returns the gift cards transaction which the iterator is currently pointing to.
func (*Iter) GiftCardsTransactionList ¶
func (i *Iter) GiftCardsTransactionList() *stripe.GiftCardsTransactionList
GiftCardsTransactionList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.