1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/test/fixtures/plans.yml
Sylvain bc6ef8ef50 WIP: move backend code base to new architecture
- from stripe only to payment gateway abstract
- from reservation params style to unified cart_items

TODO: fix not passing tests,
subscriptions/renew_as_admin_test.rb fails because InvoiceItem(9).amount = nil
2021-04-23 17:54:59 +02:00

75 lines
1.7 KiB
YAML

plan_1:
id: 1
name: Mensuel - standard, association - month
amount: 3000
interval: month
group_id: 1
stp_plan_id: mensuel-standard-month-20160404171519
created_at: 2001-01-01 15:15:19.860064000 Z
updated_at: 2001-01-01 15:19:28.367161000 Z
training_credit_nb: 1
is_rolling:
description:
type: Plan
base_name: Mensuel
ui_weight: 1
interval_count: 1
slug: mensuel
plan_2:
id: 2
name: Sleede - standard, association - month
amount: 10000
interval: month
group_id: 1
stp_plan_id: nicolas-standard-month-20160404171724
created_at: 2016-04-04 15:17:24.026385000 Z
updated_at: 2016-04-04 15:19:39.357636000 Z
training_credit_nb: 2
is_rolling:
description:
type: PartnerPlan
base_name: Sleede
ui_weight: 5
interval_count: 2
slug: sleede
plan_3:
id: 3
name: Mensuel tarif réduit - étudiant, - de 25 ans, enseignant, demandeur d'emploi
- month
amount: 2000
interval: month
group_id: 2
stp_plan_id: mensuel-tarif-reduit-student-month-20160404171827
created_at: 2016-04-04 15:18:27.734657000 Z
updated_at: 2016-04-04 15:21:35.501739000 Z
training_credit_nb: 1
is_rolling:
description:
type: Plan
base_name: Mensuel tarif réduit
ui_weight: 0
interval_count: 1*
slug: mensuel-tarif-reduit
plan_schedulable:
id: 4
name: Abonnement mensualisable - standard, association, year
amount: 113600
interval: year
group_id: 1
stp_plan_id:
created_at: 2020-12-14 14:10:11.056241000 Z
updated_at: 2020-12-14 14:10:11.137421000 Z
training_credit_nb: 1
is_rolling: true
description:
type: Plan
base_name: Abonnement mensualisable
ui_weight: 10
interval_count: 1
monthly_payment: true
slug: abonnement-mensualisable