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_idInteger

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)

#currencyAPI::Market::Currency

Returns @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json.

Returns:



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

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

#currency_textString

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)

#enabledAPI::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_idInteger

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_maxInteger

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_minInteger

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)