class MoneyS3::Parsers::EShopInfo

Public Instance Methods

e_sale_id() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 22
def e_sale_id
  at 'eSaleID'
end
e_sale_id_attributes() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 26
def e_sale_id_attributes
  attributes_at 'eSaleID'
end
e_shop_id() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 6
def e_shop_id
  at 'eShopID'
end
e_shop_id_attributes() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 10
def e_shop_id_attributes
  attributes_at 'eShopID'
end
e_shop_name() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 14
def e_shop_name
  at 'eShopName'
end
e_shop_name_attributes() click to toggle source
# File lib/money_s3/parsers/e_shop_info.rb, line 18
def e_shop_name_attributes
  attributes_at 'eShopName'
end
to_h() click to toggle source
# 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