Class: Peddler::Notifications::ListingsItemStatusChange::Payload

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


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

def asin
  @asin
end

#created_dateTime? (readonly)

Returns the value of attribute created_date.

Returns:

  • (Time, nil)


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

def created_date
  @created_date
end

#marketplace_idString? (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String, nil)


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

def marketplace_id
  @marketplace_id
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


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

def seller_id
  @seller_id
end

#skuString (readonly)

Returns the value of attribute sku.

Returns:

  • (String)


39
40
41
# File 'sig/peddler/notifications/listings_item_status_change.rbs', line 39

def sku
  @sku
end

#statusArray[String] (readonly)

Returns the value of attribute status.

Returns:

  • (Array[String])


40
41
42
# File 'sig/peddler/notifications/listings_item_status_change.rbs', line 40

def status
  @status
end

Class Method Details

.[](seller_id:, sku:, status:, asin:, created_date:, marketplace_id:) ⇒ Peddler::Notifications::ListingsItemStatusChange::Payload .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::ListingsItemStatusChange::Payload

Overloads:



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

def self.[]: (seller_id: String, sku: String, status: Array[String], ?asin: String?, ?created_date: Time?, ?marketplace_id: String?) -> Peddler::Notifications::ListingsItemStatusChange::Payload
| (String, String, Array[String], String?, Time?, String?) -> Peddler::Notifications::ListingsItemStatusChange::Payload

.members[ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ]

Returns:

  • ([ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ])


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

def self.members: () -> [ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ]

.new(seller_id:, sku:, status:, asin:, created_date:, marketplace_id:) ⇒ Peddler::Notifications::ListingsItemStatusChange::Payload .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::ListingsItemStatusChange::Payload

Overloads:



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

def self.new: (seller_id: String, sku: String, status: Array[String], ?asin: String?, ?created_date: Time?, ?marketplace_id: String?) -> Peddler::Notifications::ListingsItemStatusChange::Payload
| (String, String, Array[String], String?, Time?, String?) -> Peddler::Notifications::ListingsItemStatusChange::Payload

.parsePeddler::Notifications::ListingsItemStatusChange::Payload

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ]

Returns:

  • ([ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ])


42
# File 'sig/peddler/notifications/listings_item_status_change.rbs', line 42

def members: () -> [ :seller_id, :sku, :status, :asin, :created_date, :marketplace_id ]

#to_h{ seller_id: String, sku: String, status: Array[String], asin: String?, created_date: Time?, marketplace_id: String? }

Returns:

  • ({ seller_id: String, sku: String, status: Array[String], asin: String?, created_date: Time?, marketplace_id: String? })


43
# File 'sig/peddler/notifications/listings_item_status_change.rbs', line 43

def to_h: () -> { seller_id: String, sku: String, status: Array[String], asin: String?, created_date: Time?, marketplace_id: String? }