mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-07 01:55:22 +00:00
f1d58765f6
* DC-51: penetrate invoice cart into invoice template (#107) * CAPI-180: add currency to multiline invoice template (#128) * CAPI-180: move product to appropriate location (#130)
22 lines
779 B
YAML
22 lines
779 B
YAML
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/InvoiceTemplateLineCost'
|
|
- type: object
|
|
required:
|
|
- currency
|
|
- amount
|
|
properties:
|
|
currency:
|
|
description: |
|
|
Валюта, символьный код согласно
|
|
[ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
type: string
|
|
pattern: '^[A-Z]{3}$'
|
|
amount:
|
|
description: |
|
|
Стоимость предлагаемых товаров или услуг, в минорных денежных единицах,
|
|
например в копейках в случае указания российских рублей в качестве валюты.
|
|
type: integer
|
|
format: int64
|
|
minimum: 1
|