class Veritrans::Tercerog::Mdk::MerpayRefundRequestDto

決済サービスタイプ:merpay、コマンド名:返金の要求Dtoクラス

@author

VeriTrans Inc.

Constants

SERVICE_COMMAND

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

SERVICE_TYPE

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

Public Class Methods

new() click to toggle source

コンストラクタ

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

Public Instance Methods

amount() click to toggle source

返金金額を取得する

@return

返金金額

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

返金金額を設定する

返金金額を指定します。

- 1円以上かつ残高以下

空白の場合、全額返金とする
@param

amount 返金金額

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_request_dto.rb, line 167
def amount=(amount)
  @amount = amount
end
operator_id() click to toggle source

従業員IDを取得する

@return

従業員ID

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

従業員IDを設定する

従業員IDを指定します。

  • 最大文字数:128byte

@param

#operator_id 従業員ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_request_dto.rb, line 146
def operator_id=(operator_id)
  @operator_id = operator_id
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_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/merpay_refund_request_dto.rb, line 70
def order_id=(order_id)
  @order_id = order_id
end
service_command() click to toggle source

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

@return

決済サービスコマンド

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_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/merpay_refund_request_dto.rb, line 78
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

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

  • “barcode”:バーコード決済

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

@param

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

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_request_dto.rb, line 89
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/merpay_refund_request_dto.rb, line 42
def service_type
  @service_type = nil unless instance_variable_defined?(:@service_type)
  @service_type
end
store_id() click to toggle source

店舗IDを取得する

@return

店舗ID

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

店舗IDを設定する

店舗IDを指定します。

  • 最大文字数:32byte

@param

#store_id 店舗ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_request_dto.rb, line 108
def store_id=(store_id)
  @store_id = store_id
end
terminal_id() click to toggle source

店舗端末IDを取得する

@return

店舗端末ID

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

店舗端末IDを設定する

店舗端末IDを指定します。

  • 最大文字数:32byte

@param

#terminal_id 店舗端末ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_refund_request_dto.rb, line 127
def terminal_id=(terminal_id)
  @terminal_id = terminal_id
end