|
1 | 1 | package datatype |
2 | 2 |
|
3 | 3 | 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"` |
16 | 17 | } |
17 | 18 |
|
18 | 19 | func (d *PurchasedProduct) GetProperty(key string) *Property { |
|
0 commit comments