clarify refund is not in GBP

This commit is contained in:
Pablo Martin 2024-09-13 13:09:01 +02:00
parent ec8490527d
commit 092b8bd725

View file

@ -925,8 +925,9 @@ models:
description: |
The total amount due created by the interaction, in GBP.
Should we refund the payment, this is also the amount we will give
back to the guest.
Should we refund the payment, this is the GBP equivalent of the
amount we will give back to the guest, but we won't be paying in
GBP unless the original payment was in GBP.
tests:
- not_null
- name: tax_amount_in_txn_currency
@ -991,7 +992,7 @@ models:
- name: is_vat_taxed
data_type: boolean
description: |
Syntactic suger to indicate if there's any VAT on this payment.
Syntactic sugar to indicate if there's any VAT on this payment.
Will be true if so, false if not for any reason (guest country has
no VAT, the payment is for a deposit, etc.)
tests:
@ -1009,16 +1010,14 @@ models:
If this turns true in any other case, you should really find out
why the guest doesn't have a billing country.
# should be uncommented once this ticket gets solved:
# should be uncommented once this ticket gets solved:
#tests:
# - not_null
# - accepted_values:
# values:
# - false
# where: are_user_details_deleted != true or are_user_details_deleted is not null
- name: is_missing_vat_rate_for_country
data_type: boolean
description: |
@ -1032,7 +1031,7 @@ models:
If this turns true in any other case, you should really find out
what's happening.
# should be uncommented once this ticket gets solved:
# should be uncommented once this ticket gets solved:
#tests:
# - not_null
# - accepted_values:
@ -1044,7 +1043,7 @@ models:
description: |
True if the user has been deleted, which is a possible explanation
for why there might be no country informed.
- name: is_missing_vat_details_without_known_cause
data_type: boolean
description: |
@ -1055,7 +1054,7 @@ models:
fix it.
tests:
- not_null
- not_null
- accepted_values:
values:
- false