Class: Peddler::Reports::SellingPartnerRepeatPurchase::DataByASIN

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/reports/selling_partner_repeat_purchase.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asinString (readonly)

Returns the value of attribute asin.

Returns:

  • (String)


14
15
16
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 14

def asin
  @asin
end

#end_dateDate (readonly)

Returns the value of attribute end_date.

Returns:

  • (Date)


15
16
17
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 15

def end_date
  @end_date
end

#ordersInteger (readonly)

Returns the value of attribute orders.

Returns:

  • (Integer)


16
17
18
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 16

def orders
  @orders
end

#repeat_customers_pct_totalFloat (readonly)

Returns the value of attribute repeat_customers_pct_total.

Returns:

  • (Float)


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_revenuePeddler::Money (readonly)

Returns the value of attribute repeat_purchase_revenue.

Returns:



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_totalFloat (readonly)

Returns the value of attribute repeat_purchase_revenue_pct_total.

Returns:

  • (Float)


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_dateDate (readonly)

Returns the value of attribute start_date.

Returns:

  • (Date)


20
21
22
# File 'sig/peddler/reports/selling_partner_repeat_purchase.rbs', line 20

def start_date
  @start_date
end

#unique_customersInteger (readonly)

Returns the value of attribute unique_customers.

Returns:

  • (Integer)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Reports::SellingPartnerRepeatPurchase::DataByASIN

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

  • ({ 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 }