mirror of
https://github.com/valitydev/swag-dark-api.git
synced 2024-11-06 10:55:16 +00:00
commit
343fcc3be2
13
spec/definitions/CustomerPayer.yaml
Normal file
13
spec/definitions/CustomerPayer.yaml
Normal 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
|
12
spec/definitions/PaymentRecurrentParent.yaml
Normal file
12
spec/definitions/PaymentRecurrentParent.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
type: object
|
||||
description: Родительский платеж, на основе которого создан текущий рекуррентный платеж
|
||||
required:
|
||||
- invoiceID
|
||||
- paymentID
|
||||
properties:
|
||||
invoiceID:
|
||||
description: Идентификатор инвойса
|
||||
type: string
|
||||
paymentID:
|
||||
description: Идентификатор платежа
|
||||
type: string
|
13
spec/definitions/RecurrentPayer.yaml
Normal file
13
spec/definitions/RecurrentPayer.yaml
Normal 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'
|
Loading…
Reference in New Issue
Block a user