http://maasglobal.com/maas-backend/subscriptions/pricing.json
MaaS pricing schema
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Develop | No | Forbidden | Forbidden | maas-backend/subscriptions/pricing.json |
http://maasglobal.com/maas-backend/subscriptions/pricing.json
http://maasglobal.com/core/components/cost.json
Property | Type | Group |
---|---|---|
description | string |
http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/discount |
discount | cost | http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/discount |
id | subscriptionItemId | http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/lineItem |
quantity | integer |
http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/lineItem |
type | string |
http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/lineItem |
unitPrice | cost | http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/lineItem |
validity | object |
http://maasglobal.com/maas-backend/subscriptions/pricing.json#/definitions/terms |
description
string
string
Price of one unit after all taxes & discounts
discount
http://maasglobal.com/core/components/cost.json
id
http://maasglobal.com/maas-backend/subscriptions/subscription.json#/definitions/subscriptionItemId
quantity
integer
0
integer
0
100000
type
string
string
Price of one unit after all taxes & discounts
unitPrice
http://maasglobal.com/core/components/cost.json
Subscription validity conditions
validity
object
object
with following properties:
Property | Type | Required |
---|---|---|
endTime |
Required | |
startTime |
Required |
endTime
http://maasglobal.com/core/components/units.json#/definitions/time
startTime
http://maasglobal.com/core/components/units.json#/definitions/time
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
discounts | discount | Optional | No | pricing (this schema) |
lineItems | lineItem | Required | No | pricing (this schema) |
terms | object |
Optional | No | pricing (this schema) |
total | cost | Required | No | pricing (this schema) |
discounts
Array type: discount
All items must be of the type:
#/definitions/discount
lineItems
Array type: lineItem
All items must be of the type:
#/definitions/lineItem
Terms related to this subscription
terms
object
object
with following properties:
Property | Type | Required |
---|---|---|
validity |
object | Required |
Subscription validity conditions
validity
object
object
with following properties:
Property | Type | Required |
---|---|---|
endTime |
Required | |
startTime |
Required |
endTime
http://maasglobal.com/core/components/units.json#/definitions/time
startTime
http://maasglobal.com/core/components/units.json#/definitions/time
Sum of the quantity * unitPrice - sum of discounts
total
http://maasglobal.com/core/components/cost.json