Class: Peddler::APIs::OrdersV0::DeliveryPreferences

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#address_instructionsString? (readonly)

Returns the value of attribute address_instructions.

Returns:

  • (String, nil)


278
279
280
# File 'sig/peddler/apis/orders_v0.rbs', line 278

def address_instructions
  @address_instructions
end

#drop_off_locationString? (readonly)

Returns the value of attribute drop_off_location.

Returns:

  • (String, nil)


279
280
281
# File 'sig/peddler/apis/orders_v0.rbs', line 279

def drop_off_location
  @drop_off_location
end

#other_attributesArray[untyped]? (readonly)

Returns the value of attribute other_attributes.

Returns:

  • (Array[untyped], nil)


280
281
282
# File 'sig/peddler/apis/orders_v0.rbs', line 280

def other_attributes
  @other_attributes
end

#preferred_delivery_timePeddler::APIs::OrdersV0::PreferredDeliveryTime? (readonly)

Returns the value of attribute preferred_delivery_time.



281
282
283
# File 'sig/peddler/apis/orders_v0.rbs', line 281

def preferred_delivery_time
  @preferred_delivery_time
end

Class Method Details

.[](address_instructions:, drop_off_location:, other_attributes:, preferred_delivery_time:) ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences

Overloads:



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

def self.[]: (?address_instructions: String?, ?drop_off_location: String?, ?other_attributes: Array[untyped]?, ?preferred_delivery_time: Peddler::APIs::OrdersV0::PreferredDeliveryTime?) -> Peddler::APIs::OrdersV0::DeliveryPreferences
| (String?, String?, Array[untyped]?, Peddler::APIs::OrdersV0::PreferredDeliveryTime?) -> Peddler::APIs::OrdersV0::DeliveryPreferences

.members[ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ]

Returns:

  • ([ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ])


274
# File 'sig/peddler/apis/orders_v0.rbs', line 274

def self.members: () -> [ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ]

.new(address_instructions:, drop_off_location:, other_attributes:, preferred_delivery_time:) ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences

Overloads:



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

def self.new: (?address_instructions: String?, ?drop_off_location: String?, ?other_attributes: Array[untyped]?, ?preferred_delivery_time: Peddler::APIs::OrdersV0::PreferredDeliveryTime?) -> Peddler::APIs::OrdersV0::DeliveryPreferences
| (String?, String?, Array[untyped]?, Peddler::APIs::OrdersV0::PreferredDeliveryTime?) -> Peddler::APIs::OrdersV0::DeliveryPreferences

.parsePeddler::APIs::OrdersV0::DeliveryPreferences

Parameters:

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

Returns:



276
# File 'sig/peddler/apis/orders_v0.rbs', line 276

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

Instance Method Details

#members[ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ]

Returns:

  • ([ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ])


283
# File 'sig/peddler/apis/orders_v0.rbs', line 283

def members: () -> [ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ]

#to_h{ address_instructions: String?, drop_off_location: String?, other_attributes: Array[untyped]?, preferred_delivery_time: Peddler::APIs::OrdersV0::PreferredDeliveryTime? }

Returns:



284
# File 'sig/peddler/apis/orders_v0.rbs', line 284

def to_h: () -> { address_instructions: String?, drop_off_location: String?, other_attributes: Array[untyped]?, preferred_delivery_time: Peddler::APIs::OrdersV0::PreferredDeliveryTime? }