Class: Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/item_sales_event_change.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#account_idString (readonly)

Returns the value of attribute account_id.

Returns:

  • (String)


14
15
16
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 14

def 
  @account_id
end

#asinString (readonly)

Returns the value of attribute asin.

Returns:

  • (String)


15
16
17
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 15

def asin
  @asin
end

#currency_codeString (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String)


16
17
18
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 16

def currency_code
  @currency_code
end

#end_timeTime (readonly)

Returns the value of attribute end_time.

Returns:

  • (Time)


17
18
19
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 17

def end_time
  @end_time
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


18
19
20
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 18

def marketplace_id
  @marketplace_id
end

#ordered_revenueFloat (readonly)

Returns the value of attribute ordered_revenue.

Returns:

  • (Float)


19
20
21
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 19

def ordered_revenue
  @ordered_revenue
end

#ordered_unitsInteger (readonly)

Returns the value of attribute ordered_units.

Returns:

  • (Integer)


20
21
22
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 20

def ordered_units
  @ordered_units
end

#start_timeTime (readonly)

Returns the value of attribute start_time.

Returns:

  • (Time)


21
22
23
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 21

def start_time
  @start_time
end

Class Method Details

.[](account_id:, asin:, currency_code:, end_time:, marketplace_id:, ordered_revenue:, ordered_units:, start_time:) ⇒ Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

Overloads:



7
8
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 7

def self.[]: (account_id: String, asin: String, currency_code: String, end_time: Time, marketplace_id: String, ordered_revenue: Float, ordered_units: Integer, start_time: Time) -> Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange
| (String, String, String, Time, String, Float, Integer, Time) -> Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

.members[ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ]

Returns:

  • ([ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ])


10
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 10

def self.members: () -> [ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ]

.new(account_id:, asin:, currency_code:, end_time:, marketplace_id:, ordered_revenue:, ordered_units:, start_time:) ⇒ Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

Overloads:



5
6
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 5

def self.new: (account_id: String, asin: String, currency_code: String, end_time: Time, marketplace_id: String, ordered_revenue: Float, ordered_units: Integer, start_time: Time) -> Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange
| (String, String, String, Time, String, Float, Integer, Time) -> Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

.parsePeddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

Parameters:

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

Returns:



12
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 12

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ItemSalesEventChange::ItemSalesEventChange

Instance Method Details

#members[ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ]

Returns:

  • ([ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ])


23
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 23

def members: () -> [ :account_id, :asin, :currency_code, :end_time, :marketplace_id, :ordered_revenue, :ordered_units, :start_time ]

#to_h{ account_id: String, asin: String, currency_code: String, end_time: Time, marketplace_id: String, ordered_revenue: Float, ordered_units: Integer, start_time: Time }

Returns:

  • ({ account_id: String, asin: String, currency_code: String, end_time: Time, marketplace_id: String, ordered_revenue: Float, ordered_units: Integer, start_time: Time })


24
# File 'sig/peddler/notifications/item_sales_event_change.rbs', line 24

def to_h: () -> { account_id: String, asin: String, currency_code: String, end_time: Time, marketplace_id: String, ordered_revenue: Float, ordered_units: Integer, start_time: Time }