Class: Paymill::Merchant

Inherits:
Object
  • Object
show all
Defined in:
lib/paymill/models/merchant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Merchant

Returns a new instance of Merchant.



6
7
8
# File 'lib/paymill/models/merchant.rb', line 6

def initialize( json )
  deserialize( json )
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def country
  @country
end

#currenciesObject

Returns the value of attribute currencies.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def currencies
  @currencies
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def email
  @email
end

#identifier_keyObject

Returns the value of attribute identifier_key.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def identifier_key
  @identifier_key
end

#localeObject

Returns the value of attribute locale.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def locale
  @locale
end

#methodsObject

Returns the value of attribute methods.



4
5
6
# File 'lib/paymill/models/merchant.rb', line 4

def methods
  @methods
end