Documentation ¶
Overview ¶
Package productfeature provides the /products/{product}/features APIs
Index ¶
- func Del(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- func Get(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- func New(params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- type Client
- func (c Client) Del(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- func (c Client) Get(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- func (c Client) List(listParams *stripe.ProductFeatureListParams) *Iter
- func (c Client) New(params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Deletes the feature attachment to a product
func Get ¶
func Get(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Retrieves a product_feature, which represents a feature attachment to a product
func New ¶
func New(params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Creates a product_feature, which represents a feature attachment to a product
Types ¶
type Client ¶
Client is used to invoke /products/{product}/features APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Deletes the feature attachment to a product
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Retrieves a product_feature, which represents a feature attachment to a product
func (Client) List ¶
func (c Client) List(listParams *stripe.ProductFeatureListParams) *Iter
Retrieve a list of features for a product
func (Client) New ¶
func (c Client) New(params *stripe.ProductFeatureParams) (*stripe.ProductFeature, error)
Creates a product_feature, which represents a feature attachment to a product
type Iter ¶
Iter is an iterator for product features.
func List ¶
func List(params *stripe.ProductFeatureListParams) *Iter
Retrieve a list of features for a product
func (*Iter) ProductFeature ¶
func (i *Iter) ProductFeature() *stripe.ProductFeature
ProductFeature returns the product feature which the iterator is currently pointing to.
func (*Iter) ProductFeatureList ¶
func (i *Iter) ProductFeatureList() *stripe.ProductFeatureList
ProductFeatureList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.