transaction

package
v79.9.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package transaction provides the /gift_cards/transactions APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

Cancel a gift card transaction

func Confirm

Confirm a gift card transaction

func Get

Retrieves the gift card transaction.

func New

Create a gift card transaction

func Update

Update a gift card transaction

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /gift_cards/transactions APIs.

func (Client) Cancel

Cancel a gift card transaction

func (Client) Confirm

Confirm a gift card transaction

func (Client) Get

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

Create a gift card transaction

func (Client) Update

Update a gift card transaction

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for gift cards transactions.

func List

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL