Class: Peddler::APIs::Orders20260101::GiftOption
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Orders20260101::GiftOption
- Defined in:
- sig/peddler/apis/orders_2026_01_01.rbs
Instance Attribute Summary collapse
-
#gift_message ⇒ String?
readonly
Returns the value of attribute gift_message.
-
#gift_wrap_level ⇒ String?
readonly
Returns the value of attribute gift_wrap_level.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :gift_message, :gift_wrap_level ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Orders20260101::GiftOption
Instance Method Summary collapse
-
#members ⇒ [ :gift_message, :gift_wrap_level ]
-
#to_h ⇒ { gift_message: String?, gift_wrap_level: String? }
Instance Attribute Details
#gift_message ⇒ String? (readonly)
Returns the value of attribute gift_message.
236 237 238 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 236 def @gift_message end |
#gift_wrap_level ⇒ String? (readonly)
Returns the value of attribute gift_wrap_level.
237 238 239 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 237 def gift_wrap_level @gift_wrap_level end |
Class Method Details
.[](gift_message:, gift_wrap_level:) ⇒ Peddler::APIs::Orders20260101::GiftOption .[](arg0, arg1) ⇒ Peddler::APIs::Orders20260101::GiftOption
229 230 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 229
def self.[]: (?gift_message: String?, ?gift_wrap_level: String?) -> Peddler::APIs::Orders20260101::GiftOption
| (String?, String?) -> Peddler::APIs::Orders20260101::GiftOption
|
.members ⇒ [ :gift_message, :gift_wrap_level ]
232 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 232
def self.members: () -> [ :gift_message, :gift_wrap_level ]
|
.new(gift_message:, gift_wrap_level:) ⇒ Peddler::APIs::Orders20260101::GiftOption .new(arg0, arg1) ⇒ Peddler::APIs::Orders20260101::GiftOption
227 228 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 227
def self.new: (?gift_message: String?, ?gift_wrap_level: String?) -> Peddler::APIs::Orders20260101::GiftOption
| (String?, String?) -> Peddler::APIs::Orders20260101::GiftOption
|
.parse ⇒ Peddler::APIs::Orders20260101::GiftOption
234 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 234
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Orders20260101::GiftOption
|
Instance Method Details
#members ⇒ [ :gift_message, :gift_wrap_level ]
239 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 239
def members: () -> [ :gift_message, :gift_wrap_level ]
|
#to_h ⇒ { gift_message: String?, gift_wrap_level: String? }
240 |
# File 'sig/peddler/apis/orders_2026_01_01.rbs', line 240
def to_h: () -> { gift_message: String?, gift_wrap_level: String? }
|