Documentation ¶
Index ¶
- func Delete(id string) error
- func Get(id string, params *stripe.SKUParams) (*stripe.SKU, error)
- func New(params *stripe.SKUParams) (*stripe.SKU, error)
- func Update(id string, params *stripe.SKUParams) (*stripe.SKU, error)
- type Client
- func (c Client) Delete(id string) error
- func (c Client) Get(id string, params *stripe.SKUParams) (*stripe.SKU, error)
- func (c Client) List(params *stripe.SKUListParams) *Iter
- func (c Client) New(params *stripe.SKUParams) (*stripe.SKU, error)
- func (c Client) Update(id string, params *stripe.SKUParams) (*stripe.SKU, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶ added in v11.1.0
Delete destroys a SKU. For more details see https://stripe.com/docs/api#delete_sku.
func Get ¶
Get returns the details of an sku For more details see https://stripe.com/docs/api#retrieve_sku.
func New ¶
New POSTs a new SKU. For more details see https://stripe.com/docs/api#create_sku.
Types ¶
type Client ¶
Client is used to invoke /skus APIs.
func (Client) Delete ¶ added in v11.1.0
Delete destroys a SKU. For more details see https://stripe.com/docs/api#delete_sku.
func (Client) New ¶
New POSTs a new SKU. For more details see https://stripe.com/docs/api#create_sku.
type Iter ¶
Iter is an iterator for lists of SKUs. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.SKUListParams) *Iter
List returns a list of skus. For more details see https://stripe.com/docs/api#list_skus