class Veritrans::Tercerog::Mdk::AlipayCreateIdentityCodeResponseDto

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

@author

VeriTrans Inc.

Public Instance Methods

march_txn() click to toggle source

電文IDを取得する

@return

電文ID

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 108
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_create_identity_code_response_dto.rb, line 117
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_create_identity_code_response_dto.rb, line 90
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_create_identity_code_response_dto.rb, line 100
def merr_msg=(merr_msg)
  @merr_msg = merr_msg
end
mstatus() click to toggle source

処理結果コードを取得する

QRコード生成処理後、応答電文に含まれる値。 以下の処理結果のいずれかが格納される

  • success:正常終了

  • failure:異常終了

  • pending:保留状態

@return

処理結果コード

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

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

QRコード生成処理後、応答電文に含まれる値。 以下の処理結果のいずれかが格納される

  • success:正常終了

  • failure:異常終了

  • pending:保留状態

@param

mstatus 処理結果コード

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 58
def mstatus=(mstatus)
  @mstatus = mstatus
end
pay_now_id_response() click to toggle source

PayNowIDオブジェクトを取得する

@return

PayNowIDオブジェクト

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 183
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_create_identity_code_response_dto.rb, line 192
def pay_now_id_response=(pay_now_id_response)
  @pay_now_id_response = pay_now_id_response
end
qr_code() click to toggle source

QRコードを取得する

QRコード文字列

@return

QRコード

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

QRコードを設定する

QRコード文字列

@param

#qr_code QRコード

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 155
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_create_identity_code_response_dto.rb, line 164
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を設定する

QRコード画像のURL

@param

#qr_code_img_url QRコード画像URL

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 174
def qr_code_img_url=(qr_code_img_url)
  @qr_code_img_url = qr_code_img_url
end
service_type() click to toggle source

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

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

  • “alipay”: Alipay決済

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_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

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

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

  • “alipay”: Alipay決済

@param

#service_type 決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/alipay_create_identity_code_response_dto.rb, line 31
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_create_identity_code_response_dto.rb, line 126
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_create_identity_code_response_dto.rb, line 136
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_create_identity_code_response_dto.rb, line 69
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

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

処理結果を詳細に表すコードを返却します。

4桁ずつ4つのブロックで構成され、各ブロックでサービス毎の処理結果を表します。

@param

#v_result_code 詳細結果コード

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