class Veritrans::Tercerog::Mdk::PaypalCaptureResponseDto

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

@author

VeriTrans Inc.

Public Instance Methods

amount() click to toggle source

取引金額を取得する

  • 取引金額が格納されます。

@return

取引金額

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

取引金額を設定する

@param

amount 取引金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 237
def amount=(amount)
  @amount = amount
end
center_txn_id() click to toggle source

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

  • PayPalが発番するユニークなIDが格納されます。

@return

決済センタ取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 332
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_capture_response_dto.rb, line 340
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_capture_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_capture_response_dto.rb, line 135
def cust_txn=(cust_txn)
  @cust_txn = cust_txn
end
exchange_rate() click to toggle source

外貨換算レートを取得する

  • 外貨換算レートが格納されます。

@return

外貨換算レート

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 280
def exchange_rate
  @exchange_rate ||= nil
end
exchange_rate=(exchange_rate) click to toggle source

外貨換算レートを設定する

@param

#exchange_rate 外貨換算レート

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 288
def exchange_rate=(exchange_rate)
  @exchange_rate = exchange_rate
end
fee_amount() click to toggle source

手数料を取得する

  • 手数料が格納されます。

@return

手数料

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

手数料を設定する

@param

#fee_amount 手数料

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 254
def fee_amount=(fee_amount)
  @fee_amount = fee_amount
end
get_trad_url() click to toggle source

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

@return

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

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

請求番号を取得する

  • GWが発番するオーダー単位でユニークとなるIDが格納されます。

@return

請求番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 195
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_capture_response_dto.rb, line 203
def invoice_id=(invoice_id)
  @invoice_id = invoice_id
end
login_url() click to toggle source

ログインURLを取得する

  • PayPalログイン画面のURLが格納されます。

@return

ログインURL

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

ログインURLを設定する

@param

#login_url ログインURL

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 169
def login_url=(login_url)
  @login_url = login_url
end
march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_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_capture_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_capture_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_capture_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_capture_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_capture_response_dto.rb, line 50
def mstatus=(mstatus)
  @mstatus = mstatus
end
order_id() click to toggle source

取引IDを取得する

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

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

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_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_capture_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_capture_response_dto.rb, line 492
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_capture_response_dto.rb, line 484
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
payer_id() click to toggle source

顧客番号を取得する

  • 顧客番号が格納されます。

@return

顧客番号

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

顧客番号を設定する

@param

#payer_id 顧客番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 220
def payer_id=(payer_id)
  @payer_id = payer_id
end
payment_date() click to toggle source

支払時刻を取得する

  • 支払時刻が格納されます。

  • 形式は“yyyyMMddHHmmss”です。

@return

支払時刻

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 298
def payment_date
  @payment_date ||= nil
end
payment_date=(payment_date) click to toggle source

支払時刻を設定する

@param

#payment_date 支払時刻

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 306
def payment_date=(payment_date)
  @payment_date = payment_date
end
payment_status() click to toggle source

支払ステータスを取得する

  • 支払ステータスが格納されます。

@return

支払ステータス

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 315
def payment_status
  @payment_status ||= nil
end
payment_status=(payment_status) click to toggle source

支払ステータスを設定する

@param

#payment_status 支払ステータス

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 323
def payment_status=(payment_status)
  @payment_status = payment_status
end
service_type() click to toggle source

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

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

  • 必須項目、固定値

  • “paypal”: PayPal決済

@return

決済サービスタイプ

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

決済金額を取得する

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

@return

決済金額

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

決済金額を設定する

@param

#settle_amount 決済金額

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 271
def settle_amount=(settle_amount)
  @settle_amount = settle_amount
end
ship_city() click to toggle source

配送先市区町村名を取得する

  • 配送先市区町村名が格納されます。

@return

配送先市区町村名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 400
def ship_city
  @ship_city ||= nil
end
ship_city=(ship_city) click to toggle source

配送先市区町村名を設定する

@param

#ship_city 配送先市区町村名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 408
def ship_city=(ship_city)
  @ship_city = ship_city
end
ship_country() click to toggle source

配送先国コードを取得する

  • 配送先国コードが格納されます。

@return

配送先国コード

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 434
def ship_country
  @ship_country ||= nil
end
ship_country=(ship_country) click to toggle source

配送先国コードを設定する

@param

#ship_country 配送先国コード

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 442
def ship_country=(ship_country)
  @ship_country = ship_country
end
ship_name() click to toggle source

配送先氏名を取得する

  • 配送先氏名が格納されます。

@return

配送先氏名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 349
def ship_name
  @ship_name ||= nil
end
ship_name=(ship_name) click to toggle source

配送先氏名を設定する

@param

#ship_name 配送先氏名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 357
def ship_name=(ship_name)
  @ship_name = ship_name
end
ship_phone() click to toggle source

配送先電話番号を取得する

  • 配送先電話番号が格納されます。

@return

配送先電話番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 468
def ship_phone
  @ship_phone ||= nil
end
ship_phone=(ship_phone) click to toggle source

配送先電話番号を設定する

@param

#ship_phone 配送先電話番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 476
def ship_phone=(ship_phone)
  @ship_phone = ship_phone
end
ship_postal_code() click to toggle source

配送先郵便番号を取得する

  • 配送先郵便番号が格納されます。

@return

配送先郵便番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 451
def ship_postal_code
  @ship_postal_code ||= nil
end
ship_postal_code=(ship_postal_code) click to toggle source

配送先郵便番号を設定する

@param

#ship_postal_code 配送先郵便番号

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 459
def ship_postal_code=(ship_postal_code)
  @ship_postal_code = ship_postal_code
end
ship_state() click to toggle source

配送先州名を取得する

  • 配送先州名が格納されます。

@return

配送先州名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 417
def ship_state
  @ship_state ||= nil
end
ship_state=(ship_state) click to toggle source

配送先州名を設定する

@param

#ship_state 配送先州名

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 425
def ship_state=(ship_state)
  @ship_state = ship_state
end
ship_street1() click to toggle source

配送先住所1を取得する

  • 配送先住所1が格納されます。

@return

配送先住所1

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 366
def ship_street1
  @ship_street1 ||= nil
end
ship_street1=(ship_street1) click to toggle source

配送先住所1を設定する

@param

#ship_street1 配送先住所1

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 374
def ship_street1=(ship_street1)
  @ship_street1 = ship_street1
end
ship_street2() click to toggle source

配送先住所2を取得する

  • 配送先住所2が格納されます。

@return

配送先住所2

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 383
def ship_street2
  @ship_street2 ||= nil
end
ship_street2=(ship_street2) click to toggle source

配送先住所2を設定する

@param

#ship_street2 配送先住所2

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 391
def ship_street2=(ship_street2)
  @ship_street2 = ship_street2
end
token() click to toggle source

トークンを取得する

  • トークンが格納されます。

@return

トークン

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

トークンを設定する

@param

token トークン

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_response_dto.rb, line 186
def token=(token)
  @token = token
end
txn_version() click to toggle source

MDK バージョンを取得する

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

@return

MDK バージョン

# File tgMdk/lib/tg_mdk/mdk_dto/paypal_capture_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_capture_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_capture_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_capture_response_dto.rb, line 68
def v_result_code=(v_result_code)
  @v_result_code = v_result_code
end