class Veritrans::Tercerog::Mdk::AmazonpayUpdateAuthorizeResponseDto

決済サービスタイプ:Amazonpay、コマンド名:与信変更の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

center_order_id() click to toggle source

決済センターの管理IDを取得する

決済センターが注文毎に発番するID。

  • 最大:64byte

@return

決済センターの管理ID

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

決済センターの管理IDを設定する

@param

#center_order_id 決済センターの管理ID

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 196
def center_order_id=(center_order_id)
  @center_order_id = center_order_id
end
center_response_datetime() click to toggle source

決済センター応答日時を取得する

決済センターが決済要求に応答した日時 ※YYYYMMDDhhmmssの形式

@return

決済センター応答日時

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

決済センター応答日時を設定する

@param

#center_response_datetime 決済センター応答日時

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 177
def center_response_datetime=(center_response_datetime)
  @center_response_datetime = center_response_datetime
end
center_transaction_id() click to toggle source

決済センターのトランザクション管理IDを取得する

決済センターがトランザクション毎に発番するID。

  • 最大:64byte

@return

決済センターのトランザクション管理ID

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

決済センターのトランザクション管理IDを設定する

@param

#center_transaction_id 決済センターのトランザクション管理ID

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 215
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/amazonpay_update_authorize_response_dto.rb, line 131
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/amazonpay_update_authorize_response_dto.rb, line 140
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/amazonpay_update_authorize_response_dto.rb, line 97
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/amazonpay_update_authorize_response_dto.rb, line 106
def march_txn=(march_txn)
  @march_txn = march_txn
end
merr_msg() click to toggle source

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

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

@return

エラーメッセージ

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 80
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/amazonpay_update_authorize_response_dto.rb, line 89
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/amazonpay_update_authorize_response_dto.rb, line 42
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/amazonpay_update_authorize_response_dto.rb, line 51
def mstatus=(mstatus)
  @mstatus = mstatus
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 114
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/amazonpay_update_authorize_response_dto.rb, line 123
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/amazonpay_update_authorize_response_dto.rb, line 243
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/amazonpay_update_authorize_response_dto.rb, line 252
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
pay_redirect_url() click to toggle source

決済確定URLを取得する

AmazonPayで決済処理を行うためのURLを返します。 ※ステータスがPreAuth時にコマンドを利用した場合のみ連携されます。

@return

決済確定URL

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

決済確定URLを設定する

@param

#pay_redirect_url 決済確定URL

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_response_dto.rb, line 234
def pay_redirect_url=(pay_redirect_url)
  @pay_redirect_url = pay_redirect_url
end
service_type() click to toggle source

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

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

  • “amazonpay”: AmazonPay

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/amazonpay_update_authorize_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/amazonpay_update_authorize_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/amazonpay_update_authorize_response_dto.rb, line 149
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/amazonpay_update_authorize_response_dto.rb, line 158
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/amazonpay_update_authorize_response_dto.rb, line 62
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/amazonpay_update_authorize_response_dto.rb, line 71
def v_result_code=(v_result_code)
  @v_result_code = v_result_code
end