fix for quote and operations addition
This commit is contained in:
@@ -480,12 +480,9 @@ components:
|
||||
label:
|
||||
description: Human-readable operation label.
|
||||
type: string
|
||||
amount:
|
||||
description: Primary money amount associated with the operation.
|
||||
$ref: ../common/money.yaml#/components/schemas/Money
|
||||
convertedAmount:
|
||||
description: Secondary amount for conversion operations (for example FX convert output amount).
|
||||
$ref: ../common/money.yaml#/components/schemas/Money
|
||||
money:
|
||||
description: Planned and executed monetary snapshots for the operation.
|
||||
$ref: ./payment.yaml#/components/schemas/PaymentOperationMoney
|
||||
operationRef:
|
||||
description: External operation reference identifier reported by the gateway.
|
||||
type: string
|
||||
@@ -507,6 +504,30 @@ components:
|
||||
type: string
|
||||
format: date-time
|
||||
|
||||
PaymentOperationMoney:
|
||||
description: Planned and executed monetary snapshots associated with the operation.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
planned:
|
||||
description: Monetary values planned for the operation before execution.
|
||||
$ref: ./payment.yaml#/components/schemas/PaymentOperationMoneySnapshot
|
||||
executed:
|
||||
description: Monetary values observed after the operation was executed.
|
||||
$ref: ./payment.yaml#/components/schemas/PaymentOperationMoneySnapshot
|
||||
|
||||
PaymentOperationMoneySnapshot:
|
||||
description: Monetary snapshot containing base and converted amounts for an operation state.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
amount:
|
||||
description: Primary money amount associated with the operation snapshot.
|
||||
$ref: ../common/money.yaml#/components/schemas/Money
|
||||
convertedAmount:
|
||||
description: Secondary amount for conversion operations in the same snapshot.
|
||||
$ref: ../common/money.yaml#/components/schemas/Money
|
||||
|
||||
Payment:
|
||||
description: Persisted payment aggregate with status, quote, and operation history.
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user