class Veritrans::Tercerog::Mdk::PaypayTerminateResponseDto

決済サービスタイプ:paypay、コマンド名:解約の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

cust_txn() click to toggle source

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

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_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/paypay_terminate_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/paypay_terminate_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/paypay_terminate_response_dto.rb, line 105
def march_txn=(march_txn)
  @march_txn = march_txn
end
merr_msg() click to toggle source

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

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

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_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/paypay_terminate_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/paypay_terminate_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/paypay_terminate_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/paypay_terminate_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/paypay_terminate_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/paypay_terminate_response_dto.rb, line 228
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/paypay_terminate_response_dto.rb, line 237
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
paypay_terminated_datetime() click to toggle source

paypay解約日時を取得する

paypay側で随時決済が解約された日時を返却します。(YYYYMMDDhhmmss形式)

※mstatus=successの場合、設定されます。 ※2者間の解約コマンド要求の場合に返戻されます。

@return

paypay解約日時

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

paypay解約日時を設定する

@param

#paypay_terminated_datetime paypay解約日時

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_response_dto.rb, line 198
def paypay_terminated_datetime=(paypay_terminated_datetime)
  @paypay_terminated_datetime = paypay_terminated_datetime
end
response_contents() click to toggle source

レスポンスコンテンツを取得する

マーチャント側でコンシューマに対して応答するHTMLコンテンツです。自動でpaypayの画面に遷移するためのJavaScriptを含みます。

※3者間の解約コマンド要求の場合に返戻されます。

@return

レスポンスコンテンツ

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

レスポンスコンテンツを設定する

@param

#response_contents レスポンスコンテンツ

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_response_dto.rb, line 177
def response_contents=(response_contents)
  @response_contents = response_contents
end
service_type() click to toggle source

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

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

@return

決済サービスタイプ

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

MDKバージョンを取得する

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

@return

MDKバージョン

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_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/paypay_terminate_response_dto.rb, line 157
def txn_version=(txn_version)
  @txn_version = txn_version
end
user_key() click to toggle source

顧客決済情報を取得する

消費者固有の決済情報を返却します。

※mstatus=successの場合、設定されます。 ※2者間の解約コマンド要求の場合に返戻されます。

@return

顧客決済情報

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

顧客決済情報を設定する

@param

#user_key 顧客決済情報

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_terminate_response_dto.rb, line 219
def user_key=(user_key)
  @user_key = user_key
end
v_result_code() click to toggle source

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

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

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

@return

詳細結果コード

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