Skip to content

Commit 74fa367

Browse files
committed
productManagerCode
1 parent e6f11a8 commit 74fa367

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

datatype/purchase.go

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
package datatype
22

33
type PurchasedProduct struct {
4-
ProductType string `json:"productType"`
5-
StartTimestamp int64 `json:"startTimestamp"`
6-
RenewTimestamp int64 `json:"renewTimestamp"`
7-
EndTimestamp int64 `json:"endTimestamp"`
8-
Cycle string `json:"cycle"`
9-
PurchaseFid string `json:"purchaseFid"`
10-
ProductFid string `json:"productFid"`
11-
ProductSku string `json:"productSku"`
12-
PriceFid string `json:"priceFid"`
13-
Properties []Property `json:"properties"`
14-
LicenceKey string `json:"licenceKey"`
15-
Identity string `json:"identity"`
4+
ProductType string `json:"productType"` // Product Manager product type
5+
ProductManagerCode string `json:"productManagerCode"` // Product Manager code - built in Fortifi name or FID of custom
6+
StartTimestamp int64 `json:"startTimestamp"` // Timestamp of the service start date
7+
RenewTimestamp int64 `json:"renewTimestamp"` // (optional) Timestamp of next renewal
8+
EndTimestamp int64 `json:"endTimestamp"` // optional) Timestamp of when the service should end
9+
Cycle string `json:"cycle"`
10+
PurchaseFid string `json:"purchaseFid"`
11+
ProductFid string `json:"productFid"`
12+
ProductSku string `json:"productSku"`
13+
PriceFid string `json:"priceFid"`
14+
Properties []Property `json:"properties"`
15+
LicenceKey string `json:"licenceKey"`
16+
Identity string `json:"identity"`
1617
}
1718

1819
func (d *PurchasedProduct) GetProperty(key string) *Property {

0 commit comments

Comments
 (0)