class Veritrans::Tercerog::Mdk::VirtualaccAuthorizeResponseDto

決済サービスタイプ:銀行振込決済、コマンド名:決済申込の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

account_name() click to toggle source

口座名義を取得する

振込先の口座名義を返却します。

@return

口座名義

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 225
def account_name
  @account_name = nil unless instance_variable_defined?(:@account_name)
  @account_name
end
account_name=(account_name) click to toggle source

口座名義を設定する

@param

#account_name 口座名義

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 234
def account_name=(account_name)
  @account_name = account_name
end
account_number() click to toggle source

口座番号を取得する

振込先の口座番号を返却します。

@return

口座番号

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 207
def account_number
  @account_number = nil unless instance_variable_defined?(:@account_number)
  @account_number
end
account_number=(account_number) click to toggle source

口座番号を設定する

@param

#account_number 口座番号

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 216
def account_number=(account_number)
  @account_number = account_number
end
account_type() click to toggle source

口座種別を取得する

振込先の口座種別を返却します。

  • 1 : 普通

  • 2 : 当座

@return

口座種別

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 189
def account_type
  @account_type = nil unless instance_variable_defined?(:@account_type)
  @account_type
end
account_type=(account_type) click to toggle source

口座種別を設定する

@param

#account_type 口座種別

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 198
def account_type=(account_type)
  @account_type = account_type
end
bank_code() click to toggle source

銀行コードを取得する

振込先の銀行コードを返却します。

@return

銀行コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 133
def bank_code
  @bank_code = nil unless instance_variable_defined?(:@bank_code)
  @bank_code
end
bank_code=(bank_code) click to toggle source

銀行コードを設定する

@param

#bank_code 銀行コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 142
def bank_code=(bank_code)
  @bank_code = bank_code
end
bank_name() click to toggle source

銀行名を取得する

振込先の銀行名を返却します。

@return

銀行名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 115
def bank_name
  @bank_name = nil unless instance_variable_defined?(:@bank_name)
  @bank_name
end
bank_name=(bank_name) click to toggle source

銀行名を設定する

@param

#bank_name 銀行名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 124
def bank_name=(bank_name)
  @bank_name = bank_name
end
branch_code() click to toggle source

支店コードを取得する

振込先の支店コードを返却します。

@return

支店コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 169
def branch_code
  @branch_code = nil unless instance_variable_defined?(:@branch_code)
  @branch_code
end
branch_code=(branch_code) click to toggle source

支店コードを設定する

@param

#branch_code 支店コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 178
def branch_code=(branch_code)
  @branch_code = branch_code
end
branch_name() click to toggle source

支店名を取得する

振込先の支店名を返却します。

@return

支店名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 151
def branch_name
  @branch_name = nil unless instance_variable_defined?(:@branch_name)
  @branch_name
end
branch_name=(branch_name) click to toggle source

支店名を設定する

@param

#branch_name 支店名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 160
def branch_name=(branch_name)
  @branch_name = branch_name
end
cust_txn() click to toggle source

取引毎に付くIDを取得する

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 276
def cust_txn
  @cust_txn = nil unless instance_variable_defined?(:@cust_txn)
  @cust_txn
end
cust_txn=(cust_txn) click to toggle source

取引毎に付くIDを設定する

@param

#cust_txn 取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 285
def cust_txn=(cust_txn)
  @cust_txn = cust_txn
end
march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 242
def march_txn
  @march_txn = nil unless instance_variable_defined?(:@march_txn)
  @march_txn
end
march_txn=(march_txn) click to toggle source

電文IDを設定する

@param

#march_txn 電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 251
def march_txn=(march_txn)
  @march_txn = march_txn
end
merr_msg() click to toggle source

エラーメッセージを取得する

処理結果に対するメッセージを返却します。

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 79
def merr_msg
  @merr_msg = nil unless instance_variable_defined?(:@merr_msg)
  @merr_msg
end
merr_msg=(merr_msg) click to toggle source

エラーメッセージを設定する

@param

#merr_msg エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 88
def merr_msg=(merr_msg)
  @merr_msg = merr_msg
end
mstatus() click to toggle source

処理結果コードを取得する

決済請求処理後、応答電文に含まれる値。 以下の処理結果のいずれかが格納される

  • success:正常終了

  • failure:異常終了

@return

処理結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 41
def mstatus
  @mstatus = nil unless instance_variable_defined?(:@mstatus)
  @mstatus
end
mstatus=(mstatus) click to toggle source

処理結果コードを設定する

@param

mstatus 処理結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 50
def mstatus=(mstatus)
  @mstatus = mstatus
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 259
def order_id
  @order_id = nil unless instance_variable_defined?(:@order_id)
  @order_id
end
order_id=(order_id) click to toggle source

取引IDを設定する

@param

#order_id 取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 268
def order_id=(order_id)
  @order_id = order_id
end
pay_now_id_response() click to toggle source

PayNowIDオブジェクトを取得する

@return

PayNowIDオブジェクト

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 312
def pay_now_id_response
  @pay_now_id_response = nil unless instance_variable_defined?(:@pay_now_id_response)
  @pay_now_id_response
end
pay_now_id_response=(pay_now_id_response) click to toggle source

PayNowIDオブジェクトを設定する

@param

#pay_now_id_response PayNowIDオブジェクト

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 321
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
service_type() click to toggle source

決済サービスタイプを取得する

決済サービスの区分を返却します。

  • “virtualacc”: 銀行振込決済

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 20
def service_type
  @service_type = nil unless instance_variable_defined?(:@service_type)
  @service_type
end
service_type=(service_type) click to toggle source

決済サービスタイプを設定する

@param

#service_type 決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 29
def service_type=(service_type)
  @service_type = service_type
end
transfer_name() click to toggle source

振込人名を取得する

リクエストのパラメータで受け取った“登録振込人名”の先頭に“振込番号”を連結して返却します。

@return

振込人名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 97
def transfer_name
  @transfer_name = nil unless instance_variable_defined?(:@transfer_name)
  @transfer_name
end
transfer_name=(transfer_name) click to toggle source

振込人名を設定する

@param

#transfer_name 振込人名

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 106
def transfer_name=(transfer_name)
  @transfer_name = transfer_name
end
txn_version() click to toggle source

MDKバージョンを取得する

電文のバージョン番号を返却します。

@return

MDKバージョン

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 294
def txn_version
  @txn_version = nil unless instance_variable_defined?(:@txn_version)
  @txn_version
end
txn_version=(txn_version) click to toggle source

MDKバージョンを設定する

@param

#txn_version MDKバージョン

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 303
def txn_version=(txn_version)
  @txn_version = txn_version
end
v_result_code() click to toggle source

詳細結果コードを取得する

処理結果を詳細に表すコードを返却します。

4桁ずつ4つのブロックで構成され、各ブロックでサービス毎の処理結果を表します。

@return

詳細結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 61
def v_result_code
  @v_result_code = nil unless instance_variable_defined?(:@v_result_code)
  @v_result_code
end
v_result_code=(v_result_code) click to toggle source

詳細結果コードを設定する

@param

#v_result_code 詳細結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/virtualacc_authorize_response_dto.rb, line 70
def v_result_code=(v_result_code)
  @v_result_code = v_result_code
end