Class: Peddler::APIs::Promotions20251201::Item
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::Item
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String?
readonly
Returns the value of attribute asin.
-
#benefit ⇒ Peddler::APIs::Promotions20251201::ItemBenefit?
readonly
Returns the value of attribute benefit.
-
#budget ⇒ Peddler::APIs::Promotions20251201::Budget?
readonly
Returns the value of attribute budget.
-
#sku ⇒ String?
readonly
Returns the value of attribute sku.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :benefit, :budget, :sku ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::Item
Instance Method Summary collapse
-
#members ⇒ [ :asin, :benefit, :budget, :sku ]
-
#to_h ⇒ { asin: String?, benefit: Peddler::APIs::Promotions20251201::ItemBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, sku: String? }
Instance Attribute Details
#asin ⇒ String? (readonly)
Returns the value of attribute asin.
255 256 257 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 255 def asin @asin end |
#benefit ⇒ Peddler::APIs::Promotions20251201::ItemBenefit? (readonly)
Returns the value of attribute benefit.
256 257 258 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 256 def benefit @benefit end |
#budget ⇒ Peddler::APIs::Promotions20251201::Budget? (readonly)
Returns the value of attribute budget.
257 258 259 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 257 def budget @budget end |
#sku ⇒ String? (readonly)
Returns the value of attribute sku.
258 259 260 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 258 def sku @sku end |
Class Method Details
.[](asin:, benefit:, budget:, sku:) ⇒ Peddler::APIs::Promotions20251201::Item .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Promotions20251201::Item
248 249 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 248
def self.[]: (?asin: String?, ?benefit: Peddler::APIs::Promotions20251201::ItemBenefit?, ?budget: Peddler::APIs::Promotions20251201::Budget?, ?sku: String?) -> Peddler::APIs::Promotions20251201::Item
| (String?, Peddler::APIs::Promotions20251201::ItemBenefit?, Peddler::APIs::Promotions20251201::Budget?, String?) -> Peddler::APIs::Promotions20251201::Item
|
.members ⇒ [ :asin, :benefit, :budget, :sku ]
251 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 251
def self.members: () -> [ :asin, :benefit, :budget, :sku ]
|
.new(asin:, benefit:, budget:, sku:) ⇒ Peddler::APIs::Promotions20251201::Item .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::Promotions20251201::Item
246 247 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 246
def self.new: (?asin: String?, ?benefit: Peddler::APIs::Promotions20251201::ItemBenefit?, ?budget: Peddler::APIs::Promotions20251201::Budget?, ?sku: String?) -> Peddler::APIs::Promotions20251201::Item
| (String?, Peddler::APIs::Promotions20251201::ItemBenefit?, Peddler::APIs::Promotions20251201::Budget?, String?) -> Peddler::APIs::Promotions20251201::Item
|
.parse ⇒ Peddler::APIs::Promotions20251201::Item
253 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 253
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::Item
|
Instance Method Details
#members ⇒ [ :asin, :benefit, :budget, :sku ]
260 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 260
def members: () -> [ :asin, :benefit, :budget, :sku ]
|
#to_h ⇒ { asin: String?, benefit: Peddler::APIs::Promotions20251201::ItemBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, sku: String? }
261 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 261
def to_h: () -> { asin: String?, benefit: Peddler::APIs::Promotions20251201::ItemBenefit?, budget: Peddler::APIs::Promotions20251201::Budget?, sku: String? }
|