Modified model to only have fees
This commit is contained in:
parent
906bccce0e
commit
a99d4f622f
2 changed files with 96 additions and 23 deletions
|
|
@ -211,7 +211,8 @@ models:
|
|||
"This table shows all fee charges per verification for E-deposit.
|
||||
Cancellation fee is charged when the monthly rate of cancelled bookings over
|
||||
total booking of the partner surpasses the threshold (currently set at 0.05).
|
||||
Both cancellation and rejection fees are set to 0.25 though it might change"
|
||||
Both cancellation and rejection fees are set to 0.25 though it might change.
|
||||
Fees are both in the currency used by the user and in GBP"
|
||||
columns:
|
||||
- name: id_verification
|
||||
data_type: text
|
||||
|
|
@ -220,20 +221,62 @@ models:
|
|||
- unique
|
||||
- not_null
|
||||
|
||||
- name: ok_status_fee
|
||||
data_type: numeric
|
||||
description: "fee charged for approved or flagged verifications"
|
||||
- name: currency
|
||||
data_type: text
|
||||
description: "currency in which the transaction actually happened"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: rejected_fee
|
||||
- name: ok_status_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged for rejected verifications"
|
||||
description: "fee charged in used currency for approved or flagged verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
||||
- name: cancelled_fee
|
||||
- name: ok_status_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged for cancelled verifications"
|
||||
description: "fee charged in gbp for approved or flagged verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
||||
- name: rejected_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
||||
- name: rejected_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for rejected verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
||||
- name: cancelled_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: "fee charged in used currency for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
||||
- name: cancelled_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: "fee charged in gbp for cancelled verifications"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
strictly: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue