Class: Vk::API::Groups::MarketInfo

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/groups/market_info.rb

Overview

Instance Method Summary collapse

Instance Method Details

#contact_id ⇒ Integer

Returns Contact person ID.

Returns:

  • (Integer) —

    Contact person ID



19
# File 'lib/vk/api/groups/market_info.rb', line 19

attribute :contact_id, API::Types::Coercible::Int.optional.default(nil)

#currency ⇒ API::Market::Currency



21
# File 'lib/vk/api/groups/market_info.rb', line 21

attribute :currency, Dry::Types[API::Market::Currency].optional.default(nil)

#currency_text ⇒ String

Returns Currency name.

Returns:

  • (String) —

    Currency name



23
# File 'lib/vk/api/groups/market_info.rb', line 23

attribute :currency_text, API::Types::Coercible::String.optional.default(nil)

#enabled ⇒ API::Base::BoolInt

Returns Information whether the market is enabled.

Returns:



11
# File 'lib/vk/api/groups/market_info.rb', line 11

attribute :enabled, API::Base::BoolInt.optional.default(nil)

#main_album_id ⇒ Integer

Returns Main market album ID.

Returns:

  • (Integer) —

    Main market album ID



17
# File 'lib/vk/api/groups/market_info.rb', line 17

attribute :main_album_id, API::Types::Coercible::Int.optional.default(nil)

#price_max ⇒ Integer

Returns Maximum price.

Returns:

  • (Integer) —

    Maximum price



15
# File 'lib/vk/api/groups/market_info.rb', line 15

attribute :price_max, API::Types::Coercible::Int.optional.default(nil)

#price_min ⇒ Integer

Returns Minimum price.

Returns:

  • (Integer) —

    Minimum price



13
# File 'lib/vk/api/groups/market_info.rb', line 13

attribute :price_min, API::Types::Coercible::Int.optional.default(nil)