Added payers

This commit is contained in:
n.pospolita 2019-05-28 18:39:32 +03:00
parent 67d8ed8147
commit 14a8892ee7
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
type: object
description: Многоразовое платежное средство
allOf:
- $ref: '#/definitions/Payer'
- type: object
required:
- customerID
properties:
customerID:
description: Идентификатор плательщика
type: string
maxLength: 40
minLength: 1

View File

@ -0,0 +1,13 @@
type: object
description: Многоразовое платежное средство на основе другого платежа
allOf:
- $ref: '#/definitions/Payer'
- type: object
required:
- contactInfo
- recurrentParentPayment
properties:
contactInfo:
$ref: '#/definitions/ContactInfo'
recurrentParentPayment:
$ref: '#/definitions/PaymentRecurrentParent'