Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: added payment method details model #366

Merged
merged 1 commit into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions models/schemas/PaymentMethod.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: object
title: PaymentMethod
properties:
id:
type: integer
Expand All @@ -24,14 +25,7 @@ properties:
nullable: true
description: Method details rows
items:
type: object
properties:
title:
type: string
description: Details title.
description:
type: string
description: Details description.
$ref: ./PaymentMethodDetails.yaml
bank_iban:
type: string
description: Bank iban
Expand All @@ -48,4 +42,3 @@ properties:
type: string
description: E-invoice payment method
nullable: true
title: PaymentMethod
11 changes: 11 additions & 0 deletions models/schemas/PaymentMethodDetails.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: PaymentMethodDetails
type: object
properties:
title:
type: string
description: Details title.
nullable: true
description:
type: string
description: Details description.
nullable: true