class Veritrans::Tercerog::Mdk::PaypalRefundResponseDto

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

@author

VeriTrans Inc.

Public Instance Methods

center_txn_id() click to toggle source

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

  • PayPalが発番する返金取引単位でユニークとなるIDが格納されます。

@return

決済センタ取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 263
def center_txn_id
  @center_txn_id ||= nil
end
center_txn_id=(center_txn_id) click to toggle source

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

@param

#center_txn_id 決済センタ取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 271
def center_txn_id=(center_txn_id)
  @center_txn_id = center_txn_id
end
cust_txn() click to toggle source

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

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 127
def cust_txn
  @cust_txn ||= nil
end
cust_txn=(cust_txn) click to toggle source

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

@param

#cust_txn 取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 135
def cust_txn=(cust_txn)
  @cust_txn = cust_txn
end
fee_refund_amount() click to toggle source

払戻し手数料を取得する

  • 払い戻し手数料が格納されます。

@return

払戻し手数料

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 161
def fee_refund_amount
  @fee_refund_amount ||= nil
end
fee_refund_amount=(feeRefundAmount) click to toggle source

払戻し手数料を設定する

@param

feeRefundAmount 払戻し手数料

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 169
def fee_refund_amount=(feeRefundAmount)
  @fee_refund_amount = feeRefundAmount
end
get_trad_url() click to toggle source

レスポンスからTradURLを取得する

@return

レスポンスに含まれていた広告用(Trad)URL。 エレメントが無いか、エレメントに内容が無ければ nil を返す。

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 296
def get_trad_url()
  return find_trad_url()
end
invoice_id() click to toggle source

請求番号を取得する

  • 請求番号が格納されます。

@return

請求番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 246
def invoice_id
  @invoice_id ||= nil
end
invoice_id=(invoice_id) click to toggle source

請求番号を設定する

@param

#invoice_id 請求番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 254
def invoice_id=(invoice_id)
  @invoice_id = invoice_id
end
march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 93
def march_txn
  @march_txn ||= nil
end
march_txn=(march_txn) click to toggle source

電文IDを設定する

@param

#march_txn 電文ID

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

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

  • エラーメッセージ

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 77
def merr_msg
  @merr_msg ||= nil
end
merr_msg=(merr_msg) click to toggle source

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

@param

#merr_msg エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 85
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/paypal_refund_response_dto.rb, line 42
def mstatus
  @mstatus ||= nil
end
mstatus=(mstatus) click to toggle source

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

@param

mstatus 処理結果コード

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

純返金金額を取得する

  • PayPal残高から差し引かれた金額が格納されます。

@return

純返金金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 195
def net_refund_amount
  @net_refund_amount ||= nil
end
net_refund_amount=(netRefundAmount) click to toggle source

純返金金額を設定する

@param

netRefundAmount 純返金金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 203
def net_refund_amount=(netRefundAmount)
  @net_refund_amount = netRefundAmount
end
order_id() click to toggle source

取引IDを取得する

  • 返金を行った取引IDが格納されます。

  • “.”(ドット)、“-”(ハイフン)、“_”(アンダースコア)も使用できます。

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 111
def order_id
  @order_id ||= nil
end
order_id=(order_id) click to toggle source

取引IDを設定する

@param

#order_id 取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 119
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/paypal_refund_response_dto.rb, line 287
def pay_now_id_response
  @pay_now_id_response ||= nil
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/paypal_refund_response_dto.rb, line 279
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
principal_amount() click to toggle source

元決済金額を取得する

  • 元決済金額が格納されます。

@return

元決済金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 212
def principal_amount
  @principal_amount ||= nil
end
principal_amount=(principalAmount) click to toggle source

元決済金額を設定する

@param

principalAmount 元決済金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 220
def principal_amount=(principalAmount)
  @principal_amount = principalAmount
end
refund_amount() click to toggle source

返金金額を取得する

  • 返金金額が格納されます。

@return

返金金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 178
def refund_amount
  @refund_amount ||= nil
end
refund_amount=(refundAmount) click to toggle source

返金金額を設定する

@param

refundAmount 返金金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 186
def refund_amount=(refundAmount)
  @refund_amount = refundAmount
end
service_type() click to toggle source

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

  • 決済サービスの区分を指定します。

  • 必須項目、固定値

  • “paypal”: PayPal決済

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 21
def service_type
  @service_type ||= nil
end
service_type=(service_type) click to toggle source

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

@param

#service_type 決済サービスタイプ

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

決済残高を取得する

  • 決済残高が格納されます。

@return

決済残高

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 229
def settlement_balance
  @settlement_balance ||= nil
end
settlement_balance=(settlementBalance) click to toggle source

決済残高を設定する

@param

settlementBalance 決済残高

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 237
def settlement_balance=(settlementBalance)
  @settlement_balance = settlementBalance
end
txn_version() click to toggle source

MDK バージョンを取得する

  • 電文のバージョン番号。

@return

MDK バージョン

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 144
def txn_version
  @txn_version ||= nil
end
txn_version=(txn_version) click to toggle source

MDK バージョンを設定する

@param

#txn_version MDK バージョン

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

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

  • 結果コード

  • 例) L001000100000000

@return

詳細結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_refund_response_dto.rb, line 60
def v_result_code
  @v_result_code ||= nil
end
v_result_code=(v_result_code) click to toggle source

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

@param

#v_result_code 詳細結果コード

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