Class: Peddler::Notifications::ItemProductTypeChange::Payload
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::ItemProductTypeChange::Payload
- Defined in:
- sig/peddler/notifications/item_product_type_change.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String
readonly
Returns the value of attribute asin.
-
#current_product_type ⇒ String
readonly
Returns the value of attribute current_product_type.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#previous_product_type ⇒ String
readonly
Returns the value of attribute previous_product_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::ItemProductTypeChange::Payload
Instance Method Summary collapse
-
#members ⇒ [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
-
#to_h ⇒ { asin: String, current_product_type: String, marketplace_id: String, previous_product_type: String }
Instance Attribute Details
#asin ⇒ String (readonly)
Returns the value of attribute asin.
35 36 37 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 35 def asin @asin end |
#current_product_type ⇒ String (readonly)
Returns the value of attribute current_product_type.
36 37 38 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 36 def current_product_type @current_product_type end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
37 38 39 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 37 def marketplace_id @marketplace_id end |
#previous_product_type ⇒ String (readonly)
Returns the value of attribute previous_product_type.
38 39 40 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 38 def previous_product_type @previous_product_type end |
Class Method Details
.[](asin:, current_product_type:, marketplace_id:, previous_product_type:) ⇒ Peddler::Notifications::ItemProductTypeChange::Payload .[](arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::ItemProductTypeChange::Payload
28 29 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 28
def self.[]: (asin: String, current_product_type: String, marketplace_id: String, previous_product_type: String) -> Peddler::Notifications::ItemProductTypeChange::Payload
| (String, String, String, String) -> Peddler::Notifications::ItemProductTypeChange::Payload
|
.members ⇒ [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
31 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 31
def self.members: () -> [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
|
.new(asin:, current_product_type:, marketplace_id:, previous_product_type:) ⇒ Peddler::Notifications::ItemProductTypeChange::Payload .new(arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::ItemProductTypeChange::Payload
26 27 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 26
def self.new: (asin: String, current_product_type: String, marketplace_id: String, previous_product_type: String) -> Peddler::Notifications::ItemProductTypeChange::Payload
| (String, String, String, String) -> Peddler::Notifications::ItemProductTypeChange::Payload
|
.parse ⇒ Peddler::Notifications::ItemProductTypeChange::Payload
33 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 33
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::ItemProductTypeChange::Payload
|
Instance Method Details
#members ⇒ [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
40 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 40
def members: () -> [ :asin, :current_product_type, :marketplace_id, :previous_product_type ]
|
#to_h ⇒ { asin: String, current_product_type: String, marketplace_id: String, previous_product_type: String }
41 |
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 41
def to_h: () -> { asin: String, current_product_type: String, marketplace_id: String, previous_product_type: String }
|