Class: Peddler::APIs::Orders20260101::ItemPacking

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/orders_2026_01_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gift_optionPeddler::APIs::Orders20260101::GiftOption? (readonly)

Returns the value of attribute gift_option.



389
390
391
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 389

def gift_option
  @gift_option
end

Class Method Details

.[](gift_option:) ⇒ Peddler::APIs::Orders20260101::ItemPacking .[](arg0) ⇒ Peddler::APIs::Orders20260101::ItemPacking



382
383
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 382

def self.[]: (?gift_option: Peddler::APIs::Orders20260101::GiftOption?) -> Peddler::APIs::Orders20260101::ItemPacking
| (Peddler::APIs::Orders20260101::GiftOption?) -> Peddler::APIs::Orders20260101::ItemPacking

.members[ :gift_option ]

Returns:

  • ([ :gift_option ])


385
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 385

def self.members: () -> [ :gift_option ]

.new(gift_option:) ⇒ Peddler::APIs::Orders20260101::ItemPacking .new(arg0) ⇒ Peddler::APIs::Orders20260101::ItemPacking



380
381
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 380

def self.new: (?gift_option: Peddler::APIs::Orders20260101::GiftOption?) -> Peddler::APIs::Orders20260101::ItemPacking
| (Peddler::APIs::Orders20260101::GiftOption?) -> Peddler::APIs::Orders20260101::ItemPacking

.parsePeddler::APIs::Orders20260101::ItemPacking

Parameters:

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

Returns:



387
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 387

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::ItemPacking

Instance Method Details

#members[ :gift_option ]

Returns:

  • ([ :gift_option ])


391
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 391

def members: () -> [ :gift_option ]

#to_h{ gift_option: Peddler::APIs::Orders20260101::GiftOption? }

Returns:



392
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 392

def to_h: () -> { gift_option: Peddler::APIs::Orders20260101::GiftOption? }