class Veritrans::Tercerog::Mdk::FraudDetectionOrderDto

不正検知注文情報Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

failed_payment_attempts() click to toggle source

決済失敗回数を取得する

決済試行し、失敗した回数を設定してください。

@return

決済失敗回数

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

決済失敗回数を設定する

決済試行し、失敗した回数を設定してください。

@param

#failed_payment_attempts 決済失敗回数

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 84
def failed_payment_attempts=(failed_payment_attempts)
  @failed_payment_attempts = failed_payment_attempts
end
id() click to toggle source

注文IDを取得する

@return

注文ID

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

注文IDを設定する

@param

id 注文ID

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 27
def id=(id)
  @id = id
end
line_items() click to toggle source

商品情報を取得する

商品情報オブジェクト

@return

商品情報

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

商品情報を設定する

商品情報オブジェクト

@param

#line_items 商品情報

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 120
def line_items=(line_items)
  @line_items = line_items
end
oi_repeat() click to toggle source

lineItemsのサイズを取得する

@return

lineItemsのサイズ

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

lineItemsのサイズを設定する

@param

#oi_repeat lineItemsのサイズ

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 101
def oi_repeat=(oi_repeat)
  @oi_repeat = oi_repeat
end
promo_code() click to toggle source

プロモーションコードを取得する

商品購入時に使用したプロモーションコードを設定してください。

@return

プロモーションコード

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

プロモーションコードを設定する

商品購入時に使用したプロモーションコードを設定してください。

@param

#promo_code プロモーションコード

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 65
def promo_code=(promo_code)
  @promo_code = promo_code
end
shipment() click to toggle source

配送情報を取得する

配送情報オブジェクト

@return

配送情報

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

配送情報を設定する

配送情報オブジェクト

@param

shipment 配送情報

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 139
def shipment=(shipment)
  @shipment = shipment
end
source() click to toggle source

注文経路を取得する

注文経路を設定してください。注文サイトのURL等。

@return

注文経路

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

注文経路を設定する

注文経路を設定してください。注文サイトのURL等。

@param

source 注文経路

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_order_dto.rb, line 46
def source=(source)
  @source = source
end