class Veritrans::Tercerog::Mdk::BankpayAuthorizeRequestDto

決済サービスタイプ:bankpay、コマンド名:決済申込の要求Dtoクラス

@author

VeriTrans Inc.

Constants

SERVICE_COMMAND

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

SERVICE_TYPE

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

Public Class Methods

new() click to toggle source

コンストラクタ

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

Public Instance Methods

account_id() click to toggle source

口座IDを取得する

@return

口座ID

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

口座IDを設定する

決済申込対象の口座IDを指定します。

@param

#account_id 口座ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_request_dto.rb, line 145
def account_id=(account_id)
  @account_id = account_id
end
accounting_type() click to toggle source

課金種別を取得する

@return

課金種別

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

課金種別を設定する

“0”:都度決済 “1”:継続課金 “2”:チャージ(オープン) “3”:チャージ(ハウス) “4”:チャージ(資金移動)

@param

#accounting_type 課金種別

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

決済金額を取得する

@return

決済金額

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

決済金額を設定する

決済金額を指定します。

  • 1 以上かつ 9999999(7桁) 以下

@param

amount 決済金額

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_request_dto.rb, line 109
def amount=(amount)
  @amount = amount
end
member_id() click to toggle source

会員IDを取得する

@return

会員ID

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

会員IDを設定する

決済申込対象の会員IDを指定します。

@param

#member_id 会員ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_request_dto.rb, line 127
def member_id=(member_id)
  @member_id = member_id
end
order_id() click to toggle source

取引IDを取得する

@return

取引ID

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

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

@return

決済サービスコマンド

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_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/bankpay_authorize_request_dto.rb, line 60
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/bankpay_authorize_request_dto.rb, line 70
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/bankpay_authorize_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/bankpay_authorize_request_dto.rb, line 196
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を指定します。

@param

#store_id 店舗ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_request_dto.rb, line 206
def store_id=(store_id)
  @store_id = store_id
end
store_name() click to toggle source

店舗名を取得する

@return

店舗名

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

店舗名を設定する

店舗名を指定します。

@param

#store_name 店舗名

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_authorize_request_dto.rb, line 224
def store_name=(store_name)
  @store_name = store_name
end
terminal_id() click to toggle source

端末機識別番号を取得する

@return

端末機識別番号

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

端末機識別番号を設定する

端末機識別番号を入力します。 店舗POSなどの決済端末を識別する値を指定 チャージのみの利用の場合は、一意な値を設定。 流通決済事業者コードを設定可能な場合は先頭5桁の設定を推奨。

@param

#terminal_id 端末機識別番号

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