New waiver fees model
This commit is contained in:
parent
f846656989
commit
bc17ee7b4b
4 changed files with 87 additions and 12 deletions
|
|
@ -5503,3 +5503,52 @@ models:
|
|||
description: |
|
||||
The currency in which the host receives their payment (may differ from
|
||||
the transaction currency).
|
||||
|
||||
- name: int_core__waiver_fees
|
||||
description: |
|
||||
"This model contains the fees charged for the Waiver service. It includes
|
||||
the percentage of the payment that goes to Superhog, the minimum fee around
|
||||
the amount charged in both local currency and GBP"
|
||||
columns:
|
||||
- name: id_payment
|
||||
data_type: bigint
|
||||
description: Unique identifier for the payment.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: payaway_percentage
|
||||
data_type: numeric
|
||||
description: Percentage of the payment that goes to Superhog.
|
||||
data_tests:
|
||||
- dbt_expectations.expect_column_values_to_be_between:
|
||||
min_value: 0
|
||||
max_value: 0.99
|
||||
strictly: false
|
||||
|
||||
- name: payaway_minimum_commission_local_curr
|
||||
data_type: numeric
|
||||
description: Minimum commission amount in local currency.
|
||||
|
||||
- name: is_host_taking_waiver_risk
|
||||
data_type: boolean
|
||||
description: Boolean indicating whether the host is taking the risk
|
||||
|
||||
- name: amount_due_to_host_in_txn_currency
|
||||
data_type: numeric
|
||||
description: |
|
||||
The amount payable to the host, in local currency.
|
||||
|
||||
- name: amount_due_to_host_in_gbp
|
||||
data_type: numeric
|
||||
description: |
|
||||
The amount payable to the host, in GBP.
|
||||
|
||||
- name: superhog_fee_in_txn_currency
|
||||
data_type: numeric
|
||||
description: |
|
||||
The service fee charged by Superhog, in local currency.
|
||||
|
||||
- name: superhog_fee_in_gbp
|
||||
data_type: numeric
|
||||
description: |
|
||||
The service fee charged by Superhog, in GBP.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue