Skip to content

Commit 0f72622

Browse files
MEF 123 Product Order - API spec Standard
1 parent c9c742c commit 0f72622

File tree

3 files changed

+52
-24
lines changed

3 files changed

+52
-24
lines changed

‎productApi/order/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Product Order Management: Release notes
22

3+
## Release Ella:
4+
5+
**Readiness status**: Requested Letter Ballot. It will be most likely published as a standard without further changes.
6+
7+
**Summary** - Only small updates introduced:
8+
9+
- 1 attribute added,
10+
- 1 attributes marked as required.
11+
12+
### List of changes in the API:
13+
14+
**productOrderManagement.yaml:**
15+
16+
- `CancelProductOrder`
17+
- `charge` - added
18+
- `MEFProductOrderCharge_Find`
19+
- marked as required:
20+
- `creationDate`
21+
22+
**productOrderNotification.yaml:**
23+
24+
None
25+
326
## Release Dolly:
427

528
**Readiness status**: Work in progress and is subject to change. Completed and

‎productApi/order/productOrderManagement.api.yaml

+26-18
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
openapi: 3.0.1
22
info:
33
description: |
4-
**This file forms part of MEF W123**
4+
**This file forms part of MEF 123**
55
6-
**This specification represents MEF work in progress and is subject to
7-
change.**
8-
9-
This API implements Business Requirements described in MEF W57.2
6+
This API implements Business Requirements described in MEF 57.2
107
118
Product Order Management allows the Buyer to request the Seller to initiate and complete the
129
fulfillment process of an installation of a Product Offering, an update to
@@ -38,9 +35,9 @@ info:
3835
which is licensed by the TM Forum under the Apache License version 2.0. Such
3936
content has been modified by the MEF Forum and its contributors.
4037
title: Product Ordering Management
41-
version: 9.0.0-RC
38+
version: 10.0.0
4239
servers:
43-
- url: 'https://{serverBase}/mefApi/sonata/productOrderingManagement/v9/'
40+
- url: 'https://{serverBase}/mefApi/sonata/productOrderingManagement/v10/'
4441
variables:
4542
serverBase:
4643
default: mef.net
@@ -1656,6 +1653,11 @@ components:
16561653
description: >-
16571654
Identifies the type of reason, Technical or Commercial, for the
16581655
Cancellation request
1656+
charge:
1657+
description:
1658+
The Charge Identifier of any charges that are related to the Cancel
1659+
Product Order.
1660+
$ref: '#/components/schemas/MEFProductOrderChargeRef'
16591661
href:
16601662
description: >
16611663
Hyperlink to the cancellation request. Hyperlink MAY be used by the
@@ -2073,7 +2075,7 @@ components:
20732075
notification is sent. E.g. for "callback":
20742076
"https://buyer.co/listenerEndpoint", the product order state change
20752077
event notification will be sent to:
2076-
`https://buyer.co/listenerEndpoint/mefApi/sonata/productOrderNotification/v9/listener/productOrderStateChangeEvent`
2078+
`https://buyer.co/listenerEndpoint/mefApi/sonata/productOrderNotification/v10/listener/productOrderStateChangeEvent`
20772079
type: string
20782080
query:
20792081
description: >-
@@ -2749,6 +2751,7 @@ components:
27492751
description: The state of the Charge
27502752
required:
27512753
- id
2754+
- creationDate
27522755
- responseDueDate
27532756
- state
27542757
type: object
@@ -2836,7 +2839,7 @@ components:
28362839
| State | MEF 57.2 Name | Description |
28372840
| ------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28382841
| `awaitingResponse` | AWAITING_RESPONSE | A Charge has been initiated by the Buyer. The charge includes one or more charges related to a Product Order or Product Order Item. Buyer has not indicated whether they accept or reject the charges via a Respond to Charge request. |
2839-
| `completed` | COMPLETED | All Charge Items included in the Charge for a given Product Order Item have moved to either the `acceptedByBuyer` state, the `declinedByBuyer` state, or the `withdrawnBySeller` state. |
2842+
| `completed` | COMPLETED | All Charge Items included in the Charge have moved to either the `acceptedByBuyer` state, the `declinedByBuyer` state, or the `withdrawnBySeller` state. |
28402843
| `timeout` | TIMEOUT | A Charge Item has been declined by the Buyer. The referenced Product Order and Product Order Items are updated. If a Blocking charge is declined, the Seller may cancel the referenced Product Order Item and any related Product Order Items, the related Cancel Product Order, or the related Modify Product Order Item Requested Delivery Date. |
28412844
| `withdrawnBySeller` | WITHDRAWN_BY_SELLER | The Seller determines that the Charge Item is incorrect. They withdraw the Charge Item and initiate a new Charge with the required correction(s) if needed. |
28422845
enum:
@@ -2870,7 +2873,7 @@ components:
28702873
- id
28712874
type: object
28722875
MEFProductOrderChargeRef:
2873-
description: a reference to a Charge instance
2876+
description: A reference to a Charge instance
28742877
properties:
28752878
href:
28762879
description: Hyperlink to access the Charge
@@ -2976,7 +2979,8 @@ components:
29762979
MEFProductOrderItem_Common:
29772980
description: >
29782981
An identified part of the order. A product order is decomposed into one
2979-
or more order items.
2982+
or more order items. This type hold the attributes common to request
2983+
and response representation of the Product Order Item.
29802984
properties:
29812985
action:
29822986
$ref: '#/components/schemas/MEFProductActionType'
@@ -3115,9 +3119,14 @@ components:
31153119
MEFProductOrderItem_Create:
31163120
allOf:
31173121
- $ref: '#/components/schemas/MEFProductOrderItem_Common'
3118-
- description: >
3122+
- description: |
31193123
An identified part of the order. A product order is decomposed into
3120-
one or more order items.
3124+
one or more order items.
3125+
The modelling pattern introduces the `Common` supertype to
3126+
aggregate attributes that are common to both `ProductOrderItem` and
3127+
`ProductOrderItem_Create`. The `Create` type has a subset of
3128+
attributes of the response type and does not introduce any new,
3129+
thus the `Create` type has an empty definition.
31213130
type: object
31223131
MEFProductOrderItem_Update:
31233132
description: |
@@ -3151,13 +3160,9 @@ components:
31513160
relatedContactInformation:
31523161
description: >-
31533162
Contact information of an individual or organization playing a role
3154-
for this Order Item. Buyer can modify, add, or delete only
3163+
for this Order Item. Buyer may modify, add, or delete only
31553164
Buyer-related contacts.
31563165
3157-
The rule for mapping a represented attribute
3158-
3159-
value to a `role` is to use the _lowerCamelCase_ pattern e.g.
3160-
31613166
- Buyer Product Order Item Contact:
31623167
`role=buyerProductOrderItemContact`
31633168
@@ -3539,6 +3544,9 @@ components:
35393544
description:
35403545
The Charges associated to this Product Order Item. This list
35413546
contains all completed Charges containing accepted Charge Items
3547+
initiated by the Seller. Any Charge that is withdrawn or
3548+
containing all declined Charge Items must not be included in
3549+
this list.
35423550
items:
35433551
$ref: '#/components/schemas/MEFProductOrderChargeRef'
35443552
type: array

‎productApi/order/productOrderNotification.api.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
openapi: 3.0.1
22
info:
33
description: |
4-
**This file forms part of MEF W123**
5-
6-
**This specification represents MEF work in progress and is subject to
7-
change.**
4+
**This file forms part of MEF 123**
85
96
This API implements Business Requirements described in MEF W57.2
107
@@ -23,9 +20,9 @@ info:
2320
which is licensed by the TM Forum under the Apache License version 2.0. Such
2421
content has been modified by the MEF Forum and its contributors.
2522
title: Product Ordering Notification
26-
version: 9.0.0-RC
23+
version: 10.0.0
2724
servers:
28-
- url: 'https://{serverBase}/mefApi/sonata/productOrderingNotification/v9/'
25+
- url: 'https://{serverBase}/mefApi/sonata/productOrderingNotification/v10/'
2926
variables:
3027
serverBase:
3128
default: mef.net

0 commit comments

Comments
 (0)