class Pohoda::Parsers::Typ::DetailEETType

Public Instance Methods

apply() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 215
def apply
  at 'typ:apply'
end
apply_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 219
def apply_attributes
  attributes_at 'typ:apply'
end
bkp() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 39
def bkp
  at 'typ:BKP'
end
bkp_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 43
def bkp_attributes
  attributes_at 'typ:BKP'
end
cash_device() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 63
def cash_device
  at 'typ:cashDevice'
end
cash_device_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 67
def cash_device_attributes
  attributes_at 'typ:cashDevice'
end
date_of_acceptance() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 87
def date_of_acceptance
  at 'typ:dateOfAcceptance'
end
date_of_acceptance_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 91
def date_of_acceptance_attributes
  attributes_at 'typ:dateOfAcceptance'
end
date_of_sale() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 15
def date_of_sale
  at 'typ:dateOfSale'
end
date_of_sale_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 19
def date_of_sale_attributes
  attributes_at 'typ:dateOfSale'
end
date_of_send() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 79
def date_of_send
  at 'typ:dateOfSend'
end
date_of_send_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 83
def date_of_send_attributes
  attributes_at 'typ:dateOfSend'
end
establishment() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 55
def establishment
  at 'typ:establishment'
end
establishment_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 59
def establishment_attributes
  attributes_at 'typ:establishment'
end
fik() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 47
def fik
  at 'typ:FIK'
end
fik_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 51
def fik_attributes
  attributes_at 'typ:FIK'
end
first_sending() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 223
def first_sending
  at 'typ:firstSending'
end
first_sending_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 227
def first_sending_attributes
  attributes_at 'typ:firstSending'
end
for_apply() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 207
def for_apply
  at 'typ:forApply'
end
for_apply_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 211
def for_apply_attributes
  attributes_at 'typ:forApply'
end
mode() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 71
def mode
  at 'typ:mode'
end
mode_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 75
def mode_attributes
  attributes_at 'typ:mode'
end
number_of_document() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 7
def number_of_document
  at 'typ:numberOfDocument'
end
number_of_document_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 11
def number_of_document_attributes
  attributes_at 'typ:numberOfDocument'
end
pkp() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 31
def pkp
  at 'typ:PKP'
end
pkp_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 35
def pkp_attributes
  attributes_at 'typ:PKP'
end
price() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 23
def price
  at 'typ:price'
end
price_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 27
def price_attributes
  attributes_at 'typ:price'
end
price_basic() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 127
def price_basic
  at 'typ:priceBasic'
end
price_basic_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 131
def price_basic_attributes
  attributes_at 'typ:priceBasic'
end
price_exempt() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 119
def price_exempt
  at 'typ:priceExempt'
end
price_exempt_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 123
def price_exempt_attributes
  attributes_at 'typ:priceExempt'
end
price_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 143
def price_reduced
  at 'typ:priceReduced'
end
price_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 147
def price_reduced_attributes
  attributes_at 'typ:priceReduced'
end
price_second_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 159
def price_second_reduced
  at 'typ:priceSecondReduced'
end
price_second_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 163
def price_second_reduced_attributes
  attributes_at 'typ:priceSecondReduced'
end
protocol_version() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 239
def protocol_version
  at 'typ:protocolVersion'
end
protocol_version_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 243
def protocol_version_attributes
  attributes_at 'typ:protocolVersion'
end
test_mode() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 95
def test_mode
  at 'typ:testMode'
end
test_mode_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 99
def test_mode_attributes
  attributes_at 'typ:testMode'
end
to_h() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 247
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:number_of_document] = number_of_document if has? 'typ:numberOfDocument'
  hash[:number_of_document_attributes] = number_of_document_attributes if has? 'typ:numberOfDocument'
  hash[:date_of_sale] = date_of_sale if has? 'typ:dateOfSale'
  hash[:date_of_sale_attributes] = date_of_sale_attributes if has? 'typ:dateOfSale'
  hash[:price] = price if has? 'typ:price'
  hash[:price_attributes] = price_attributes if has? 'typ:price'
  hash[:pkp] = pkp if has? 'typ:PKP'
  hash[:pkp_attributes] = pkp_attributes if has? 'typ:PKP'
  hash[:bkp] = bkp if has? 'typ:BKP'
  hash[:bkp_attributes] = bkp_attributes if has? 'typ:BKP'
  hash[:fik] = fik if has? 'typ:FIK'
  hash[:fik_attributes] = fik_attributes if has? 'typ:FIK'
  hash[:establishment] = establishment if has? 'typ:establishment'
  hash[:establishment_attributes] = establishment_attributes if has? 'typ:establishment'
  hash[:cash_device] = cash_device if has? 'typ:cashDevice'
  hash[:cash_device_attributes] = cash_device_attributes if has? 'typ:cashDevice'
  hash[:mode] = mode if has? 'typ:mode'
  hash[:mode_attributes] = mode_attributes if has? 'typ:mode'
  hash[:date_of_send] = date_of_send if has? 'typ:dateOfSend'
  hash[:date_of_send_attributes] = date_of_send_attributes if has? 'typ:dateOfSend'
  hash[:date_of_acceptance] = date_of_acceptance if has? 'typ:dateOfAcceptance'
  hash[:date_of_acceptance_attributes] = date_of_acceptance_attributes if has? 'typ:dateOfAcceptance'
  hash[:test_mode] = test_mode if has? 'typ:testMode'
  hash[:test_mode_attributes] = test_mode_attributes if has? 'typ:testMode'
  hash[:vat_id_of_payer] = vat_id_of_payer if has? 'typ:VATIdOfPayer'
  hash[:vat_id_of_payer_attributes] = vat_id_of_payer_attributes if has? 'typ:VATIdOfPayer'
  hash[:vat_id_of_auth_payer] = vat_id_of_auth_payer if has? 'typ:VATIdOfAuthPayer'
  hash[:vat_id_of_auth_payer_attributes] = vat_id_of_auth_payer_attributes if has? 'typ:VATIdOfAuthPayer'
  hash[:price_exempt] = price_exempt if has? 'typ:priceExempt'
  hash[:price_exempt_attributes] = price_exempt_attributes if has? 'typ:priceExempt'
  hash[:price_basic] = price_basic if has? 'typ:priceBasic'
  hash[:price_basic_attributes] = price_basic_attributes if has? 'typ:priceBasic'
  hash[:vat_basic] = vat_basic if has? 'typ:VATBasic'
  hash[:vat_basic_attributes] = vat_basic_attributes if has? 'typ:VATBasic'
  hash[:price_reduced] = price_reduced if has? 'typ:priceReduced'
  hash[:price_reduced_attributes] = price_reduced_attributes if has? 'typ:priceReduced'
  hash[:vat_reduced] = vat_reduced if has? 'typ:VATReduced'
  hash[:vat_reduced_attributes] = vat_reduced_attributes if has? 'typ:VATReduced'
  hash[:price_second_reduced] = price_second_reduced if has? 'typ:priceSecondReduced'
  hash[:price_second_reduced_attributes] = price_second_reduced_attributes if has? 'typ:priceSecondReduced'
  hash[:vat_second_reduced] = vat_second_reduced if has? 'typ:VATSecondReduced'
  hash[:vat_second_reduced_attributes] = vat_second_reduced_attributes if has? 'typ:VATSecondReduced'
  hash[:travel_service] = travel_service if has? 'typ:travelService'
  hash[:travel_service_attributes] = travel_service_attributes if has? 'typ:travelService'
  hash[:used_goods_basic] = used_goods_basic if has? 'typ:usedGoodsBasic'
  hash[:used_goods_basic_attributes] = used_goods_basic_attributes if has? 'typ:usedGoodsBasic'
  hash[:used_goods_first_reduced] = used_goods_first_reduced if has? 'typ:usedGoodsFirstReduced'
  hash[:used_goods_first_reduced_attributes] = used_goods_first_reduced_attributes if has? 'typ:usedGoodsFirstReduced'
  hash[:used_goods_second_reduced] = used_goods_second_reduced if has? 'typ:usedGoodsSecondReduced'
  hash[:used_goods_second_reduced_attributes] = used_goods_second_reduced_attributes if has? 'typ:usedGoodsSecondReduced'
  hash[:for_apply] = for_apply if has? 'typ:forApply'
  hash[:for_apply_attributes] = for_apply_attributes if has? 'typ:forApply'
  hash[:apply] = apply if has? 'typ:apply'
  hash[:apply_attributes] = apply_attributes if has? 'typ:apply'
  hash[:first_sending] = first_sending if has? 'typ:firstSending'
  hash[:first_sending_attributes] = first_sending_attributes if has? 'typ:firstSending'
  hash[:uuid] = uuid if has? 'typ:UUID'
  hash[:uuid_attributes] = uuid_attributes if has? 'typ:UUID'
  hash[:protocol_version] = protocol_version if has? 'typ:protocolVersion'
  hash[:protocol_version_attributes] = protocol_version_attributes if has? 'typ:protocolVersion'

  hash
end
travel_service() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 175
def travel_service
  at 'typ:travelService'
end
travel_service_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 179
def travel_service_attributes
  attributes_at 'typ:travelService'
end
used_goods_basic() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 183
def used_goods_basic
  at 'typ:usedGoodsBasic'
end
used_goods_basic_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 187
def used_goods_basic_attributes
  attributes_at 'typ:usedGoodsBasic'
end
used_goods_first_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 191
def used_goods_first_reduced
  at 'typ:usedGoodsFirstReduced'
end
used_goods_first_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 195
def used_goods_first_reduced_attributes
  attributes_at 'typ:usedGoodsFirstReduced'
end
used_goods_second_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 199
def used_goods_second_reduced
  at 'typ:usedGoodsSecondReduced'
end
used_goods_second_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 203
def used_goods_second_reduced_attributes
  attributes_at 'typ:usedGoodsSecondReduced'
end
uuid() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 231
def uuid
  at 'typ:UUID'
end
uuid_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 235
def uuid_attributes
  attributes_at 'typ:UUID'
end
vat_basic() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 135
def vat_basic
  at 'typ:VATBasic'
end
vat_basic_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 139
def vat_basic_attributes
  attributes_at 'typ:VATBasic'
end
vat_id_of_auth_payer() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 111
def vat_id_of_auth_payer
  at 'typ:VATIdOfAuthPayer'
end
vat_id_of_auth_payer_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 115
def vat_id_of_auth_payer_attributes
  attributes_at 'typ:VATIdOfAuthPayer'
end
vat_id_of_payer() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 103
def vat_id_of_payer
  at 'typ:VATIdOfPayer'
end
vat_id_of_payer_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 107
def vat_id_of_payer_attributes
  attributes_at 'typ:VATIdOfPayer'
end
vat_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 151
def vat_reduced
  at 'typ:VATReduced'
end
vat_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 155
def vat_reduced_attributes
  attributes_at 'typ:VATReduced'
end
vat_second_reduced() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 167
def vat_second_reduced
  at 'typ:VATSecondReduced'
end
vat_second_reduced_attributes() click to toggle source
# File lib/pohoda/parsers/typ/detail_eet_type.rb, line 171
def vat_second_reduced_attributes
  attributes_at 'typ:VATSecondReduced'
end