accounting_type()
click to toggle source
課金種別を取得する¶ ↑
- @return
-
課金種別
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
課金種別
def accounting_type=(accounting_type)
@accounting_type = accounting_type
end
amount()
click to toggle source
決済金額を取得する¶ ↑
- @return
-
決済金額
def amount
@amount = nil unless instance_variable_defined?(:@amount)
@amount
end
amount=(amount)
click to toggle source
決済金額を設定する¶ ↑
決済金額を指定します。
- @param
-
amount 決済金額
def amount=(amount)
@amount = amount
end
au_id()
click to toggle source
au IDを取得する¶ ↑
- @return
-
au ID
def au_id
@au_id = nil unless instance_variable_defined?(:@au_id)
@au_id
end
au_id=(au_id)
click to toggle source
au IDを設定する¶ ↑
消費者が所有するau IDを指定します。
OpenIDもしくはau IDのいずれかのみ指定可能です。 auでのみ指定可能です。 loginAuIdの値に関係なく指定可能です。
- @param
-
#au_id au ID
def au_id=(au_id)
@au_id = au_id
end
billing_token()
click to toggle source
課金トークンを取得する¶ ↑
- @return
-
課金トークン
def billing_token
@billing_token = nil unless instance_variable_defined?(:@billing_token)
@billing_token
end
billing_token=(billing_token)
click to toggle source
課金トークンを設定する¶ ↑
バーコード決済用課金トークン。
消費者アプリのバーコードから読み取った値を設定してください。 auとdocomoのバーコード決済でのみ指定可能です。
- @param
-
#billing_token
課金トークン
def billing_token=(billing_token)
@billing_token = billing_token
end
cancel_url()
click to toggle source
決済キャンセル時URLを取得する¶ ↑
- @return
-
決済キャンセル時URL
def cancel_url
@cancel_url = nil unless instance_variable_defined?(:@cancel_url)
@cancel_url
end
cancel_url=(cancel_url)
click to toggle source
決済キャンセル時URLを設定する¶ ↑
決済キャンセル時に、店舗側サイトに画面遷移を戻すためのURLを指定します。
※ 未指定の場合は、マーチャント登録時に設定した値を使用
- @param
-
#cancel_url
決済キャンセル時URL
def cancel_url=(cancel_url)
@cancel_url = cancel_url
end
d3_flag()
click to toggle source
本人認証(3Dセキュア)を取得する¶ ↑
- @return
-
本人認証(3Dセキュア)
def d3_flag
@d3_flag = nil unless instance_variable_defined?(:@d3_flag)
@d3_flag
end
d3_flag=(d3_flag)
click to toggle source
本人認証(3Dセキュア)を設定する¶ ↑
sb_ktai以外は指定できません。
※ 未指定の場合は、「1: バイパス」
- @param
-
#d3_flag
本人認証(3Dセキュア)
def d3_flag=(d3_flag)
@d3_flag = d3_flag
end
error_url()
click to toggle source
決済エラー時URLを取得する¶ ↑
- @return
-
決済エラー時URL
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を指定します。
※ 未指定の場合は、マーチャント登録時に設定した値を使用
- @param
-
#error_url
決済エラー時URL
def error_url=(error_url)
@error_url = error_url
end
flets_area()
click to toggle source
フレッツエリアを取得する¶ ↑
- @return
-
フレッツエリア
def flets_area
@flets_area = nil unless instance_variable_defined?(:@flets_area)
@flets_area
end
flets_area=(flets_area)
click to toggle source
フレッツエリアを設定する¶ ↑
fletsでのみ指定可能です。
- @param
-
#flets_area
フレッツエリア
def flets_area=(flets_area)
@flets_area = flets_area
end
idauth()
click to toggle source
ID認証を取得する¶ ↑
- @return
-
ID認証
def idauth
@idauth = nil unless instance_variable_defined?(:@idauth)
@idauth
end
idauth=(idauth)
click to toggle source
ID認証を設定する¶ ↑
false:回線接続であれば回線による認証を行う true:IDによる認証を必須とする
※ 未指定の場合は、「false」
- @param
-
idauth ID認証
def idauth=(idauth)
@idauth = idauth
end
item_id()
click to toggle source
商品番号を取得する¶ ↑
- @return
-
商品番号
def item_id
@item_id = nil unless instance_variable_defined?(:@item_id)
@item_id
end
item_id=(item_id)
click to toggle source
商品番号を設定する¶ ↑
マーチャントシステム内で商品やサービスを特定するID
-
sb_matometeの継続課金の場合は、サービス識別子を18桁以内で指定してください。
-
fletsの場合、 8桁以下の半角数字を指定できます。
-
その他の場合、15桁以内で任意の値を指定できます。
- @param
-
#item_id
商品番号
def item_id=(item_id)
@item_id = item_id
end
item_info()
click to toggle source
商品情報を取得する¶ ↑
- @return
-
商品情報
def item_info
@item_info = nil unless instance_variable_defined?(:@item_info)
@item_info
end
item_info=(item_info)
click to toggle source
商品情報を設定する¶ ↑
キャリアによって用途が異なる項目です。※機種依存文字は利用できません。
・docomo:
・sb_ktai:
・sb_matomete:
・flets:
・au:
※au(課金種別がバーコードの場合)、sb_ktai(マーチャントの契約タイプが包括契約の場合)、s_bikkuriは指定できません。
※auの都度課金の場合は24文字以下の全角文字、継続課金の場合は15文字以下の全角文字を指定できます。
※その他の場合は20文字以下の全角文字を指定できます。
- @param
-
#item_info
商品情報
def item_info=(item_info)
@item_info = item_info
end
item_type()
click to toggle source
商品タイプを取得する¶ ↑
- @return
-
商品タイプ
def item_type
@item_type = nil unless instance_variable_defined?(:@item_type)
@item_type
end
item_type=(item_type)
click to toggle source
商品タイプを設定する¶ ↑
※ 未指定の場合は、マーチャント登録時にDBに設定された値を使用します。
- @param
-
#item_type
商品タイプ
def item_type=(item_type)
@item_type = item_type
end
login_au_id()
click to toggle source
auIDログインフラグを取得する¶ ↑
- @return
-
auIDログインフラグ
def login_au_id
@login_au_id = nil unless instance_variable_defined?(:@login_au_id)
@login_au_id
end
login_au_id=(login_au_id)
click to toggle source
auIDログインフラグを設定する¶ ↑
-
true : auIDログイン
-
false: ID連携
auでのみ指定可能です。
- @param
-
#login_au_id
auIDログインフラグ
def login_au_id=(login_au_id)
@login_au_id = login_au_id
end
mp_day()
click to toggle source
継続課金日を取得する¶ ↑
- @return
-
継続課金日
def mp_day
@mp_day = nil unless instance_variable_defined?(:@mp_day)
@mp_day
end
mp_day=(mp_day)
click to toggle source
継続課金日を設定する¶ ↑
- @param
-
#mp_day 継続課金日
def mp_day=(mp_day)
@mp_day = mp_day
end
mp_first_date()
click to toggle source
初回課金年月日を取得する¶ ↑
- @return
-
初回課金年月日
def mp_first_date
@mp_first_date = nil unless instance_variable_defined?(:@mp_first_date)
@mp_first_date
end
mp_first_date=(mp_first_date)
click to toggle source
初回課金年月日を設定する¶ ↑
- @param
-
#mp_first_date
初回課金年月日
def mp_first_date=(mp_first_date)
@mp_first_date = mp_first_date
end
open_id()
click to toggle source
OpenIDを取得する¶ ↑
- @return
-
OpenID
def open_id
@open_id = nil unless instance_variable_defined?(:@open_id)
@open_id
end
open_id=(open_id)
click to toggle source
OpenIDを設定する¶ ↑
キャリアより発行された消費者を識別するOpenIDを指定します。
OpenIDは、決済申込完了通知によりVeriTrans4Gから店舗側システムに連携されます。
sb_ktai、sb_matomete、s_bikkuri、fletsは指定できません。
- @param
-
#open_id
OpenID
def open_id=(open_id)
@open_id = open_id
end
order_id()
click to toggle source
取引IDを取得する¶ ↑
- @return
-
取引ID
def order_id
@order_id = nil unless instance_variable_defined?(:@order_id)
@order_id
end
order_id=(order_id)
click to toggle source
取引IDを設定する¶ ↑
- @param
-
#order_id
取引ID
def order_id=(order_id)
@order_id = order_id
end
payment_authentication_type()
click to toggle source
決済認証方式を取得する¶ ↑
- @return
-
決済認証方式
def payment_authentication_type
@payment_authentication_type = nil unless instance_variable_defined?(:@payment_authentication_type)
@payment_authentication_type
end
payment_authentication_type=(payment_authentication_type)
click to toggle source
決済認証方式を設定する¶ ↑
アプリ決済認証方式フラグ
auの都度決済でのみ指定可能です。 ※未指定の場合は、「0:ID認証方式」
- @param
-
#payment_authentication_type
決済認証方式
def payment_authentication_type=(payment_authentication_type)
@payment_authentication_type = payment_authentication_type
end
push_url()
click to toggle source
プッシュ先URLを取得する¶ ↑
- @return
-
プッシュ先URL
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を指定します。
※ ダミー取引と都度決済および随時決済の本番取引で指定可能です。 ※ 未指定の場合は、マーチャント登録時に設定した値を使用
- @param
-
#push_url
プッシュ先URL
def push_url=(push_url)
@push_url = push_url
end
receipt_no()
click to toggle source
レシート番号を取得する¶ ↑
- @return
-
レシート番号
def receipt_no
@receipt_no = nil unless instance_variable_defined?(:@receipt_no)
@receipt_no
end
receipt_no=(receipt_no)
click to toggle source
レシート番号を設定する¶ ↑
auのバーコード決済でのみ指定可能です。
- @param
-
#receipt_no
レシート番号
def receipt_no=(receipt_no)
@receipt_no = receipt_no
end
sb_uid()
click to toggle source
UIDを取得する¶ ↑
- @return
-
UID
def sb_uid
@sb_uid = nil unless instance_variable_defined?(:@sb_uid)
@sb_uid
end
sb_uid=(sb_uid)
click to toggle source
UIDを設定する¶ ↑
消費者端末からマーチャントシステムにアクセスした際のUIDを指定します。
s_bikkuriでのみ指定可能です。
- @param
-
#sb_uid UID
def sb_uid=(sb_uid)
@sb_uid = sb_uid
end
service_command()
click to toggle source
決済サービスコマンドを取得する¶ ↑
- @return
-
決済サービスコマンド
def service_command
@service_command = nil unless instance_variable_defined?(:@service_command)
@service_command
end
service_option_type()
click to toggle source
サービスオプションタイプを取得する¶ ↑
- @return
-
サービスオプションタイプ
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
サービスオプションタイプを設定する¶ ↑
- @param
-
#service_option_type
サービスオプションタイプ
def service_option_type=(service_option_type)
@service_option_type = service_option_type
end
service_type()
click to toggle source
決済サービスタイプを取得する¶ ↑
- @return
-
決済サービスタイプ
def service_type
@service_type = nil unless instance_variable_defined?(:@service_type)
@service_type
end
store_id()
click to toggle source
店舗IDを取得する¶ ↑
- @return
-
店舗ID
def store_id
@store_id = nil unless instance_variable_defined?(:@store_id)
@store_id
end
store_id=(store_id)
click to toggle source
店舗IDを設定する¶ ↑
以下の場合に指定可能です。
-
au:バーコード決済、都度決済(アプリ方式)
-
docomo:バーコード決済
※auの場合は半角数字8桁以内 ※未指定の場合は、マーチャント登録時にDBに設定された値
- @param
-
#store_id
店舗ID
def store_id=(store_id)
@store_id = store_id
end
success_url()
click to toggle source
決済完了時URLを取得する¶ ↑
- @return
-
決済完了時URL
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を指定します。
※ 未指定の場合は、マーチャント登録時に設定した値を使用
- @param
-
#success_url
決済完了時URL
def success_url=(success_url)
@success_url = success_url
end
term_id()
click to toggle source
端末管理番号を取得する¶ ↑
- @return
-
端末管理番号
def term_id
@term_id = nil unless instance_variable_defined?(:@term_id)
@term_id
end
term_id=(term_id)
click to toggle source
端末管理番号を設定する¶ ↑
auの都度決済(アプリ方式)とバーコード決済でのみ指定可能です。
- @param
-
#term_id
端末管理番号
def term_id=(term_id)
@term_id = term_id
end
terminal_kind()
click to toggle source
端末種別を取得する¶ ↑
- @return
-
端末種別
def terminal_kind
@terminal_kind = nil unless instance_variable_defined?(:@terminal_kind)
@terminal_kind
end
terminal_kind=(terminal_kind)
click to toggle source
端末種別を設定する¶ ↑
-
0:PC
-
1:スマートフォン
-
2:フィーチャーフォン
- @param
-
#terminal_kind
端末種別
def terminal_kind=(terminal_kind)
@terminal_kind = terminal_kind
end
with_capture()
click to toggle source
与信同時売上フラグを取得する¶ ↑
- @return
-
与信同時売上フラグ
def with_capture
@with_capture = nil unless instance_variable_defined?(:@with_capture)
@with_capture
end
with_capture=(with_capture)
click to toggle source
与信同時売上フラグを設定する¶ ↑
-
true : 与信同時売上
-
false: 与信のみ
※ 都度決済で未指定の場合は、false:与信のみ。ただし、sb_matometeはtrue:与信同時売上として扱います。 ※
以下の場合はtrue:与信同時売上のみ。未指定の場合はtrue:与信同時売上として扱います。
・docomo(バーコード)
・au(バーコード)
・au(スキャンコード)
- @param
-
#with_capture
与信同時売上フラグ
def with_capture=(with_capture)
@with_capture = with_capture
end