Sha256: 9dcb7d155585f57006a2beb2570799c1a5a161b77d647c341f8d8682acb361e3

Contents?: true

Size: 1.19 KB

Versions: 24

Compression:

Stored size: 1.19 KB

Contents

module Moneta
  module Api
    module Requests

      # Запрос на создание банковских реквизитов.
      # Request for adding information about your bank account to your MONETA.RU profile.
      class CreateBankAccountRequest
        include Moneta::Api::DataMapper

        # @return [Integer] ID банковских реквизитов.
        #   / Bank account ID.
        property :id

        property :profile_id

        # @return [Moneta::Api::Types::BankAccountType] Расширенные атрибуты.
        #   / Specifies extended attributes.
        property :attribute, type: Moneta::Api::Types::BankAccountType

        # @return [Integer] Пользователь, которому будут принадлежать банковские реквизиты.
        #   / Если это поле не задано, то банковские реквизиты создаются для текущего пользователя.
        #   / The unique identifier of the user who will own the bank account.
        #   / If you omit this element, MONETA.RU uses the ID of the user who sends the request.
        property :unit_id
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
moneta-api-2.1.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-2.0.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-2.0.0.rc2 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-2.0.0.rc1 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.13.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.8 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.7 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.6 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.5 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.4 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.3 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.2 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.1 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.12.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.11.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.10.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.9.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.8.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.7.0 lib/moneta/api/requests/create_bank_account_request.rb
moneta-api-1.6.0 lib/moneta/api/requests/create_bank_account_request.rb