Documentation ¶
Overview ¶
Package quotephase provides the /quote_phases APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.QuotePhaseParams) (*stripe.QuotePhase, error)
Get returns the details of a quote phase.
Types ¶
type Client ¶
Client is used to invoke /quote_phases APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.QuotePhaseParams) (*stripe.QuotePhase, error)
Get returns the details of a quote phase.
func (Client) List ¶
func (c Client) List(listParams *stripe.QuotePhaseListParams) *Iter
List returns a list of quote phases.
func (Client) ListLineItems ¶
func (c Client) ListLineItems(listParams *stripe.QuotePhaseListLineItemsParams) *LineItemIter
ListLineItems is the method for the `GET /v1/quote_phases/{quote_phase}/line_items` API.
type Iter ¶
Iter is an iterator for quote phases.
func List ¶
func List(params *stripe.QuotePhaseListParams) *Iter
List returns a list of quote phases.
func (*Iter) QuotePhase ¶
func (i *Iter) QuotePhase() *stripe.QuotePhase
QuotePhase returns the quote phase which the iterator is currently pointing to.
func (*Iter) QuotePhaseList ¶
func (i *Iter) QuotePhaseList() *stripe.QuotePhaseList
QuotePhaseList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.
type LineItemIter ¶
LineItemIter is an iterator for line items.
func ListLineItems ¶
func ListLineItems(params *stripe.QuotePhaseListLineItemsParams) *LineItemIter
ListLineItems is the method for the `GET /v1/quote_phases/{quote_phase}/line_items` API.
func (*LineItemIter) LineItem ¶
func (i *LineItemIter) LineItem() *stripe.LineItem
LineItem returns the line item which the iterator is currently pointing to.
func (*LineItemIter) LineItemList ¶
func (i *LineItemIter) LineItemList() *stripe.LineItemList
LineItemList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.