class Ingenico::Direct::SDK::Domain::CompanyInformation

@attr [String] name

Attributes

name[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/direct/sdk/domain/company_information.rb, line 21
def from_hash(hash)
  super
  @name = hash['name'] if hash.key? 'name'
end
to_h() click to toggle source

@return (Hash)

Calls superclass method Ingenico::Direct::SDK::DataObject#to_h
# File lib/ingenico/direct/sdk/domain/company_information.rb, line 15
def to_h
  hash = super
  hash['name'] = @name unless @name.nil?
  hash
end