class Veritrans::Tercerog::Mdk::FraudDetectionLineItemDto

不正検知商品情報Dtoクラス

@author

VeriTrans Inc.

Public Instance Methods

brand() click to toggle source

ブランドを取得する

@return

ブランド

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 143
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/fraud_detection_line_item_dto.rb, line 153
def brand=(brand)
  @brand = brand
end
category() click to toggle source

カテゴリを取得する

@return

カテゴリ

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 125
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/fraud_detection_line_item_dto.rb, line 135
def category=(category)
  @category = category
end
description() click to toggle source

商品説明を取得する

@return

商品説明

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 53
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/fraud_detection_line_item_dto.rb, line 63
def description=(description)
  @description = description
end
ean_code() click to toggle source

EANコードを取得する

@return

EANコード

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

EANコードを設定する

商品のEAN/JANコードを設定してください。

@param

#ean_code EANコード

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 99
def ean_code=(ean_code)
  @ean_code = ean_code
end
name() click to toggle source

商品名を取得する

@return

商品名

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 35
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/fraud_detection_line_item_dto.rb, line 45
def name=(name)
  @name = name
end
promo_code() click to toggle source

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

@return

プロモーションコード

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 107
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_line_item_dto.rb, line 117
def promo_code=(promo_code)
  @promo_code = promo_code
end
quantity() click to toggle source

商品数量を取得する

@return

商品数量

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 221
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/fraud_detection_line_item_dto.rb, line 231
def quantity=(quantity)
  @quantity = quantity
end
ref_id() click to toggle source

商品情報参照用Keyを取得する

@return

商品情報参照用Key

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

商品情報参照用Keyを設定する

他項目から、商品情報オブジェクトへの参照用の Key 名称。

@param

#ref_id 商品情報参照用Key

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 27
def ref_id=(ref_id)
  @ref_id = ref_id
end
seller_id() click to toggle source

販売者IDを取得する

@return

販売者ID

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

販売者IDを設定する

購入者が他の方に販売する際の販売者IDを設定してください。 amazonマーケットプレイスの出品者ID等。

@param

#seller_id 販売者ID

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 172
def seller_id=(seller_id)
  @seller_id = seller_id
end
sku() click to toggle source

商品識別IDを取得する

@return

商品識別ID

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

商品識別IDを設定する

商品を識別する ID を設定してください。

@param

sku 商品識別ID

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 81
def sku=(sku)
  @sku = sku
end
total_amount() click to toggle source

商品合計額を取得する

@return

商品合計額

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

商品合計額を設定する

商品の合計額を設定してください。

@param

#total_amount 商品合計額

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 284
def total_amount=(total_amount)
  @total_amount = total_amount
end
total_currency_code() click to toggle source

商品通貨コード(商品合計)を取得する

@return

商品通貨コード(商品合計)

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

商品通貨コード(商品合計)を設定する

@param

#total_currency_code 商品通貨コード(商品合計)

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 301
def total_currency_code=(total_currency_code)
  @total_currency_code = total_currency_code
end
unit() click to toggle source

重量単位を取得する

@return

重量単位

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

重量単位を設定する

重量の単位を設定してください。 選択肢は「POUND,OUNCE,GRAM,KILOGRAM」の何れかになります。 POUND:ポンド OUNCE:オンス GRAM:グラム KILOGRAM:キログラム

@param

unit 重量単位

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 213
def unit=(unit)
  @unit = unit
end
unit_amount() click to toggle source

商品単価を取得する

@return

商品単価

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

商品単価を設定する

商品の単価を設定してください。

@param

#unit_amount 商品単価

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 249
def unit_amount=(unit_amount)
  @unit_amount = unit_amount
end
unit_currency_code() click to toggle source

商品通貨コード(商品単価)を取得する

@return

商品通貨コード(商品単価)

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

商品通貨コード(商品単価)を設定する

@param

#unit_currency_code 商品通貨コード(商品単価)

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 266
def unit_currency_code=(unit_currency_code)
  @unit_currency_code = unit_currency_code
end
unit_weight() click to toggle source

商品重量を取得する

@return

商品重量

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

商品重量を設定する

商品の重量を設定してください。

@param

#unit_weight 商品重量

# File tgMdk/lib/tg_mdk/mdk_dto/fraud_detection_line_item_dto.rb, line 190
def unit_weight=(unit_weight)
  @unit_weight = unit_weight
end