class Veritrans::Tercerog::Mdk::EmCancelRequestDto

決済サービスタイプ:電子マネー、コマンド名:取消の要求Dtoクラス

@author

VeriTrans Inc.

Constants

SERVICE_COMMAND

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

SERVICE_TYPE

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

Public Class Methods

new() click to toggle source

コンストラクタ

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

Public Instance Methods

cancel_mail_addr() click to toggle source

取消通知メールアドレスを取得する

@return

取消通知メールアドレス

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

取消通知メールアドレスを設定する

  • 決済の取消完了を利用者に通知するためのメールアドレスを指定します。

@param

#cancel_mail_addr 取消通知メールアドレス

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 124
def cancel_mail_addr=(cancel_mail_addr)
  @cancel_mail_addr = cancel_mail_addr
end
option_params() click to toggle source

拡張パラメータリストを取得する

@return

拡張パラメータリスト

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

拡張パラメータリストを設定する

@param

#option_params 拡張パラメータリスト

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 141
def option_params=(option_params)
  @option_params = option_params
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

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

  • ※Suicaに限り40桁を上限とする。

@param

#order_id 取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 88
def order_id=(order_id)
  @order_id = order_id
end
order_kind() click to toggle source

オーダー種別を取得する

@return

オーダー種別

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

オーダー種別を設定する

  • オーダー種別を指定します。

@param

#order_kind オーダー種別

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 106
def order_kind=(order_kind)
  @order_kind = order_kind
end
service_command() click to toggle source

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

@return

決済サービスコマンド

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 49
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/em_cancel_request_dto.rb, line 58
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

決済サービスオプションを設定する

  • 決済サービスのオプションを指定します

  • 例) モバイル-メール決済の場合: “suica-mobile-mail”

@param

#service_option_type 決済サービスオプション

# File tgMdk/lib/tg_mdk/mdk_dto/em_cancel_request_dto.rb, line 69
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/em_cancel_request_dto.rb, line 40
def service_type
  @service_type = nil unless instance_variable_defined?(:@service_type)
  @service_type
end