Class: Peddler::Notifications::OrderChange::OrderItem

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#buyer_requested_cancelBoolean? (readonly)

Returns the value of attribute buyer_requested_cancel.

Returns:

  • (Boolean, nil)


73
74
75
# File 'sig/peddler/notifications/order_change.rbs', line 73

def buyer_requested_cancel
  @buyer_requested_cancel
end

#item_earliest_delivery_dateString? (readonly)

Returns the value of attribute item_earliest_delivery_date.

Returns:

  • (String, nil)


74
75
76
# File 'sig/peddler/notifications/order_change.rbs', line 74

def item_earliest_delivery_date
  @item_earliest_delivery_date
end

#item_latest_delivery_dateString? (readonly)

Returns the value of attribute item_latest_delivery_date.

Returns:

  • (String, nil)


75
76
77
# File 'sig/peddler/notifications/order_change.rbs', line 75

def item_latest_delivery_date
  @item_latest_delivery_date
end

#order_item_idString (readonly)

Returns the value of attribute order_item_id.

Returns:

  • (String)


76
77
78
# File 'sig/peddler/notifications/order_change.rbs', line 76

def order_item_id
  @order_item_id
end

#order_item_statusString? (readonly)

Returns the value of attribute order_item_status.

Returns:

  • (String, nil)


77
78
79
# File 'sig/peddler/notifications/order_change.rbs', line 77

def order_item_status
  @order_item_status
end

#quantityInteger (readonly)

Returns the value of attribute quantity.

Returns:

  • (Integer)


78
79
80
# File 'sig/peddler/notifications/order_change.rbs', line 78

def quantity
  @quantity
end

#quantity_shippedInteger? (readonly)

Returns the value of attribute quantity_shipped.

Returns:

  • (Integer, nil)


79
80
81
# File 'sig/peddler/notifications/order_change.rbs', line 79

def quantity_shipped
  @quantity_shipped
end

#seller_skuString (readonly)

Returns the value of attribute seller_sku.

Returns:

  • (String)


80
81
82
# File 'sig/peddler/notifications/order_change.rbs', line 80

def seller_sku
  @seller_sku
end

#supply_source_idString? (readonly)

Returns the value of attribute supply_source_id.

Returns:

  • (String, nil)


81
82
83
# File 'sig/peddler/notifications/order_change.rbs', line 81

def supply_source_id
  @supply_source_id
end

Class Method Details

.[](order_item_id:, quantity:, seller_sku:, supply_source_id:, buyer_requested_cancel:, item_earliest_delivery_date:, item_latest_delivery_date:, order_item_status:, quantity_shipped:) ⇒ Peddler::Notifications::OrderChange::OrderItem .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::OrderChange::OrderItem

Overloads:

  • .[](order_item_id:, quantity:, seller_sku:, supply_source_id:, buyer_requested_cancel:, item_earliest_delivery_date:, item_latest_delivery_date:, order_item_status:, quantity_shipped:) ⇒ Peddler::Notifications::OrderChange::OrderItem

    Parameters:

    • order_item_id: (String)
    • quantity: (Integer)
    • seller_sku: (String)
    • supply_source_id: (String, nil)
    • buyer_requested_cancel: (Boolean, nil)
    • item_earliest_delivery_date: (String, nil)
    • item_latest_delivery_date: (String, nil)
    • order_item_status: (String, nil)
    • quantity_shipped: (Integer, nil)

    Returns:

  • .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::OrderChange::OrderItem

    Parameters:

    • arg0 (String)
    • arg1 (Integer)
    • arg2 (String)
    • arg3 (String, nil)
    • arg4 (Boolean, nil)
    • arg5 (String, nil)
    • arg6 (String, nil)
    • arg7 (String, nil)
    • arg8 (Integer, nil)

    Returns:



66
67
# File 'sig/peddler/notifications/order_change.rbs', line 66

def self.[]: (order_item_id: String, quantity: Integer, seller_sku: String, supply_source_id: String?, ?buyer_requested_cancel: bool?, ?item_earliest_delivery_date: String?, ?item_latest_delivery_date: String?, ?order_item_status: String?, ?quantity_shipped: Integer?) -> Peddler::Notifications::OrderChange::OrderItem
| (String, Integer, String, String?, bool?, String?, String?, String?, Integer?) -> Peddler::Notifications::OrderChange::OrderItem

.members[ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ]

Returns:

  • ([ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ])


69
# File 'sig/peddler/notifications/order_change.rbs', line 69

def self.members: () -> [ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ]

.new(order_item_id:, quantity:, seller_sku:, supply_source_id:, buyer_requested_cancel:, item_earliest_delivery_date:, item_latest_delivery_date:, order_item_status:, quantity_shipped:) ⇒ Peddler::Notifications::OrderChange::OrderItem .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::OrderChange::OrderItem

Overloads:

  • .new(order_item_id:, quantity:, seller_sku:, supply_source_id:, buyer_requested_cancel:, item_earliest_delivery_date:, item_latest_delivery_date:, order_item_status:, quantity_shipped:) ⇒ Peddler::Notifications::OrderChange::OrderItem

    Parameters:

    • order_item_id: (String)
    • quantity: (Integer)
    • seller_sku: (String)
    • supply_source_id: (String, nil)
    • buyer_requested_cancel: (Boolean, nil)
    • item_earliest_delivery_date: (String, nil)
    • item_latest_delivery_date: (String, nil)
    • order_item_status: (String, nil)
    • quantity_shipped: (Integer, nil)

    Returns:

  • .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::Notifications::OrderChange::OrderItem

    Parameters:

    • arg0 (String)
    • arg1 (Integer)
    • arg2 (String)
    • arg3 (String, nil)
    • arg4 (Boolean, nil)
    • arg5 (String, nil)
    • arg6 (String, nil)
    • arg7 (String, nil)
    • arg8 (Integer, nil)

    Returns:



64
65
# File 'sig/peddler/notifications/order_change.rbs', line 64

def self.new: (order_item_id: String, quantity: Integer, seller_sku: String, supply_source_id: String?, ?buyer_requested_cancel: bool?, ?item_earliest_delivery_date: String?, ?item_latest_delivery_date: String?, ?order_item_status: String?, ?quantity_shipped: Integer?) -> Peddler::Notifications::OrderChange::OrderItem
| (String, Integer, String, String?, bool?, String?, String?, String?, Integer?) -> Peddler::Notifications::OrderChange::OrderItem

.parsePeddler::Notifications::OrderChange::OrderItem

Parameters:

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

Returns:



71
# File 'sig/peddler/notifications/order_change.rbs', line 71

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

Instance Method Details

#buyer_requested_cancel?Boolean

Returns:

  • (Boolean)


83
# File 'sig/peddler/notifications/order_change.rbs', line 83

def buyer_requested_cancel?: () -> bool

#members[ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ]

Returns:

  • ([ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ])


84
# File 'sig/peddler/notifications/order_change.rbs', line 84

def members: () -> [ :order_item_id, :quantity, :seller_sku, :supply_source_id, :buyer_requested_cancel, :item_earliest_delivery_date, :item_latest_delivery_date, :order_item_status, :quantity_shipped ]

#to_h{ order_item_id: String, quantity: Integer, seller_sku: String, supply_source_id: String?, buyer_requested_cancel: bool?, item_earliest_delivery_date: String?, item_latest_delivery_date: String?, order_item_status: String?, quantity_shipped: Integer? }

Returns:

  • ({ order_item_id: String, quantity: Integer, seller_sku: String, supply_source_id: String?, buyer_requested_cancel: bool?, item_earliest_delivery_date: String?, item_latest_delivery_date: String?, order_item_status: String?, quantity_shipped: Integer? })


85
# File 'sig/peddler/notifications/order_change.rbs', line 85

def to_h: () -> { order_item_id: String, quantity: Integer, seller_sku: String, supply_source_id: String?, buyer_requested_cancel: bool?, item_earliest_delivery_date: String?, item_latest_delivery_date: String?, order_item_status: String?, quantity_shipped: Integer? }