Method: ZATCA::UBL::CommonAggregateComponents::Price#initialize

Defined in:
lib/zatca/ubl/common_aggregate_components/price.rb

#initialize(price_amount:, allowance_charge: nil, currency_id: "SAR") ⇒ Price

Returns a new instance of Price.



2
3
4
5
6
7
8
# File 'lib/zatca/ubl/common_aggregate_components/price.rb', line 2

def initialize(price_amount:, allowance_charge: nil, currency_id: "SAR")
  super()

  @price_amount = price_amount
  @allowance_charge = allowance_charge
  @currency_id = currency_id
end