Class: MoneyS3::Parsers::EShopInfo
- Inherits:
-
Object
- Object
- MoneyS3::Parsers::EShopInfo
- Includes:
- ParserCore::BaseParser
- Defined in:
- lib/money_s3/parsers/e_shop_info.rb
Instance Method Summary collapse
- #e_sale_id ⇒ Object
- #e_sale_id_attributes ⇒ Object
- #e_shop_id ⇒ Object
- #e_shop_id_attributes ⇒ Object
- #e_shop_name ⇒ Object
- #e_shop_name_attributes ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#e_sale_id ⇒ Object
22 23 24 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 22 def e_sale_id at 'eSaleID' end |
#e_sale_id_attributes ⇒ Object
26 27 28 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 26 def e_sale_id_attributes attributes_at 'eSaleID' end |
#e_shop_id ⇒ Object
6 7 8 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 6 def e_shop_id at 'eShopID' end |
#e_shop_id_attributes ⇒ Object
10 11 12 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 10 def e_shop_id_attributes attributes_at 'eShopID' end |
#e_shop_name ⇒ Object
14 15 16 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 14 def e_shop_name at 'eShopName' end |
#e_shop_name_attributes ⇒ Object
18 19 20 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 18 def e_shop_name_attributes attributes_at 'eShopName' end |
#to_h ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/money_s3/parsers/e_shop_info.rb', line 30 def to_h hash = {} hash[:attributes] = attributes hash[:e_shop_id] = e_shop_id if has? 'eShopID' hash[:e_shop_id_attributes] = e_shop_id_attributes if has? 'eShopID' hash[:e_shop_name] = e_shop_name if has? 'eShopName' hash[:e_shop_name_attributes] = e_shop_name_attributes if has? 'eShopName' hash[:e_sale_id] = e_sale_id if has? 'eSaleID' hash[:e_sale_id_attributes] = e_sale_id_attributes if has? 'eSaleID' hash end |