Class: GOBL::Tax::RateTotalSurcharge

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#amountGOBL::Num::Amount (readonly)

Returns:



22
# File 'lib/generated/gobl/tax/rate_total_surcharge.rb', line 22

property :amount, GOBL::Num::Amount

#percentGOBL::Num::Percentage (readonly)



17
# File 'lib/generated/gobl/tax/rate_total_surcharge.rb', line 17

property :percent, GOBL::Num::Percentage