From 8da5797595155e64284fe30b4f9ab3435c3abd14 Mon Sep 17 00:00:00 2001 From: Jamie Talbot Date: Tue, 11 Sep 2018 15:51:50 -0400 Subject: [PATCH] Support expansion of products in plans --- plan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plan.go b/plan.go index 72bf2daa14..ddc327258a 100644 --- a/plan.go +++ b/plan.go @@ -80,7 +80,7 @@ type Plan struct { Livemode bool `json:"livemode"` Metadata map[string]string `json:"metadata"` Nickname string `json:"nickname"` - Product string `json:"product"` + Product *Product `json:"product"` Tiers []*PlanTier `json:"tiers"` TiersMode string `json:"tiers_mode"` TransformUsage *PlanTransformUsage `json:"transform_usage"`