class Pohoda::Parsers::Pro::PaymentItemType
Public Instance Methods
note()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 47 def note at 'pro:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 51 def note_attributes attributes_at 'pro:note' end
payment_advanced()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 35 def payment_advanced submodel_at(Pro::PaymentAdvancedType, 'pro:paymentAdvanced') end
payment_type()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 7 def payment_type submodel_at(Typ::RefType, 'pro:paymentType') end
received()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 19 def received at 'pro:received' end
received_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 23 def received_attributes attributes_at 'pro:received' end
received_home_currency()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 27 def received_home_currency at 'pro:receivedHomeCurrency' end
received_home_currency_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 31 def received_home_currency_attributes attributes_at 'pro:receivedHomeCurrency' end
returned()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 39 def returned at 'pro:returned' end
returned_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 43 def returned_attributes attributes_at 'pro:returned' end
text()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 11 def text at 'pro:text' end
text_attributes()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 15 def text_attributes attributes_at 'pro:text' end
to_h()
click to toggle source
# File lib/pohoda/parsers/pro/payment_item_type.rb, line 55 def to_h hash = {} hash[:attributes] = attributes hash[:payment_type] = payment_type.to_h if has? 'pro:paymentType' hash[:text] = text if has? 'pro:text' hash[:text_attributes] = text_attributes if has? 'pro:text' hash[:received] = received if has? 'pro:received' hash[:received_attributes] = received_attributes if has? 'pro:received' hash[:received_home_currency] = received_home_currency if has? 'pro:receivedHomeCurrency' hash[:received_home_currency_attributes] = received_home_currency_attributes if has? 'pro:receivedHomeCurrency' hash[:payment_advanced] = payment_advanced.to_h if has? 'pro:paymentAdvanced' hash[:returned] = returned if has? 'pro:returned' hash[:returned_attributes] = returned_attributes if has? 'pro:returned' hash[:note] = note if has? 'pro:note' hash[:note_attributes] = note_attributes if has? 'pro:note' hash end