Class: Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#delivery_instructionsString? (readonly)

Returns the value of attribute delivery_instructions.

Returns:

  • (String, nil)


354
355
356
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 354

def delivery_instructions
  @delivery_instructions
end

#drop_off_locationPeddler::APIs::FulfillmentOutbound20200701::DropOffLocation? (readonly)

Returns the value of attribute drop_off_location.



355
356
357
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 355

def drop_off_location
  @drop_off_location
end

Class Method Details

.[](delivery_instructions:, drop_off_location:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences



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

def self.[]: (?delivery_instructions: String?, ?drop_off_location: Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences
| (String?, Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences

.members[ :delivery_instructions, :drop_off_location ]

Returns:

  • ([ :delivery_instructions, :drop_off_location ])


350
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 350

def self.members: () -> [ :delivery_instructions, :drop_off_location ]

.new(delivery_instructions:, drop_off_location:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences



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

def self.new: (?delivery_instructions: String?, ?drop_off_location: Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences
| (String?, Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences

.parsePeddler::APIs::FulfillmentOutbound20200701::DeliveryPreferences

Parameters:

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

Returns:



352
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 352

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

Instance Method Details

#members[ :delivery_instructions, :drop_off_location ]

Returns:

  • ([ :delivery_instructions, :drop_off_location ])


357
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 357

def members: () -> [ :delivery_instructions, :drop_off_location ]

#to_h{ delivery_instructions: String?, drop_off_location: Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation? }

Returns:



358
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 358

def to_h: () -> { delivery_instructions: String?, drop_off_location: Peddler::APIs::FulfillmentOutbound20200701::DropOffLocation? }