From 515e362858de40fab90fca8b609ea7e3f97e6c82 Mon Sep 17 00:00:00 2001 From: Piyush Harsh Date: Wed, 30 Oct 2019 14:55:08 +0100 Subject: [PATCH] updated product to include resourceid and description fields --- types.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/types.go b/types.go index 1d9d7c4..11fd848 100644 --- a/types.go +++ b/types.go @@ -8,14 +8,16 @@ package types type Product struct { - ProductId string `json:"productId"` - CustomerId string `json:"customerId"` - Name string `json:"name"` - Type string `json:"type"` - Discount string `json:"discount"` - CancelDate string `json:"cancelDate"` - Billable string `json:"billable"` - ApiLink string `json:"apiLink"` + ProductId string `json:"productId"` + ResourceId string `json:"resourceId"` + CustomerId string `json:"customerId"` + Name string `json:"name"` + Type string `json:"type"` + Discount string `json:"discount"` + CancelDate string `json:"cancelDate"` + Billable string `json:"billable"` + Description string `json:"description"` + ApiLink string `json:"apiLink"` } type OSProjectObject struct {