Class: GOBL::Tax::RateTotalSurcharge
- Defined in:
- lib/generated/gobl/tax/rate_total_surcharge.rb
Overview
RateTotalSurcharge reflects the sum surcharges inside the rate.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL RateTotalSurcharge structure
'https://gobl.org/draft-0/tax/total#/$defs/RateTotalSurcharge'
Instance Attribute Summary collapse
- #amount ⇒ GOBL::Num::Amount readonly
- #percent ⇒ GOBL::Num::Percentage readonly
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#amount ⇒ GOBL::Num::Amount (readonly)
22 |
# File 'lib/generated/gobl/tax/rate_total_surcharge.rb', line 22 property :amount, GOBL::Num::Amount |
#percent ⇒ GOBL::Num::Percentage (readonly)
17 |
# File 'lib/generated/gobl/tax/rate_total_surcharge.rb', line 17 property :percent, GOBL::Num::Percentage |