Documentation
¶
Overview ¶
package coupon provides the /coupons APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params *CouponParams) (*Coupon, error)
Create POSTs new coupons. For more details see https://stripe.com/docs/api#create_coupon.
func Delete ¶
Delete removes a coupon. For more details see https://stripe.com/docs/api#delete_coupon.
func Get ¶
Get returns the details of a coupon. For more details see https://stripe.com/docs/api#retrieve_coupon.
func List ¶
func List(params *CouponListParams) *CouponIter
List returns a list of coupons. For more details see https://stripe.com/docs/api#list_coupons.
Types ¶
Click to show internal directories.
Click to hide internal directories.