class Veritrans::Tercerog::Mdk::MerpayAuthorizeRequestDto

決済サービスタイプ: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_authorize_request_dto.rb, line 17
def initialize
  @service_type = SERVICE_TYPE
  @service_command = SERVICE_COMMAND
end

Public Instance Methods

accounting_type() click to toggle source

課金種別を取得する

@return

課金種別

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 121
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:随時

serviceOptionType=“barcode”(バーコード決済) : 指定できません serviceOptionType=“online”(オンライン決済) : 指定任意※

※オンライン決済で未指定の場合、“0”都度決済になります。

@param

#accounting_type 課金種別

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

決済金額を取得する

@return

決済金額

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

決済金額を設定する

決済金額を指定します。

  • バーコード決済:1以上かつ 1000000(7桁) 以下

  • オンライン決済:1以上かつ 1000000(7桁) 以下 ※

※accountingTypeが“1:随時” かつconsentAuthTypeが“0:承諾のみ”の場合は、0または未設定のみ許容する。

@param

amount 決済金額

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 113
def amount=(amount)
  @amount = amount
end
brand() click to toggle source

ブランド名を取得する

@return

ブランド名

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

ブランド名を設定する

@param

brand ブランド名

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 578
def brand=(brand)
  @brand = brand
end
cancel_url() click to toggle source

決済キャンセルURLを取得する

@return

決済キャンセルURL

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 262
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 ※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。

@param

#cancel_url 決済キャンセルURL

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 273
def cancel_url=(cancel_url)
  @cancel_url = cancel_url
end
category() click to toggle source

カテゴリ名を取得する

@return

カテゴリ名

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

カテゴリ名を設定する

@param

category カテゴリ名

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 544
def category=(category)
  @category = category
end
category_id() click to toggle source

商品カテゴリIDを取得する

@return

商品カテゴリID

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

商品カテゴリIDを設定する

@param

#category_id 商品カテゴリID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 702
def category_id=(category_id)
  @category_id = category_id
end
color() click to toggle source

色を取得する

@return

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

色を設定する

@param

color 色

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 595
def color=(color)
  @color = color
end
description() click to toggle source

商品説明を取得する

@return

商品説明

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

商品説明を設定する

※かんたん出品連携利用時は必須

@param

description 商品説明

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 347
def description=(description)
  @description = description
end
image_url1() click to toggle source

商品画像URL1を取得する

@return

商品画像URL1

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

商品画像URL1を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url1 商品画像URL1

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 367
def image_url1=(image_url1)
  @image_url1 = image_url1
end
image_url2() click to toggle source

商品画像URL2を取得する

@return

商品画像URL2

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

商品画像URL2を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url2 商品画像URL2

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 387
def image_url2=(image_url2)
  @image_url2 = image_url2
end
image_url3() click to toggle source

商品画像URL3を取得する

@return

商品画像URL3

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

商品画像URL3を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url3 商品画像URL3

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 407
def image_url3=(image_url3)
  @image_url3 = image_url3
end
image_url4() click to toggle source

商品画像URL4を取得する

@return

商品画像URL4

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

商品画像URL4を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url4 商品画像URL4

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 427
def image_url4=(image_url4)
  @image_url4 = image_url4
end
image_url5() click to toggle source

商品画像URL5を取得する

@return

商品画像URL5

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

商品画像URL5を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url5 商品画像URL5

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 447
def image_url5=(image_url5)
  @image_url5 = image_url5
end
image_url6() click to toggle source

商品画像URL6を取得する

@return

商品画像URL6

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

商品画像URL6を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url6 商品画像URL6

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 467
def image_url6=(image_url6)
  @image_url6 = image_url6
end
image_url7() click to toggle source

商品画像URL7を取得する

@return

商品画像URL7

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

商品画像URL7を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url7 商品画像URL7

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 487
def image_url7=(image_url7)
  @image_url7 = image_url7
end
image_url8() click to toggle source

商品画像URL8を取得する

@return

商品画像URL8

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

商品画像URL8を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url8 商品画像URL8

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 507
def image_url8=(image_url8)
  @image_url8 = image_url8
end
image_url9() click to toggle source

商品画像URL9を取得する

@return

商品画像URL9

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

商品画像URL9を設定する

※かんたん出品連携利用時は必須

  • ただし、やむを得ない場合のみ、メルペイ営業担当と相談の上、

    かんたん出品連携の利用が可能になる場合あり
    
@param

#image_url9 商品画像URL9

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 527
def image_url9=(image_url9)
  @image_url9 = image_url9
end
item_code() click to toggle source

製品管理コード(SKU)を取得する

@return

製品管理コード(SKU)

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

製品管理コード(SKU)を設定する

※かんたん出品連携利用時は必須

@param

#item_code 製品管理コード(SKU)

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 668
def item_code=(item_code)
  @item_code = item_code
end
jan_code() click to toggle source

JANコードを取得する

@return

JANコード

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

JANコードを設定する

@param

#jan_code JANコード

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 685
def jan_code=(jan_code)
  @jan_code = jan_code
end
list_price() click to toggle source

定価を取得する

@return

定価

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

定価を設定する

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

@param

#list_price 定価

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 613
def list_price=(list_price)
  @list_price = list_price
end
name() click to toggle source

商品名を取得する

@return

商品名

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

商品名を設定する

※かんたん出品連携利用時は必須

@param

name 商品名

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 329
def name=(name)
  @name = name
end
one_time_code() click to toggle source

ワンタイムコードを取得する

@return

ワンタイムコード

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

ワンタイムコードを設定する

バーコード決済を利用する際のQRコード、バーコードの値を指定します。 記号は、“+”(プラス)、“/”(スラッシュ)、“=”(イコール)が使用可能です。

@param

#one_time_code ワンタイムコード

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 311
def one_time_code=(one_time_code)
  @one_time_code = one_time_code
end
operator_id() click to toggle source

従業員IDを取得する

@return

従業員ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 205
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_authorize_request_dto.rb, line 216
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_authorize_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_authorize_request_dto.rb, line 72
def order_id=(order_id)
  @order_id = order_id
end
preapproved_service_description() click to toggle source

提供サービス説明を取得する

@return

提供サービス説明

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

提供サービス説明を設定する

随時決済の場合のみ設定

@param

#preapproved_service_description 提供サービス説明

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 778
def preapproved_service_description=(preapproved_service_description)
  @preapproved_service_description = preapproved_service_description
end
preapproved_service_name() click to toggle source

提供サービス名を取得する

@return

提供サービス名

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

提供サービス名を設定する

随時決済の場合のみ設定

@param

#preapproved_service_name 提供サービス名

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 760
def preapproved_service_name=(preapproved_service_name)
  @preapproved_service_name = preapproved_service_name
end
push_url() click to toggle source

PUSH通知URLを取得する

@return

PUSH通知URL

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

PUSH通知URLを設定する

決済結果を応答するPush通知先URL ※未指定の場合は、MAP(Merchant Administrator Portal)から登録申請した値を使用。

@param

#push_url PUSH通知URL

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 292
def push_url=(push_url)
  @push_url = push_url
end
quantity() click to toggle source

購入数を取得する

@return

購入数

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

購入数を設定する

※かんたん出品連携利用時は必須

@param

quantity 購入数

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 650
def quantity=(quantity)
  @quantity = quantity
end
service_command() click to toggle source

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

@return

決済サービスコマンド

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

サイズを取得する

@return

サイズ

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

サイズを設定する

@param

size サイズ

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 561
def size=(size)
  @size = size
end
slip_code() click to toggle source

伝票コードを取得する

@return

伝票コード

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

伝票コードを設定する

伝票コードを指定します。

  • 最大文字数:128byte

@param

#slip_code 伝票コード

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 235
def slip_code=(slip_code)
  @slip_code = slip_code
end
store_id() click to toggle source

店舗IDを取得する

@return

店舗ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 167
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_authorize_request_dto.rb, line 178
def store_id=(store_id)
  @store_id = store_id
end
success_url() click to toggle source

決済成功URLを取得する

@return

決済成功URL

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 243
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/merpay_authorize_request_dto.rb, line 254
def success_url=(success_url)
  @success_url = success_url
end
terminal_id() click to toggle source

店舗端末IDを取得する

@return

店舗端末ID

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 186
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_authorize_request_dto.rb, line 197
def terminal_id=(terminal_id)
  @terminal_id = terminal_id
end
unit_price() click to toggle source

購入時価格を取得する

@return

購入時価格

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

購入時価格を設定する

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

※かんたん出品連携利用時は必須

@param

#unit_price 購入時価格

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 632
def unit_price=(unit_price)
  @unit_price = unit_price
end
use_buyer_info() click to toggle source

購入者情報フラグを取得する

@return

購入者情報フラグ

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

購入者情報フラグを設定する

  • true : merpayより購入者情報必要

  • false : merpayより購入者情報不要

※未指定の場合は、falseとする

@param

#use_buyer_info 購入者情報フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 742
def use_buyer_info=(use_buyer_info)
  @use_buyer_info = use_buyer_info
end
use_delivery_address() click to toggle source

配送先情報フラグを取得する

@return

配送先情報フラグ

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

配送先情報フラグを設定する

  • true : merpayより配送先情報必要

  • false : merpayより配送先情報不要

※未指定の場合は、falseとする

@param

#use_delivery_address 配送先情報フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 722
def use_delivery_address=(use_delivery_address)
  @use_delivery_address = use_delivery_address
end
user_agent() click to toggle source

ユーザエージェントを取得する

@return

ユーザエージェント

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

ユーザエージェントを設定する

@param

#user_agent ユーザエージェント

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 795
def user_agent=(user_agent)
  @user_agent = user_agent
end
with_capture() click to toggle source

与信同時売上フラグを取得する

@return

与信同時売上フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 145
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 : 与信のみ(“バーコード決済では指定不可”)

※バーコード決済で未指定の場合は、true:与信同時売上。

※オンライン決済で未指定の場合は、false:与信のみ。 ※accountingTypeが“1:随時”かつconsentAuthTypeが“0:承諾のみ”の場合、当項目は指定不可とする。

@param

#with_capture 与信同時売上フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/merpay_authorize_request_dto.rb, line 159
def with_capture=(with_capture)
  @with_capture = with_capture
end