class Veritrans::Tercerog::Mdk::AlipayAuthorizeResponseDto

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

@author

VeriTrans Inc.

Public Instance Methods

buyer_charged_amount_cny() click to toggle source

請求金額(中国元)を取得する

Alipayから請求される金額(中国元) ※バーコード決済(店舗スキャン型)で返却します。

@return

請求金額(中国元)

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

請求金額(中国元)を設定する

@param

#buyer_charged_amount_cny 請求金額(中国元)

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 254
def buyer_charged_amount_cny=(buyer_charged_amount_cny)
  @buyer_charged_amount_cny = buyer_charged_amount_cny
end
center_trade_id() click to toggle source

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

VeriTrans4Gが発番するID ※バーコード決済(店舗スキャン型)、バーコード決済(消費者スキャン型)で返却します。

@return

決済センターとの取引ID

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

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

@param

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

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 197
def center_trade_id=(center_trade_id)
  @center_trade_id = center_trade_id
end
cust_txn() click to toggle source

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

@return

取引毎に付くID

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_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/alipay_authorize_response_dto.rb, line 140
def cust_txn=(cust_txn)
  @cust_txn = cust_txn
end
entry_form() click to toggle source

Alipayリダイレクト用HTMLフォーム文字列を取得する

AlipayへリダイレクトするためのHTML文 (デコード後に消費者ブラウザへ表示する必要があります) ※オンライン決済で返却します。

@return

Alipayリダイレクト用HTMLフォーム文字列

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

Alipayリダイレクト用HTMLフォーム文字列を設定する

@param

#entry_form Alipayリダイレクト用HTMLフォーム文字列

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 178
def entry_form=(entry_form)
  @entry_form = entry_form
end
march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_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/alipay_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/alipay_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/alipay_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/alipay_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/alipay_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/alipay_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/alipay_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/alipay_authorize_response_dto.rb, line 339
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/alipay_authorize_response_dto.rb, line 348
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
pay_time_cn() click to toggle source

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

Alipayで決済が確定した日時(中国時間) を返します。 ※バーコード決済(店舗スキャン型)で返却します。

@return

決済時刻(中国時間)

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

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

@param

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

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 235
def pay_time_cn=(pay_time_cn)
  @pay_time_cn = pay_time_cn
end
pay_time_jp() click to toggle source

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

Alipayで決済が確定した日時(日本時間) を返します。 ※バーコード決済(店舗スキャン型)で返却します。

@return

決済時刻(日本時間)

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 207
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/alipay_authorize_response_dto.rb, line 216
def pay_time_jp=(pay_time_jp)
  @pay_time_jp = pay_time_jp
end
qr_code() click to toggle source

QRコードを取得する

QRコード文字列 ※バーコード決済(消費者スキャン型)で返却します。

@return

QRコード

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

QRコードを設定する

@param

#qr_code QRコード

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 273
def qr_code=(qr_code)
  @qr_code = qr_code
end
qr_code_img_url() click to toggle source

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

QRコード画像のURL(サイズ:標準) ※バーコード決済(消費者スキャン型)で返却します。

@return

QRコード画像URL(標準)

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 283
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/alipay_authorize_response_dto.rb, line 292
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(サイズ:拡大) ※バーコード決済(消費者スキャン型)で返却します。

@return

QRコード画像URL(拡大)

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 321
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/alipay_authorize_response_dto.rb, line 330
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(サイズ:縮小) ※バーコード決済(消費者スキャン型)で返却します。

@return

QRコード画像URL(縮小)

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_authorize_response_dto.rb, line 302
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/alipay_authorize_response_dto.rb, line 311
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

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

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

  • “alipay”: Alipay決済

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_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/alipay_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/alipay_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/alipay_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/alipay_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/alipay_authorize_response_dto.rb, line 71
def v_result_code=(v_result_code)
  @v_result_code = v_result_code
end