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.



267
268
269
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 267

def gift_message
  @gift_message
end

#gift_message_presenceString (readonly)

Returns the value of attribute gift_message_presence.

Returns:

  • (String)


268
269
270
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 268

def gift_message_presence
  @gift_message_presence
end

#gift_wrap_labelString? (readonly)

Returns the value of attribute gift_wrap_label.

Returns:

  • (String, nil)


269
270
271
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 269

def gift_wrap_label
  @gift_wrap_label
end

#gift_wrap_requirementString (readonly)

Returns the value of attribute gift_wrap_requirement.

Returns:

  • (String)


270
271
272
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 270

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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:



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

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