class Veritrans::Tercerog::Mdk::BankpayRefundResponseDto

決済サービスタイプ:bankpay、コマンド名:返金の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

account_id() click to toggle source

口座IDを取得する

返金処理対象の口座IDを返却します。

@return

口座ID

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

口座IDを設定する

@param

#account_id 口座ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 193
def account_id=(account_id)
  @account_id = account_id
end
accounting_type() click to toggle source

課金種別を取得する

課金種別を返却します。

@return

課金種別

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

課金種別を設定する

@param

#accounting_type 課金種別

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 211
def accounting_type=(accounting_type)
  @accounting_type = accounting_type
end
bank_approval_num() click to toggle source

承認番号を取得する

金融機関にて発行した承認番号を返却します。

@return

承認番号

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

承認番号を設定する

@param

#bank_approval_num 承認番号

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 320
def bank_approval_num=(bank_approval_num)
  @bank_approval_num = bank_approval_num
end
bank_processing_id() click to toggle source

決済処理通番を取得する

金融機関にて発行した決済処理通番を返却します。

@return

決済処理通番

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

決済処理通番を設定する

@param

#bank_processing_id 決済処理通番

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 338
def bank_processing_id=(bank_processing_id)
  @bank_processing_id = bank_processing_id
end
center_processing_datetime() click to toggle source

決済センター処理日時を取得する

BankPay側で処理された日時を返却します。(YYYYMMDDhhmmss形式)

@return

決済センター処理日時

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

決済センター処理日時を設定する

@param

#center_processing_datetime 決済センター処理日時

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 356
def center_processing_datetime=(center_processing_datetime)
  @center_processing_datetime = center_processing_datetime
end
center_transaction_id() click to toggle source

決済センター側の処理通番を取得する

BankPayにて採番する処理通番を返却します。

@return

決済センター側の処理通番

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

決済センター側の処理通番を設定する

@param

#center_transaction_id 決済センター側の処理通番

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 302
def center_transaction_id=(center_transaction_id)
  @center_transaction_id = center_transaction_id
end
cust_txn() click to toggle source

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

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 130
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/bankpay_refund_response_dto.rb, line 139
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/bankpay_refund_response_dto.rb, line 96
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/bankpay_refund_response_dto.rb, line 105
def march_txn=(march_txn)
  @march_txn = march_txn
end
member_id() click to toggle source

会員IDを取得する

返金処理対象の会員IDを返却します。

@return

会員ID

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

会員IDを設定する

@param

#member_id 会員ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 175
def member_id=(member_id)
  @member_id = member_id
end
merchant_transaction_id() click to toggle source

加盟店処理通番を取得する

加盟店処理通番を返却します。 BankPayで取引を一意に識別するID

@return

加盟店処理通番

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

加盟店処理通番を設定する

@param

#merchant_transaction_id 加盟店処理通番

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 284
def merchant_transaction_id=(merchant_transaction_id)
  @merchant_transaction_id = merchant_transaction_id
end
merr_msg() click to toggle source

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

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

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_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/bankpay_refund_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/bankpay_refund_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/bankpay_refund_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/bankpay_refund_response_dto.rb, line 113
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/bankpay_refund_response_dto.rb, line 122
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/bankpay_refund_response_dto.rb, line 365
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/bankpay_refund_response_dto.rb, line 374
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
service_type() click to toggle source

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

決済サービスの区分を返却します。 “bankpay”:BankPay

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_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/bankpay_refund_response_dto.rb, line 29
def service_type=(service_type)
  @service_type = service_type
end
store_id() click to toggle source

店舗IDを取得する

店舗IDを返却します。

@return

店舗ID

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

店舗IDを設定する

@param

#store_id 店舗ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 247
def store_id=(store_id)
  @store_id = store_id
end
store_name() click to toggle source

店舗名を取得する

店舗名を返却します。

@return

店舗名

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

店舗名を設定する

@param

#store_name 店舗名

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 265
def store_name=(store_name)
  @store_name = store_name
end
terminal_id() click to toggle source

端末機識別番号を取得する

端末機識別番号を返却します。

@return

端末機識別番号

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

端末機識別番号を設定する

@param

#terminal_id 端末機識別番号

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 229
def terminal_id=(terminal_id)
  @terminal_id = terminal_id
end
txn_version() click to toggle source

MDKバージョンを取得する

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

@return

MDKバージョン

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_refund_response_dto.rb, line 148
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/bankpay_refund_response_dto.rb, line 157
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/bankpay_refund_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/bankpay_refund_response_dto.rb, line 70
def v_result_code=(v_result_code)
  @v_result_code = v_result_code
end