quotepreviewinvoice

package
v81.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package quotepreviewinvoice provides the /quotes/{quote}/preview_invoices APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /quotes/{quote}/preview_invoices APIs.

func (Client) List

func (c Client) List(listParams *stripe.QuotePreviewInvoiceListParams) *Iter

Preview the invoices that would be generated by accepting the quote.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for quote preview invoices.

func List

Preview the invoices that would be generated by accepting the quote.

func (*Iter) QuotePreviewInvoice

func (i *Iter) QuotePreviewInvoice() *stripe.QuotePreviewInvoice

QuotePreviewInvoice returns the quote preview invoice which the iterator is currently pointing to.

func (*Iter) QuotePreviewInvoiceList

func (i *Iter) QuotePreviewInvoiceList() *stripe.QuotePreviewInvoiceList

QuotePreviewInvoiceList 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