Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the details of an product For more details see https://stripe.com/docs/api#retrieve_product.
func New ¶
func New(params *stripe.ProductParams) (*stripe.Product, error)
New POSTs a new product. For more details see https://stripe.com/docs/api#create_product.
func Update ¶
Update updates a product's properties. For more details see https://stripe.com/docs/api#update_product.
Types ¶
type Client ¶
Client is used to invoke /products APIs.
func (Client) New ¶
New POSTs a new product. For more details see https://stripe.com/docs/api#create_product.
func (Client) Update ¶
Update updates a product's properties. For more details see https://stripe.com/docs/api#update_product.
type Iter ¶
Iter is an iterator for lists of Products. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.ProductListParams) *Iter
List returns a list of products. For more details see https://stripe.com/docs/api#list_products