Model.proto (Paritech.OMS2.Model)
Model objects used by the APIs
Messages
Section titled “Messages”AssetTransferRequest
Section titled “AssetTransferRequest”Describes a request to record a transfer of assets
| No | Field | Type | Label | Description |
|---|---|---|---|---|
| 1 | Transaction | TransactionDetails | The common transaction details | |
| 10 | Transfer | AssetTransfer | The transfer-specific details |
AuditRecord
Section titled “AuditRecord”Represents the details of an update
| No | Field | Type | Label | Description |
|---|---|---|---|---|
| 1 | Sequence | string | The sequence the Update belongs to | |
| 2 | ID | int64 | The sequence position the Update occurred at | |
| 9 | Timestamp | TimestampWithTimeZone | The timestamp when the Update was created | |
| 10 | Update | UpdateEvent | The body of the update |
CashSettlementRecord
Section titled “CashSettlementRecord”Describes a cash settlement operation
| No | Field | Type | Label | Description |
|---|---|---|---|---|
| 1 | Owner | string | The owner of the account to settle | |
| 2 | Account | string | The identifer of the account to settle | |
| 3 | Currency | string | The currency of the amount to settle | |
| 10 | ExpectedBalance | BigNumber | optional | The expected balance when settlement occurs. Settlement will fail if this does not match. Omit to always settle. |
| 11 | Settle | BigNumber | The amount to settle |
CashTransferRequest
Section titled “CashTransferRequest”Describes a request to record a transfer cash
| No | Field | Type | Label | Description |
|---|---|---|---|---|
| 1 | Transaction | TransactionDetails | The common transaction details | |
| 10 | Transfer | CashTransfer | The transfer-specific details |
TransformRequest
Section titled “TransformRequest”Describes information about a transformation
| No | Field | Type | Label | Description |
|---|---|---|---|---|
| 1 | TransformID | string | A unique identifier for the transformation | |
| 10 | Comments | string | Any comments to record against the transformation |