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_message ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::Document? (readonly)

Returns the value of attribute gift_message.



341
342
343
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 341

def gift_message
  @gift_message
end

#gift_message_presence ⇒ String (readonly)

Returns the value of attribute gift_message_presence.

Returns:

  • (String)


342
343
344
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 342

def gift_message_presence
  @gift_message_presence
end

#gift_wrap_label ⇒ String? (readonly)

Returns the value of attribute gift_wrap_label.

Returns:

  • (String, nil)


343
344
345
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 343

def gift_wrap_label
  @gift_wrap_label
end

#gift_wrap_requirement ⇒ String (readonly)

Returns the value of attribute gift_wrap_requirement.

Returns:

  • (String)


344
345
346
# File 'sig/peddler/apis/external_fulfillment_shipments_2024_09_11.rbs', line 344

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:



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

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


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

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:



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

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

.parse ⇒ Peddler::APIs::ExternalFulfillmentShipments20240911::GiftAttributes

Parameters:

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

Returns:



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

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


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

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:



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

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