Class: Peddler::APIs::OrdersV0::DeliveryPreferences
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::OrdersV0::DeliveryPreferences
- Defined in:
- sig/peddler/apis/orders_v0.rbs
Instance Attribute Summary collapse
-
#address_instructions ⇒ String?
readonly
Returns the value of attribute address_instructions.
-
#drop_off_location ⇒ String?
readonly
Returns the value of attribute drop_off_location.
-
#other_attributes ⇒ Array[untyped]?
readonly
Returns the value of attribute other_attributes.
-
#preferred_delivery_time ⇒ Peddler::APIs::OrdersV0::PreferredDeliveryTime?
readonly
Returns the value of attribute preferred_delivery_time.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :address_instructions, :drop_off_location, :other_attributes, :preferred_delivery_time ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#address_instructions ⇒ String? (readonly)
Returns the value of attribute address_instructions.
278 279 280 |
# File 'sig/peddler/apis/orders_v0.rbs', line 278 def address_instructions @address_instructions end |
#drop_off_location ⇒ String? (readonly)
Returns the value of attribute drop_off_location.
279 280 281 |
# File 'sig/peddler/apis/orders_v0.rbs', line 279 def drop_off_location @drop_off_location end |
#other_attributes ⇒ Array[untyped]? (readonly)
Returns the value of attribute other_attributes.
280 281 282 |
# File 'sig/peddler/apis/orders_v0.rbs', line 280 def other_attributes @other_attributes end |
#preferred_delivery_time ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::OrdersV0::DeliveryPreferences
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 ]
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? }
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? }
|