class Veritrans::Tercerog::Mdk::BankpayPrepareAccountAddRequestDto

決済サービスタイプ: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_prepare_account_add_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_prepare_account_add_request_dto.rb, line 96
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_prepare_account_add_request_dto.rb, line 108
def account_id=(account_id)
  @account_id = account_id
end
bank_code() click to toggle source

銀行コードを取得する

@return

銀行コード

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

銀行コードを設定する

登録口座の銀行コードを入力します。

@param

#bank_code 銀行コード

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_prepare_account_add_request_dto.rb, line 186
def bank_code=(bank_code)
  @bank_code = bank_code
end
error_url() click to toggle source

決済エラー時URLを取得する

@return

決済エラー時URL

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

決済エラー時URLを設定する

口座登録エラー時に、店舗側サイトに画面遷移を戻すためのURLを指定します。

※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。

@param

#error_url 決済エラー時URL

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_prepare_account_add_request_dto.rb, line 148
def error_url=(error_url)
  @error_url = error_url
end
member_id() click to toggle source

会員IDを取得する

@return

会員ID

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_prepare_account_add_request_dto.rb, line 78
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_prepare_account_add_request_dto.rb, line 88
def member_id=(member_id)
  @member_id = member_id
end
push_url() click to toggle source

プッシュ先URLを取得する

@return

プッシュ先URL

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

プッシュ先URLを設定する

プッシュURLを指定します。

※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。

@param

#push_url プッシュ先URL

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_prepare_account_add_request_dto.rb, line 168
def push_url=(push_url)
  @push_url = push_url
end
service_command() click to toggle source

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

@return

決済サービスコマンド

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

決済完了時URLを取得する

@return

決済完了時URL

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

決済完了時URLを設定する

口座登録完了後に、店舗側サイトに画面遷移を戻すためのURLを指定します。

※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。

@param

#success_url 決済完了時URL

# File tgMdk/lib/tg_mdk/mdk_dto/bankpay_prepare_account_add_request_dto.rb, line 128
def success_url=(success_url)
  @success_url = success_url
end