class Veritrans::Tercerog::Mdk::UpopCaptureResponseDto

決済サービスタイプ:UPOP、コマンド名:売上の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

captured_amount() click to toggle source

売上金額を取得する

売上金額

@return

売上金額

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

売上金額を設定する

売上金額

@param

#captured_amount 売上金額

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 227
def captured_amount=(captured_amount)
  @captured_amount = captured_amount
end
cust_txn() click to toggle source

トランザクションID(取引毎につけるID)を取得する

@return

トランザクションID(取引毎につけるID)

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

トランザクションID(取引毎につけるID)を設定する

@param

#cust_txn トランザクションID(取引毎につけるID)

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

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

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

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 90
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/upop_capture_response_dto.rb, line 100
def merr_msg=(merr_msg)
  @merr_msg = merr_msg
end
mstatus() click to toggle source

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

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

  • success:正常終了

  • failure:異常終了

  • pending:保留状態

@return

処理結果コード

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

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

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

  • success:正常終了

  • failure:異常終了

  • pending:保留状態

@param

mstatus 処理結果コード

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

取引IDを取得する

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 142
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/upop_capture_response_dto.rb, line 151
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/upop_capture_response_dto.rb, line 352
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/upop_capture_response_dto.rb, line 361
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
remaining_amount() click to toggle source

返品後の金額を取得する

返品後の金額

@return

返品後の金額

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

返品後の金額を設定する

返品後の金額

@param

#remaining_amount 返品後の金額

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 246
def remaining_amount=(remaining_amount)
  @remaining_amount = remaining_amount
end
service_type() click to toggle source

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

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

  • “upop”: 銀聯ネット決済(UPOP)

@return

サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_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

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

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

  • “upop”: 銀聯ネット決済(UPOP)

@param

#service_type サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 31
def service_type=(service_type)
  @service_type = service_type
end
settle_amount() click to toggle source

清算金額を取得する

清算金額

@return

清算金額

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

清算金額を設定する

清算金額

@param

#settle_amount 清算金額

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 265
def settle_amount=(settle_amount)
  @settle_amount = settle_amount
end
settle_currency() click to toggle source

清算通貨種類を取得する

清算通貨種類 392:日本円(固定)

@return

清算通貨種類

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

清算通貨種類を設定する

清算通貨種類 392:日本円(固定)

@param

#settle_currency 清算通貨種類

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 305
def settle_currency=(settle_currency)
  @settle_currency = settle_currency
end
settle_date() click to toggle source

清算日付を取得する

清算日付(MMDD形式)

@return

清算日付

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

清算日付を設定する

清算日付(MMDD形式)

@param

#settle_date 清算日付

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 284
def settle_date=(settle_date)
  @settle_date = settle_date
end
settle_rate() click to toggle source

清算レートを取得する

清算レート

@return

清算レート

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

清算レートを設定する

清算レート

@param

#settle_rate 清算レート

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 324
def settle_rate=(settle_rate)
  @settle_rate = settle_rate
end
txn_datetime_cn() click to toggle source

決済時刻(中国時間)を取得する

銀聯ネット決済(UPOP)で売上が確定した日時(中国時間)を返します。

@return

決済時刻(中国時間)

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

決済時刻(中国時間)を設定する

銀聯ネット決済(UPOP)で売上が確定した日時(中国時間)を返します。

@param

#txn_datetime_cn 決済時刻(中国時間)

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 208
def txn_datetime_cn=(txn_datetime_cn)
  @txn_datetime_cn = txn_datetime_cn
end
txn_datetime_jp() click to toggle source

決済時刻(日本時間)を取得する

銀聯ネット決済(UPOP)で売上が確定した日時(日本時間)を返します。

@return

決済時刻(日本時間)

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

決済時刻(日本時間)を設定する

銀聯ネット決済(UPOP)で売上が確定した日時(日本時間)を返します。

@param

#txn_datetime_jp 決済時刻(日本時間)

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 189
def txn_datetime_jp=(txn_datetime_jp)
  @txn_datetime_jp = txn_datetime_jp
end
txn_version() click to toggle source

MDKバージョンを取得する

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

@return

MDKバージョン

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 160
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/upop_capture_response_dto.rb, line 170
def txn_version=(txn_version)
  @txn_version = txn_version
end
upop_order_id() click to toggle source

決済センターとの取引IDを取得する

決済センターとの取引ID

@return

決済センターとの取引ID

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

決済センターとの取引IDを設定する

決済センターとの取引ID

@param

#upop_order_id 決済センターとの取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 343
def upop_order_id=(upop_order_id)
  @upop_order_id = upop_order_id
end
v_result_code() click to toggle source

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

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

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

@return

詳細結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/upop_capture_response_dto.rb, line 69
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

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

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

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

@param

#v_result_code 詳細結果コード

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