-
Notifications
You must be signed in to change notification settings - Fork 4
/
moneytransfer.yaml
67 lines (67 loc) · 2.41 KB
/
moneytransfer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
MoneyTransfer:
description: |
Money transfer to/from an account within the Transaction.
Accounts are often used to enable a business process
across multiple transactions. For example, a payment can be
performed in one transaction and captured in an account and
later money from that account can be used to pay for the items
in another transaction. The concept of account is important
to enable omni-channel capabilities.
type: object
properties:
transferID:
description: |
A unique identifier of the transafer.
type: string
transferName:
description: |
Money transfer name.
type: string
accountID:
description: |
Globaly unique account identifier.
This identifer does not have to be meaningful.
It could GUID
type: string
accountNumber:
description: |
Meaningful account identifier.
Account number is used in user interface and can
be printed on documents.
type: string
amount:
description: |
Transfer amount.
$ref: "common.yaml#/MonetaryAmount"
customerOrderID:
description: |
Globaly unique identifier for Customer Order.
It is used when money is transfered to/from implicit account
associated with a Customer Order
type: string
customerOrderNumber:
description: |
Customer Order number.
It is used when money is transfered to/from implicit account
associated with a Customer Order
type: string
customerOrderChangeRequestID:
description: |
Globaly unique identifier for Customer Order change request.
It is used when money is transfered is associated with a
Customer Order change request.
type: string
customerOrderChangeRequestNumber:
description: |
Customer Order change request number.
It is used when money is transfered is associated with a
Customer Order change request.
type: string
alternativeOrderID:
description: |
An alternative global unique identifier for the Customer Order.
It could be an identifier from the third party system that is
used for mapping or just an alternative way to identify the order
such as order creation request ID.
type: string
additionalProperties: false