Class: Peddler::APIs::Orders20260101::AssociatedOrderItem
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Orders20260101::AssociatedOrderItem
- Defined in:
- sig/peddler/apis/orders_2026_01_01.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String?
readonly
Returns the value of attribute asin.
-
#association_type ⇒ String?
readonly
Returns the value of attribute association_type.
-
#order_id ⇒ String?
readonly
Returns the value of attribute order_id.
-
#order_item_id ⇒ String?
readonly
Returns the value of attribute order_item_id.
-
#purchase_price ⇒ Peddler::Money?
readonly
Returns the value of attribute purchase_price.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem
Instance Method Summary collapse
-
#members ⇒ [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
-
#to_h ⇒ { asin: String?, association_type: String?, order_id: String?, order_item_id: String?, purchase_price: Peddler::Money? }
Instance Attribute Details
#asin ⇒ String? (readonly)
Returns the value of attribute asin.
67 68 69 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 67 def asin @asin end |
#association_type ⇒ String? (readonly)
Returns the value of attribute association_type.
68 69 70 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 68 def association_type @association_type end |
#order_id ⇒ String? (readonly)
Returns the value of attribute order_id.
69 70 71 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 69 def order_id @order_id end |
#order_item_id ⇒ String? (readonly)
Returns the value of attribute order_item_id.
70 71 72 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 70 def order_item_id @order_item_id end |
#purchase_price ⇒ Peddler::Money? (readonly)
Returns the value of attribute purchase_price.
71 72 73 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 71 def purchase_price @purchase_price end |
Class Method Details
.[](asin:, association_type:, order_id:, order_item_id:, purchase_price:) ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem
60 61 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 60
def self.[]: (?asin: String?, ?association_type: String?, ?order_id: String?, ?order_item_id: String?, ?purchase_price: Peddler::Money?) -> Peddler::APIs::Orders20260101::AssociatedOrderItem
| (String?, String?, String?, String?, Peddler::Money?) -> Peddler::APIs::Orders20260101::AssociatedOrderItem
|
.members ⇒ [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
63 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 63
def self.members: () -> [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
|
.new(asin:, association_type:, order_id:, order_item_id:, purchase_price:) ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem
58 59 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 58
def self.new: (?asin: String?, ?association_type: String?, ?order_id: String?, ?order_item_id: String?, ?purchase_price: Peddler::Money?) -> Peddler::APIs::Orders20260101::AssociatedOrderItem
| (String?, String?, String?, String?, Peddler::Money?) -> Peddler::APIs::Orders20260101::AssociatedOrderItem
|
.parse ⇒ Peddler::APIs::Orders20260101::AssociatedOrderItem
65 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 65
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::AssociatedOrderItem
|
Instance Method Details
#members ⇒ [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
73 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 73
def members: () -> [ :asin, :association_type, :order_id, :order_item_id, :purchase_price ]
|
#to_h ⇒ { asin: String?, association_type: String?, order_id: String?, order_item_id: String?, purchase_price: Peddler::Money? }
74 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 74
def to_h: () -> { asin: String?, association_type: String?, order_id: String?, order_item_id: String?, purchase_price: Peddler::Money? }
|