package stripe

// DiscountParams is the set of parameters that can be used when deleting a discount.
type DiscountParams struct {
	Params
}

// Discount is the resource representing a Stripe discount.
// For more details see https://stripe.com/docs/api#discounts.
type Discount struct {
	Coupon   *Coupon `json:"coupon"`
	Customer string  `json:"customer"`
	Start    int64   `json:"start"`
	End      int64   `json:"end"`
	Sub      string  `json:"subscription"`
	Deleted  bool    `json:"deleted"`
}

package stripe

// DiscountParams is the set of parameters that can be used when deleting a discount.
type DiscountParams struct {
  Params
}

// Discount is the resource representing a Stripe discount.
// For more details see https://stripe.com/docs/api#discounts.
type Discount struct {
	Coupon   *Coupon `json:"coupon"`
	Customer string  `json:"customer"`
	Start    int64   `json:"start"`
	End      int64   `json:"end"`
	Sub      string  `json:"subscription"`
	Deleted  bool    `json:"deleted"`
}


--- 
+++ 
@@ -2,7 +2,7 @@
 
 // DiscountParams is the set of parameters that can be used when deleting a discount.
 type DiscountParams struct {
-  Params
+	Params
 }
 
 // Discount is the resource representing a Stripe discount.
@@ -15,4 +15,3 @@
 	Sub      string  `json:"subscription"`
 	Deleted  bool    `json:"deleted"`
 }
-
Fix go fmt errors on new type
