Class: Peddler::Notifications::OrderChange::OrderItem
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::OrderChange::OrderItem
- Defined in:
- sig/peddler/notifications/order_change.rbs
Instance Attribute Summary collapse
-
#buyer_requested_cancel ⇒ Boolean?
readonly
Returns the value of attribute buyer_requested_cancel.
-
#item_earliest_delivery_date ⇒ String?
readonly
Returns the value of attribute item_earliest_delivery_date.
-
#item_latest_delivery_date ⇒ String?
readonly
Returns the value of attribute item_latest_delivery_date.
-
#order_item_id ⇒ String
readonly
Returns the value of attribute order_item_id.
-
#order_item_status ⇒ String?
readonly
Returns the value of attribute order_item_status.
-
#quantity ⇒ Integer
readonly
Returns the value of attribute quantity.
-
#quantity_shipped ⇒ Integer?
readonly
Returns the value of attribute quantity_shipped.
-
#seller_sku ⇒ String
readonly
Returns the value of attribute seller_sku.
-
#supply_source_id ⇒ String?
readonly
Returns the value of attribute supply_source_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.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 ⇒ Object
-
.parse ⇒ Peddler::Notifications::OrderChange::OrderItem
Instance Method Summary collapse
-
#buyer_requested_cancel? ⇒ Boolean
-
#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? }
Instance Attribute Details
#buyer_requested_cancel ⇒ Boolean? (readonly)
Returns the value of attribute buyer_requested_cancel.
73 74 75 |
# File 'sig/peddler/notifications/order_change.rbs', line 73 def buyer_requested_cancel @buyer_requested_cancel end |
#item_earliest_delivery_date ⇒ String? (readonly)
Returns the value of attribute item_earliest_delivery_date.
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_date ⇒ String? (readonly)
Returns the value of attribute item_latest_delivery_date.
75 76 77 |
# File 'sig/peddler/notifications/order_change.rbs', line 75 def item_latest_delivery_date @item_latest_delivery_date end |
#order_item_id ⇒ String (readonly)
Returns the value of attribute order_item_id.
76 77 78 |
# File 'sig/peddler/notifications/order_change.rbs', line 76 def order_item_id @order_item_id end |
#order_item_status ⇒ String? (readonly)
Returns the value of attribute order_item_status.
77 78 79 |
# File 'sig/peddler/notifications/order_change.rbs', line 77 def order_item_status @order_item_status end |
#quantity ⇒ Integer (readonly)
Returns the value of attribute quantity.
78 79 80 |
# File 'sig/peddler/notifications/order_change.rbs', line 78 def quantity @quantity end |
#quantity_shipped ⇒ Integer? (readonly)
Returns the value of attribute quantity_shipped.
79 80 81 |
# File 'sig/peddler/notifications/order_change.rbs', line 79 def quantity_shipped @quantity_shipped end |
#seller_sku ⇒ String (readonly)
Returns the value of attribute seller_sku.
80 81 82 |
# File 'sig/peddler/notifications/order_change.rbs', line 80 def seller_sku @seller_sku end |
#supply_source_id ⇒ String? (readonly)
Returns the value of attribute supply_source_id.
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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::OrderChange::OrderItem
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
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 ]
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? }
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? }
|