class Veritrans::Tercerog::Mdk::AlipayxAuthorizeResponseDto

決済サービスタイプ:alipayx、コマンド名:決済申込の応答Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

app_pay_url() click to toggle source

アプリ内支払いURLを取得する

支払い完了するためのアプリ内URLを返します。 serviceOptionType=“scancode”の場合に返戻。

@return

アプリ内支払いURL

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

アプリ内支払いURLを設定する

@param

#app_pay_url アプリ内支払いURL

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 327
def app_pay_url=(app_pay_url)
  @app_pay_url = app_pay_url
end
center_id() click to toggle source

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

決済センターが発番するIDを返却します。

@return

決済センターの管理ID

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

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

@param

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

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 194
def center_id=(center_id)
  @center_id = center_id
end
cust_txn() click to toggle source

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

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_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/alipayx_authorize_response_dto.rb, line 139
def cust_txn=(cust_txn)
  @cust_txn = cust_txn
end
foreign_amount() click to toggle source

決済金額(外貨)を取得する

決済金額(外貨)を返却します。 serviceOptionType=“barcode”の場合に返戻。

@return

決済金額(外貨)

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

決済金額(外貨)を設定する

@param

#foreign_amount 決済金額(外貨)

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 346
def foreign_amount=(foreign_amount)
  @foreign_amount = foreign_amount
end
foreign_amount_currency() click to toggle source

通貨コード(外貨)を取得する

通貨コード(外貨)を返却します。 serviceOptionType=“barcode”の場合に返戻。

@return

通貨コード(外貨)

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

通貨コード(外貨)を設定する

@param

#foreign_amount_currency 通貨コード(外貨)

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 365
def foreign_amount_currency=(foreign_amount_currency)
  @foreign_amount_currency = foreign_amount_currency
end
gateway_trans_id() click to toggle source

決済ゲートウェイ管理IDを取得する

決済ゲートウェイが発番するIDを返却します。 ※記号について、“-”(ハイフン)、“_”(アンダースコア)は返戻される可能性があります。

@return

決済ゲートウェイ管理ID

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

決済ゲートウェイ管理IDを設定する

@param

#gateway_trans_id 決済ゲートウェイ管理ID

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 213
def gateway_trans_id=(gateway_trans_id)
  @gateway_trans_id = gateway_trans_id
end
identity_code() click to toggle source

識別コードを取得する

識別コードを返します。 serviceOptionType=“scancode”、かつ、scancodeType=“0”の場合に返戻。

@return

識別コード

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

識別コードを設定する

@param

#identity_code 識別コード

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 251
def identity_code=(identity_code)
  @identity_code = identity_code
end
march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_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/alipayx_authorize_response_dto.rb, line 374
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/alipayx_authorize_response_dto.rb, line 383
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
pay_time_jp() click to toggle source

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

決済センターで決済が確定した日時(日本時間)を返します。 serviceOptionType=“barcode”の場合に返戻。

@return

決済日時(日本時間)

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

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

@param

#pay_time_jp 決済日時(日本時間)

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 176
def pay_time_jp=(pay_time_jp)
  @pay_time_jp = pay_time_jp
end
payment_source() click to toggle source

ペイメントソースを取得する

支払いを行った決済手段を表す情報を返します。 serviceOptionType=“barcode”の場合に返戻。

@return

ペイメントソース

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

ペイメントソースを設定する

@param

#payment_source ペイメントソース

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 232
def payment_source=(payment_source)
  @payment_source = payment_source
end
qr_code_img_url() click to toggle source

QRコード画像URLを取得する

QRコードURL(通常サイズ)を返します。 serviceOptionType=“scancode”、かつ、scancodeType=“0”の場合に返戻。

@return

QRコード画像URL

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

QRコード画像URLを設定する

@param

#qr_code_img_url QRコード画像URL

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 270
def qr_code_img_url=(qr_code_img_url)
  @qr_code_img_url = qr_code_img_url
end
qr_code_large_img_url() click to toggle source

QRコード画像URL(大)を取得する

QRコードURL(大きなサイズ)を返します。 serviceOptionType=“scancode”、かつ、scancodeType=“0”の場合に返戻。

@return

QRコード画像URL(大)

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

QRコード画像URL(大)を設定する

@param

#qr_code_large_img_url QRコード画像URL(大)

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 308
def qr_code_large_img_url=(qr_code_large_img_url)
  @qr_code_large_img_url = qr_code_large_img_url
end
qr_code_small_img_url() click to toggle source

QRコード画像URL(小)を取得する

QRコードURL(小さなサイズ)を返します。 serviceOptionType=“scancode”、かつ、scancodeType=“0”の場合に返戻。

@return

QRコード画像URL(小)

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

QRコード画像URL(小)を設定する

@param

#qr_code_small_img_url QRコード画像URL(小)

# File tgMdk/lib/tg_mdk/mdk_dto/alipayx_authorize_response_dto.rb, line 289
def qr_code_small_img_url=(qr_code_small_img_url)
  @qr_code_small_img_url = qr_code_small_img_url
end
service_type() click to toggle source

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

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

  • “alipayx”: Alipay+

@return

決済サービスタイプ

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