Class: Peddler::Notifications::ListingsItemMfnQuantityChange::Payload

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fulfillment_channel_codeString (readonly)

Returns the value of attribute fulfillment_channel_code.

Returns:

  • (String)


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

def fulfillment_channel_code
  @fulfillment_channel_code
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


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

def quantity
  @quantity
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


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

def seller_id
  @seller_id
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


38
39
40
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 38

def sku
  @sku
end

Class Method Details

.[](fulfillment_channel_code:, quantity:, seller_id:, sku:) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Payload .[](arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Payload

Overloads:



28
29
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 28

def self.[]: (fulfillment_channel_code: String, quantity: Integer, seller_id: String, sku: String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Payload
| (String, Integer, String, String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Payload

.members[ :fulfillment_channel_code, :quantity, :seller_id, :sku ]

Returns:

  • ([ :fulfillment_channel_code, :quantity, :seller_id, :sku ])


31
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 31

def self.members: () -> [ :fulfillment_channel_code, :quantity, :seller_id, :sku ]

.new(fulfillment_channel_code:, quantity:, seller_id:, sku:) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Payload .new(arg0, arg1, arg2, arg3) ⇒ Peddler::Notifications::ListingsItemMfnQuantityChange::Payload

Overloads:



26
27
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 26

def self.new: (fulfillment_channel_code: String, quantity: Integer, seller_id: String, sku: String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Payload
| (String, Integer, String, String) -> Peddler::Notifications::ListingsItemMfnQuantityChange::Payload

.parsePeddler::Notifications::ListingsItemMfnQuantityChange::Payload

Parameters:

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

Returns:



33
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 33

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

Instance Method Details

#members[ :fulfillment_channel_code, :quantity, :seller_id, :sku ]

Returns:

  • ([ :fulfillment_channel_code, :quantity, :seller_id, :sku ])


40
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 40

def members: () -> [ :fulfillment_channel_code, :quantity, :seller_id, :sku ]

#to_h{ fulfillment_channel_code: String, quantity: Integer, seller_id: String, sku: String }

Returns:

  • ({ fulfillment_channel_code: String, quantity: Integer, seller_id: String, sku: String })


41
# File 'sig/peddler/notifications/listings_item_mfn_quantity_change.rbs', line 41

def to_h: () -> { fulfillment_channel_code: String, quantity: Integer, seller_id: String, sku: String }