Documentation ¶
Overview ¶
Package margin provides the /billing/margins APIs
Index ¶
- func Get(id string, params *stripe.MarginParams) (*stripe.Margin, error)
- func New(params *stripe.MarginParams) (*stripe.Margin, error)
- func Update(id string, params *stripe.MarginParams) (*stripe.Margin, error)
- type Client
- func (c Client) Get(id string, params *stripe.MarginParams) (*stripe.Margin, error)
- func (c Client) List(listParams *stripe.MarginListParams) *Iter
- func (c Client) New(params *stripe.MarginParams) (*stripe.Margin, error)
- func (c Client) Update(id string, params *stripe.MarginParams) (*stripe.Margin, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client is used to invoke /billing/margins APIs.
func (Client) List ¶
func (c Client) List(listParams *stripe.MarginListParams) *Iter
List returns a list of margins.
type Iter ¶
Iter is an iterator for margins.
func (*Iter) MarginList ¶
func (i *Iter) MarginList() *stripe.MarginList
MarginList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.
Click to show internal directories.
Click to hide internal directories.