Defines the strategies for the KeySSI's for each DSU Type
Methods
# static createBatchSSI(data, domain) → {ArraySSI}
Defines how to create the keyssi for a batch dsu
.Defines how to create the keyssi for a batch dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
ArraySSI
# static createIndividualProductSSI(data, domain) → {ArraySSI}
Defines how to create the keyssi for a Product dsu
.Defines how to create the keyssi for a Product dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
ArraySSI
# static createOrderLineSSI(data, domain) → {ArraySSI}
Defines how to create the keyssi for an orderLine dsu
.Defines how to create the keyssi for an orderLine dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
ArraySSI
# static createOrderSSI(data, domain) → {ArraySSI}
Defines how to create the keyssi for an Order dsu
.Defines how to create the keyssi for an Order dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
ArraySSI
# static createParticipantSSI(participant, domain:) → {SeedSSI}
Creates a seedSSI meant to contain participant 'participant' data.
Creates a seedSSI meant to contain participant 'participant' data. could be used as an identity
Parameters:
| Name | Type | Description |
|---|---|---|
participant |
Participant
|
|
domain: |
string
|
anchoring domain |
(template)
SeedSSI
# static createProductSSI(data, domain) → {ArraySSI}
Defines how to create the keyssi for a Product dsu
.Defines how to create the keyssi for a Product dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
ArraySSI
# static createSaleSSI(data, domain)
Defines how to create the keyssi for a Receipt dsu
.Defines how to create the keyssi for a Receipt dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
# static createShipmentCodeSSI(data, domain)
Defines how to create the keyssi for a ShipmentLine dsu
.Defines how to create the keyssi for a ShipmentLine dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
# static createShipmentLineSSI(data, domain)
Defines how to create the keyssi for a ShipmentLine dsu
.Defines how to create the keyssi for a ShipmentLine dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
# static createShipmentSSI(data, domain)
Defines how to create the keyssi for a Shipment dsu
.Defines how to create the keyssi for a Shipment dsu
Parameters:
| Name | Type | Description |
|---|---|---|
data |
object
|
necessary properties:
|
domain |
string
|
the anchoring domain |
# static createStatusSSI(domain)
Defines how to create the keyssi for a orderLine dsu
.Defines how to create the keyssi for a orderLine dsu
Parameters:
| Name | Type | Description |
|---|---|---|
status. |
OrderStatus
|
ShipmentStatus
|
if status has the properties:
|
domain |
string
|
the anchoring domain |