Class: Peddler::Reports::Promotion::DetailsByProduct
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::Promotion::DetailsByProduct
- Defined in:
- sig/peddler/reports/promotion.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String
readonly
Returns the value of attribute asin.
-
#product_amount_spent ⇒ Float?
readonly
Returns the value of attribute product_amount_spent.
-
#product_amount_spent_currency_code ⇒ String?
readonly
Returns the value of attribute product_amount_spent_currency_code.
-
#product_glance_views ⇒ Integer?
readonly
Returns the value of attribute product_glance_views.
-
#product_name ⇒ String
readonly
Returns the value of attribute product_name.
-
#product_revenue ⇒ Float
readonly
Returns the value of attribute product_revenue.
-
#product_revenue_currency_code ⇒ String
readonly
Returns the value of attribute product_revenue_currency_code.
-
#product_units_sold ⇒ Integer
readonly
Returns the value of attribute product_units_sold.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::Promotion::DetailsByProduct
Instance Method Summary collapse
-
#members ⇒ [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
-
#to_h ⇒ { asin: String, product_name: String, product_revenue: Float, product_revenue_currency_code: String, product_units_sold: Integer, product_amount_spent: Float?, product_amount_spent_currency_code: String?, product_glance_views: Integer? }
Instance Attribute Details
#asin ⇒ String (readonly)
Returns the value of attribute asin.
14 15 16 |
# File 'sig/peddler/reports/promotion.rbs', line 14 def asin @asin end |
#product_amount_spent ⇒ Float? (readonly)
Returns the value of attribute product_amount_spent.
15 16 17 |
# File 'sig/peddler/reports/promotion.rbs', line 15 def product_amount_spent @product_amount_spent end |
#product_amount_spent_currency_code ⇒ String? (readonly)
Returns the value of attribute product_amount_spent_currency_code.
16 17 18 |
# File 'sig/peddler/reports/promotion.rbs', line 16 def product_amount_spent_currency_code @product_amount_spent_currency_code end |
#product_glance_views ⇒ Integer? (readonly)
Returns the value of attribute product_glance_views.
17 18 19 |
# File 'sig/peddler/reports/promotion.rbs', line 17 def product_glance_views @product_glance_views end |
#product_name ⇒ String (readonly)
Returns the value of attribute product_name.
18 19 20 |
# File 'sig/peddler/reports/promotion.rbs', line 18 def product_name @product_name end |
#product_revenue ⇒ Float (readonly)
Returns the value of attribute product_revenue.
19 20 21 |
# File 'sig/peddler/reports/promotion.rbs', line 19 def product_revenue @product_revenue end |
#product_revenue_currency_code ⇒ String (readonly)
Returns the value of attribute product_revenue_currency_code.
20 21 22 |
# File 'sig/peddler/reports/promotion.rbs', line 20 def product_revenue_currency_code @product_revenue_currency_code end |
#product_units_sold ⇒ Integer (readonly)
Returns the value of attribute product_units_sold.
21 22 23 |
# File 'sig/peddler/reports/promotion.rbs', line 21 def product_units_sold @product_units_sold end |
Class Method Details
.[](asin:, product_name:, product_revenue:, product_revenue_currency_code:, product_units_sold:, product_amount_spent:, product_amount_spent_currency_code:, product_glance_views:) ⇒ Peddler::Reports::Promotion::DetailsByProduct .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Reports::Promotion::DetailsByProduct
7 8 |
# File 'sig/peddler/reports/promotion.rbs', line 7
def self.[]: (asin: String, product_name: String, product_revenue: Float, product_revenue_currency_code: String, product_units_sold: Integer, ?product_amount_spent: Float?, ?product_amount_spent_currency_code: String?, ?product_glance_views: Integer?) -> Peddler::Reports::Promotion::DetailsByProduct
| (String, String, Float, String, Integer, Float?, String?, Integer?) -> Peddler::Reports::Promotion::DetailsByProduct
|
.members ⇒ [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
10 |
# File 'sig/peddler/reports/promotion.rbs', line 10
def self.members: () -> [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
|
.new(asin:, product_name:, product_revenue:, product_revenue_currency_code:, product_units_sold:, product_amount_spent:, product_amount_spent_currency_code:, product_glance_views:) ⇒ Peddler::Reports::Promotion::DetailsByProduct .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Reports::Promotion::DetailsByProduct
5 6 |
# File 'sig/peddler/reports/promotion.rbs', line 5
def self.new: (asin: String, product_name: String, product_revenue: Float, product_revenue_currency_code: String, product_units_sold: Integer, ?product_amount_spent: Float?, ?product_amount_spent_currency_code: String?, ?product_glance_views: Integer?) -> Peddler::Reports::Promotion::DetailsByProduct
| (String, String, Float, String, Integer, Float?, String?, Integer?) -> Peddler::Reports::Promotion::DetailsByProduct
|
.parse ⇒ Peddler::Reports::Promotion::DetailsByProduct
12 |
# File 'sig/peddler/reports/promotion.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::Promotion::DetailsByProduct
|
Instance Method Details
#members ⇒ [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
23 |
# File 'sig/peddler/reports/promotion.rbs', line 23
def members: () -> [ :asin, :product_name, :product_revenue, :product_revenue_currency_code, :product_units_sold, :product_amount_spent, :product_amount_spent_currency_code, :product_glance_views ]
|
#to_h ⇒ { asin: String, product_name: String, product_revenue: Float, product_revenue_currency_code: String, product_units_sold: Integer, product_amount_spent: Float?, product_amount_spent_currency_code: String?, product_glance_views: Integer? }
24 |
# File 'sig/peddler/reports/promotion.rbs', line 24
def to_h: () -> { asin: String, product_name: String, product_revenue: Float, product_revenue_currency_code: String, product_units_sold: Integer, product_amount_spent: Float?, product_amount_spent_currency_code: String?, product_glance_views: Integer? }
|