Class: Peddler::Reports::Promotion::DetailsByPromotion
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::Promotion::DetailsByPromotion
- Defined in:
- sig/peddler/reports/promotion.rbs
Instance Attribute Summary collapse
-
#amount_spent ⇒ Float?
readonly
Returns the value of attribute amount_spent.
-
#amount_spent_currency_code ⇒ String?
readonly
Returns the value of attribute amount_spent_currency_code.
-
#created_date_time ⇒ Time
readonly
Returns the value of attribute created_date_time.
-
#creation_channel ⇒ String
readonly
Returns the value of attribute creation_channel.
-
#end_date_time ⇒ Time
readonly
Returns the value of attribute end_date_time.
-
#funding_agreement_id ⇒ String?
readonly
Returns the value of attribute funding_agreement_id.
-
#glance_views ⇒ Integer?
readonly
Returns the value of attribute glance_views.
-
#included_products ⇒ Array[Peddler::Reports::Promotion::DetailsByProduct]
readonly
Returns the value of attribute included_products.
-
#last_updated_date_time ⇒ Time
readonly
Returns the value of attribute last_updated_date_time.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#merchant_id ⇒ String?
readonly
Returns the value of attribute merchant_id.
-
#promotion_id ⇒ String
readonly
Returns the value of attribute promotion_id.
-
#promotion_name ⇒ String
readonly
Returns the value of attribute promotion_name.
-
#revenue ⇒ Float
readonly
Returns the value of attribute revenue.
-
#revenue_currency_code ⇒ String
readonly
Returns the value of attribute revenue_currency_code.
-
#start_date_time ⇒ Time
readonly
Returns the value of attribute start_date_time.
-
#status ⇒ String
readonly
Returns the value of attribute status.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#units_sold ⇒ Integer
readonly
Returns the value of attribute units_sold.
-
#vendor_code ⇒ String?
readonly
Returns the value of attribute vendor_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::Promotion::DetailsByPromotion
Instance Method Summary collapse
-
#members ⇒ [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
-
#to_h ⇒ { created_date_time: Time, creation_channel: String, end_date_time: Time, included_products: Array[Peddler::Reports::Promotion::DetailsByProduct], last_updated_date_time: Time, marketplace_id: String, promotion_id: String, promotion_name: String, revenue: Float, revenue_currency_code: String, start_date_time: Time, status: String, type: String, units_sold: Integer, amount_spent: Float?, amount_spent_currency_code: String?, funding_agreement_id: String?, glance_views: Integer?, merchant_id: String?, vendor_code: String? }
Instance Attribute Details
#amount_spent ⇒ Float? (readonly)
Returns the value of attribute amount_spent.
37 38 39 |
# File 'sig/peddler/reports/promotion.rbs', line 37 def amount_spent @amount_spent end |
#amount_spent_currency_code ⇒ String? (readonly)
Returns the value of attribute amount_spent_currency_code.
38 39 40 |
# File 'sig/peddler/reports/promotion.rbs', line 38 def amount_spent_currency_code @amount_spent_currency_code end |
#created_date_time ⇒ Time (readonly)
Returns the value of attribute created_date_time.
39 40 41 |
# File 'sig/peddler/reports/promotion.rbs', line 39 def created_date_time @created_date_time end |
#creation_channel ⇒ String (readonly)
Returns the value of attribute creation_channel.
40 41 42 |
# File 'sig/peddler/reports/promotion.rbs', line 40 def creation_channel @creation_channel end |
#end_date_time ⇒ Time (readonly)
Returns the value of attribute end_date_time.
41 42 43 |
# File 'sig/peddler/reports/promotion.rbs', line 41 def end_date_time @end_date_time end |
#funding_agreement_id ⇒ String? (readonly)
Returns the value of attribute funding_agreement_id.
42 43 44 |
# File 'sig/peddler/reports/promotion.rbs', line 42 def funding_agreement_id @funding_agreement_id end |
#glance_views ⇒ Integer? (readonly)
Returns the value of attribute glance_views.
43 44 45 |
# File 'sig/peddler/reports/promotion.rbs', line 43 def glance_views @glance_views end |
#included_products ⇒ Array[Peddler::Reports::Promotion::DetailsByProduct] (readonly)
Returns the value of attribute included_products.
44 45 46 |
# File 'sig/peddler/reports/promotion.rbs', line 44 def included_products @included_products end |
#last_updated_date_time ⇒ Time (readonly)
Returns the value of attribute last_updated_date_time.
45 46 47 |
# File 'sig/peddler/reports/promotion.rbs', line 45 def last_updated_date_time @last_updated_date_time end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
46 47 48 |
# File 'sig/peddler/reports/promotion.rbs', line 46 def marketplace_id @marketplace_id end |
#merchant_id ⇒ String? (readonly)
Returns the value of attribute merchant_id.
47 48 49 |
# File 'sig/peddler/reports/promotion.rbs', line 47 def merchant_id @merchant_id end |
#promotion_id ⇒ String (readonly)
Returns the value of attribute promotion_id.
48 49 50 |
# File 'sig/peddler/reports/promotion.rbs', line 48 def promotion_id @promotion_id end |
#promotion_name ⇒ String (readonly)
Returns the value of attribute promotion_name.
49 50 51 |
# File 'sig/peddler/reports/promotion.rbs', line 49 def promotion_name @promotion_name end |
#revenue ⇒ Float (readonly)
Returns the value of attribute revenue.
50 51 52 |
# File 'sig/peddler/reports/promotion.rbs', line 50 def revenue @revenue end |
#revenue_currency_code ⇒ String (readonly)
Returns the value of attribute revenue_currency_code.
51 52 53 |
# File 'sig/peddler/reports/promotion.rbs', line 51 def revenue_currency_code @revenue_currency_code end |
#start_date_time ⇒ Time (readonly)
Returns the value of attribute start_date_time.
52 53 54 |
# File 'sig/peddler/reports/promotion.rbs', line 52 def start_date_time @start_date_time end |
#status ⇒ String (readonly)
Returns the value of attribute status.
53 54 55 |
# File 'sig/peddler/reports/promotion.rbs', line 53 def status @status end |
#type ⇒ String (readonly)
Returns the value of attribute type.
54 55 56 |
# File 'sig/peddler/reports/promotion.rbs', line 54 def type @type end |
#units_sold ⇒ Integer (readonly)
Returns the value of attribute units_sold.
55 56 57 |
# File 'sig/peddler/reports/promotion.rbs', line 55 def units_sold @units_sold end |
#vendor_code ⇒ String? (readonly)
Returns the value of attribute vendor_code.
56 57 58 |
# File 'sig/peddler/reports/promotion.rbs', line 56 def vendor_code @vendor_code end |
Class Method Details
.[](created_date_time:, creation_channel:, end_date_time:, included_products:, last_updated_date_time:, marketplace_id:, promotion_id:, promotion_name:, revenue:, revenue_currency_code:, start_date_time:, status:, type:, units_sold:, amount_spent:, amount_spent_currency_code:, funding_agreement_id:, glance_views:, merchant_id:, vendor_code:) ⇒ Peddler::Reports::Promotion::DetailsByPromotion .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::Reports::Promotion::DetailsByPromotion
30 31 |
# File 'sig/peddler/reports/promotion.rbs', line 30
def self.[]: (created_date_time: Time, creation_channel: String, end_date_time: Time, included_products: Array[Peddler::Reports::Promotion::DetailsByProduct], last_updated_date_time: Time, marketplace_id: String, promotion_id: String, promotion_name: String, revenue: Float, revenue_currency_code: String, start_date_time: Time, status: String, type: String, units_sold: Integer, ?amount_spent: Float?, ?amount_spent_currency_code: String?, ?funding_agreement_id: String?, ?glance_views: Integer?, ?merchant_id: String?, ?vendor_code: String?) -> Peddler::Reports::Promotion::DetailsByPromotion
| (Time, String, Time, Array[Peddler::Reports::Promotion::DetailsByProduct], Time, String, String, String, Float, String, Time, String, String, Integer, Float?, String?, String?, Integer?, String?, String?) -> Peddler::Reports::Promotion::DetailsByPromotion
|
.members ⇒ [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
33 |
# File 'sig/peddler/reports/promotion.rbs', line 33
def self.members: () -> [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
|
.new(created_date_time:, creation_channel:, end_date_time:, included_products:, last_updated_date_time:, marketplace_id:, promotion_id:, promotion_name:, revenue:, revenue_currency_code:, start_date_time:, status:, type:, units_sold:, amount_spent:, amount_spent_currency_code:, funding_agreement_id:, glance_views:, merchant_id:, vendor_code:) ⇒ Peddler::Reports::Promotion::DetailsByPromotion .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::Reports::Promotion::DetailsByPromotion
28 29 |
# File 'sig/peddler/reports/promotion.rbs', line 28
def self.new: (created_date_time: Time, creation_channel: String, end_date_time: Time, included_products: Array[Peddler::Reports::Promotion::DetailsByProduct], last_updated_date_time: Time, marketplace_id: String, promotion_id: String, promotion_name: String, revenue: Float, revenue_currency_code: String, start_date_time: Time, status: String, type: String, units_sold: Integer, ?amount_spent: Float?, ?amount_spent_currency_code: String?, ?funding_agreement_id: String?, ?glance_views: Integer?, ?merchant_id: String?, ?vendor_code: String?) -> Peddler::Reports::Promotion::DetailsByPromotion
| (Time, String, Time, Array[Peddler::Reports::Promotion::DetailsByProduct], Time, String, String, String, Float, String, Time, String, String, Integer, Float?, String?, String?, Integer?, String?, String?) -> Peddler::Reports::Promotion::DetailsByPromotion
|
.parse ⇒ Peddler::Reports::Promotion::DetailsByPromotion
35 |
# File 'sig/peddler/reports/promotion.rbs', line 35
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::Promotion::DetailsByPromotion
|
Instance Method Details
#members ⇒ [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
58 |
# File 'sig/peddler/reports/promotion.rbs', line 58
def members: () -> [ :created_date_time, :creation_channel, :end_date_time, :included_products, :last_updated_date_time, :marketplace_id, :promotion_id, :promotion_name, :revenue, :revenue_currency_code, :start_date_time, :status, :type, :units_sold, :amount_spent, :amount_spent_currency_code, :funding_agreement_id, :glance_views, :merchant_id, :vendor_code ]
|
#to_h ⇒ { created_date_time: Time, creation_channel: String, end_date_time: Time, included_products: Array[Peddler::Reports::Promotion::DetailsByProduct], last_updated_date_time: Time, marketplace_id: String, promotion_id: String, promotion_name: String, revenue: Float, revenue_currency_code: String, start_date_time: Time, status: String, type: String, units_sold: Integer, amount_spent: Float?, amount_spent_currency_code: String?, funding_agreement_id: String?, glance_views: Integer?, merchant_id: String?, vendor_code: String? }
59 |
# File 'sig/peddler/reports/promotion.rbs', line 59
def to_h: () -> { created_date_time: Time, creation_channel: String, end_date_time: Time, included_products: Array[Peddler::Reports::Promotion::DetailsByProduct], last_updated_date_time: Time, marketplace_id: String, promotion_id: String, promotion_name: String, revenue: Float, revenue_currency_code: String, start_date_time: Time, status: String, type: String, units_sold: Integer, amount_spent: Float?, amount_spent_currency_code: String?, funding_agreement_id: String?, glance_views: Integer?, merchant_id: String?, vendor_code: String? }
|