class Veritrans::Tercerog::Mdk::PaypayAuthorizeConfirmRequestDto

決済サービスタイプ:paypay、コマンド名:決済結果確認の要求Dtoクラス

@author

VeriTrans Inc.

Constants

SERVICE_COMMAND

決済サービスコマンド 半角英数字 必須項目、固定値

SERVICE_TYPE

決済サービスタイプ 半角英数字 必須項目、固定値

Public Class Methods

new() click to toggle source

コンストラクタ

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 17
def initialize
  @service_type = SERVICE_TYPE
  @service_command = SERVICE_COMMAND
end

Public Instance Methods

jws() click to toggle source

JWSを取得する

@return

JWS

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

JWSを設定する

PayPayより返却されたJWSを指定します。

@param

jws JWS

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 108
def jws=(jws)
  @jws = jws
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

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

取引IDを設定する

  • マーチャント側で取引を一意に表す注文管理IDを指定します。

  • 申込処理ごとに一意である必要があります。

  • 半角英数字、“-”(ハイフン)、“_”(アンダースコア)も使用可能です。

@param

#order_id 取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 72
def order_id=(order_id)
  @order_id = order_id
end
service_command() click to toggle source

決済サービスコマンドを取得する

@return

決済サービスコマンド

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 51
def service_command
  @service_command = nil unless instance_variable_defined?(:@service_command)
  @service_command
end
service_option_type() click to toggle source

サービスオプションタイプを取得する

@return

サービスオプションタイプ

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

サービスオプションタイプを設定する

  • “online”: オンライン決済

@param

#service_option_type サービスオプションタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 90
def service_option_type=(service_option_type)
  @service_option_type = service_option_type
end
service_type() click to toggle source

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

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/paypay_authorize_confirm_request_dto.rb, line 42
def service_type
  @service_type = nil unless instance_variable_defined?(:@service_type)
  @service_type
end