Class: Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#gift_messagePeddler::APIs::ExternalFulfillmentShipments20240911::Document? (readonly)

Returns the value of attribute gift_message.



303
304
305
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 303

def gift_message
  @gift_message
end

#gift_message_presenceString (readonly)

Returns the value of attribute gift_message_presence.

Returns:

  • (String)


304
305
306
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 304

def gift_message_presence
  @gift_message_presence
end

#gift_wrap_labelString? (readonly)

Returns the value of attribute gift_wrap_label.

Returns:

  • (String, nil)


305
306
307
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 305

def gift_wrap_label
  @gift_wrap_label
end

#gift_wrap_requirementString (readonly)

Returns the value of attribute gift_wrap_requirement.

Returns:

  • (String)


306
307
308
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 306

def gift_wrap_requirement
  @gift_wrap_requirement
end

Class Method Details

.[](gift_message_presence:, gift_wrap_requirement:, gift_message:, gift_wrap_label:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

Overloads:



296
297
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 296

def self.[]: (gift_message_presence: String, gift_wrap_requirement: String, ?gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, ?gift_wrap_label: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes
| (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

.members[ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ]

Returns:

  • ([ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ])


299
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 299

def self.members: () -> [ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ]

.new(gift_message_presence:, gift_wrap_requirement:, gift_message:, gift_wrap_label:) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

Overloads:



294
295
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 294

def self.new: (gift_message_presence: String, gift_wrap_requirement: String, ?gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, ?gift_wrap_label: String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes
| (String, String, Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, String?) -> Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

.parsePeddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

Parameters:

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

Returns:



301
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 301

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

Instance Method Details

#members[ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ]

Returns:

  • ([ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ])


308
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 308

def members: () -> [ :gift_message_presence, :gift_wrap_requirement, :gift_message, :gift_wrap_label ]

#to_h{ gift_message_presence: String, gift_wrap_requirement: String, gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, gift_wrap_label: String? }

Returns:



309
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 309

def to_h: () -> { gift_message_presence: String, gift_wrap_requirement: String, gift_message: Peddler::APIs::ExternalFulfillmentShipments20240911::Document?, gift_wrap_label: String? }