Class: Peddler::Notifications::ItemProductTypeChange::Payload

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/item_product_type_change.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)


35
36
37
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 35

def asin
  @asin
end

#current_product_typeString (readonly)

Returns the value of attribute current_product_type.

Returns:

  • (String)


36
37
38
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 36

def current_product_type
  @current_product_type
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


37
38
39
# File 'sig/peddler/notifications/item_product_type_change.rbs', line 37

def marketplace_id
  @marketplace_id
end

#previous_product_typeString (readonly)

Returns the value of attribute previous_product_type.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

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

Overloads:



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

.parsePeddler::Notifications::ItemProductTypeChange::Payload

Parameters:

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

Returns:



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 ]

Returns:

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

Returns:

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