New waiver fees model

This commit is contained in:
Joaquin Ossa 2025-02-10 18:42:15 +01:00
parent f846656989
commit bc17ee7b4b
4 changed files with 87 additions and 12 deletions

View file

@ -9,6 +9,9 @@ select
payment_status as payment_status,
payment_due_date_utc as payment_due_date_utc,
payment_paid_date_utc as payment_paid_date_utc,
refund_payment_reference as refund_payment_reference,
refund_due_date_utc as refund_due_date_utc,
payment_refunded_date_utc as payment_refunded_date_utc,
total_amount_in_txn_currency as total_amount_in_txn_currency,
total_amount_in_gbp as total_amount_in_gbp,
amount_without_taxes_in_txn_currency as amount_without_taxes_in_txn_currency,
@ -23,14 +26,16 @@ select
exchange_rate_to_gbp as exchange_rate_to_gbp,
id_user_host as id_user_host,
id_deal as id_deal,
first_name as first_name,
last_name as last_name,
email as email,
host_first_name as host_first_name,
host_last_name as host_last_name,
host_email as host_email,
company_name as company_name,
host_country as host_country,
guest_first_name as guest_first_name,
guest_last_name as guest_last_name,
guest_email as guest_email,
guest_billing_country as guest_billing_country,
guest_billing_town as guest_billing_town,
friendly_name as friendly_name,
address_line_1 as address_line_1,
check_in_date_utc as check_in_date_utc,

View file

@ -1692,6 +1692,18 @@ models:
data_type: date
description: The date when the payment was successfully made, in UTC.
- name: refund_payment_reference
data_type: date
description: The reference code associated with the refund payment.
- name: refund_due_date_utc
data_type: date
description: The due date for the refund payment, in UTC.
- name: payment_refunded_date_utc
data_type: date
description: The date when the payment was refunded, in UTC.
- name: total_amount_in_txn_currency
data_type: numeric
description: |
@ -1781,15 +1793,15 @@ models:
Main identifier of the B2B clients. A Deal can have multiple Hosts.
A Host can have only 1 Deal or no Deal at all. This field can be null.
- name: first_name
- name: host_first_name
data_type: character varying
description: First name of the host receiving the payment.
- name: last_name
- name: host_last_name
data_type: character varying
description: Last name of the host receiving the payment.
- name: email
- name: host_email
data_type: character varying
description: Email address of the host receiving the payment.
@ -1815,6 +1827,16 @@ models:
data_type: character varying
description: Email address of the guest making the payment.
- name: guest_billing_country
data_type: text
description: |
The country name of the guest's billing address.
- name: guest_billing_town
data_type: text
description: |
The town or city name of the guest's billing address.
- name: friendly_name
data_type: character varying
description: |