Class: Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
- Defined in:
- sig/peddler/reports/selling_partner_repeat_purchase.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String
readonly
Returns the value of attribute asin.
-
#end_date ⇒ Date
readonly
Returns the value of attribute end_date.
-
#orders ⇒ Integer
readonly
Returns the value of attribute orders.
-
#repeat_customers_pct_total ⇒ Float
readonly
Returns the value of attribute repeat_customers_pct_total.
-
#repeat_purchase_revenue ⇒ Peddler::Money
readonly
Returns the value of attribute repeat_purchase_revenue.
-
#repeat_purchase_revenue_pct_total ⇒ Float
readonly
Returns the value of attribute repeat_purchase_revenue_pct_total.
-
#start_date ⇒ Date
readonly
Returns the value of attribute start_date.
-
#unique_customers ⇒ Integer
readonly
Returns the value of attribute unique_customers.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
Instance Method Summary collapse
-
#members ⇒ [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
-
#to_h ⇒ { asin: String, end_date: Date, orders: Integer, repeat_customers_pct_total: Float, repeat_purchase_revenue: Peddler::Money, repeat_purchase_revenue_pct_total: Float, start_date: Date, unique_customers: Integer }
Instance Attribute Details
#asin ⇒ String (readonly)
Returns the value of attribute asin.
14 15 16 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 14 def asin @asin end |
#end_date ⇒ Date (readonly)
Returns the value of attribute end_date.
15 16 17 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 15 def end_date @end_date end |
#orders ⇒ Integer (readonly)
Returns the value of attribute orders.
16 17 18 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 16 def orders @orders end |
#repeat_customers_pct_total ⇒ Float (readonly)
Returns the value of attribute repeat_customers_pct_total.
17 18 19 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 17 def repeat_customers_pct_total @repeat_customers_pct_total end |
#repeat_purchase_revenue ⇒ Peddler::Money (readonly)
Returns the value of attribute repeat_purchase_revenue.
18 19 20 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 18 def repeat_purchase_revenue @repeat_purchase_revenue end |
#repeat_purchase_revenue_pct_total ⇒ Float (readonly)
Returns the value of attribute repeat_purchase_revenue_pct_total.
19 20 21 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 19 def repeat_purchase_revenue_pct_total @repeat_purchase_revenue_pct_total end |
#start_date ⇒ Date (readonly)
Returns the value of attribute start_date.
20 21 22 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 20 def start_date @start_date end |
#unique_customers ⇒ Integer (readonly)
Returns the value of attribute unique_customers.
21 22 23 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 21 def unique_customers @unique_customers end |
Class Method Details
.[](asin:, end_date:, orders:, repeat_customers_pct_total:, repeat_purchase_revenue:, repeat_purchase_revenue_pct_total:, start_date:, unique_customers:) ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
7 8 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 7
def self.[]: (asin: String, end_date: Date, orders: Integer, repeat_customers_pct_total: Float, repeat_purchase_revenue: Peddler::Money, repeat_purchase_revenue_pct_total: Float, start_date: Date, unique_customers: Integer) -> Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
| (String, Date, Integer, Float, Peddler::Money, Float, Date, Integer) -> Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
|
.members ⇒ [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
10 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 10
def self.members: () -> [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
|
.new(asin:, end_date:, orders:, repeat_customers_pct_total:, repeat_purchase_revenue:, repeat_purchase_revenue_pct_total:, start_date:, unique_customers:) ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
5 6 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 5
def self.new: (asin: String, end_date: Date, orders: Integer, repeat_customers_pct_total: Float, repeat_purchase_revenue: Peddler::Money, repeat_purchase_revenue_pct_total: Float, start_date: Date, unique_customers: Integer) -> Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
| (String, Date, Integer, Float, Peddler::Money, Float, Date, Integer) -> Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
|
.parse ⇒ Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
12 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN
|
Instance Method Details
#members ⇒ [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
23 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 23
def members: () -> [ :asin, :end_date, :orders, :repeat_customers_pct_total, :repeat_purchase_revenue, :repeat_purchase_revenue_pct_total, :start_date, :unique_customers ]
|
#to_h ⇒ { asin: String, end_date: Date, orders: Integer, repeat_customers_pct_total: Float, repeat_purchase_revenue: Peddler::Money, repeat_purchase_revenue_pct_total: Float, start_date: Date, unique_customers: Integer }
24 |
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 24
def to_h: () -> { asin: String, end_date: Date, orders: Integer, repeat_customers_pct_total: Float, repeat_purchase_revenue: Peddler::Money, repeat_purchase_revenue_pct_total: Float, start_date: Date, unique_customers: Integer }
|