Sha256: a5638015e64c5c9c5353cba425bf97a02756c9977915a8a768ea413ef989bb82

Contents?: true

Size: 1.24 KB

Versions: 18

Compression:

Stored size: 1.24 KB

Contents

# coding: utf-8
module RockFintech
  module Api
    module Enterprise
      module EnterpriseAdd

        #  线下企业账户信息入库
        #
        # @return [ Hash ] 结果集
        #   * :result [String] "S"/"F"/"P"
        #   * :request_params [Hash] 请求参数
        #   * :response [Object] 请求返回对象
        #   * :code [String] 结果代码
        #   * :msg [String] 结果信息
        #   * :data: 具体业务返回信息
        #       * :card_no [String] 电子账号
        #
        def enterprise_add(cert_no, name, mobile,
                           bind_card, card_no, customer_no,
                           serial_no, role_type,
                           devise='000001', remark='')


          service = 'enterprise_add'

          params = {
            cert_no: cert_no,
            name: name,
            mobile: mobile,
            bind_card: bind_card,
            card_no: card_no,
            customer_no: customer_no,
            serial_no: serial_no,
            role_type: role_type,
            client: devise,
            custom: remark,
          }

          res = operate_post(:operate, service, params, Http::ErrorCode.enterprise_add, ['RD000000'])

          res
        end

      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rock_fintech-0.19.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.18.4 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.18.1 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.17.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.16.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.15.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.14.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.13.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.12.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.11.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.10.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.9.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.8.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.7.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.6.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.5.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.4.0 lib/rock_fintech/api/enterprise/enterprise_add.rb
rock_fintech-0.3.0 lib/rock_fintech/api/enterprise/enterprise_add.rb