Class: Peddler::APIs::SupplySources20200701::OutboundCapability

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#delivery_channelPeddler::APIs::SupplySources20200701::DeliveryChannel? (readonly)

Returns the value of attribute delivery_channel.



293
294
295
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 293

def delivery_channel
  @delivery_channel
end

#operational_configurationPeddler::APIs::SupplySources20200701::OperationalConfiguration? (readonly)

Returns the value of attribute operational_configuration.



294
295
296
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 294

def operational_configuration
  @operational_configuration
end

#pickup_channelPeddler::APIs::SupplySources20200701::PickupChannel? (readonly)

Returns the value of attribute pickup_channel.



295
296
297
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 295

def pickup_channel
  @pickup_channel
end

#return_locationPeddler::APIs::SupplySources20200701::ReturnLocation? (readonly)

Returns the value of attribute return_location.



296
297
298
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 296

def return_location
  @return_location
end

#supportedBoolean? (readonly)

Returns the value of attribute supported.

Returns:

  • (Boolean, nil)


297
298
299
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 297

def supported
  @supported
end

Class Method Details

.[](delivery_channel:, supported:, operational_configuration:, pickup_channel:, return_location:) ⇒ Peddler::APIs::SupplySources20200701::OutboundCapability .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SupplySources20200701::OutboundCapability



286
287
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 286

def self.[]: (?delivery_channel: Peddler::APIs::SupplySources20200701::DeliveryChannel?, ?supported: bool?, ?operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?, ?pickup_channel: Peddler::APIs::SupplySources20200701::PickupChannel?, ?return_location: Peddler::APIs::SupplySources20200701::ReturnLocation?) -> Peddler::APIs::SupplySources20200701::OutboundCapability
| (Peddler::APIs::SupplySources20200701::DeliveryChannel?, bool?, Peddler::APIs::SupplySources20200701::OperationalConfiguration?, Peddler::APIs::SupplySources20200701::PickupChannel?, Peddler::APIs::SupplySources20200701::ReturnLocation?) -> Peddler::APIs::SupplySources20200701::OutboundCapability

.members[ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ]

Returns:

  • ([ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ])


289
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 289

def self.members: () -> [ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ]

.new(delivery_channel:, supported:, operational_configuration:, pickup_channel:, return_location:) ⇒ Peddler::APIs::SupplySources20200701::OutboundCapability .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SupplySources20200701::OutboundCapability



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

def self.new: (?delivery_channel: Peddler::APIs::SupplySources20200701::DeliveryChannel?, ?supported: bool?, ?operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?, ?pickup_channel: Peddler::APIs::SupplySources20200701::PickupChannel?, ?return_location: Peddler::APIs::SupplySources20200701::ReturnLocation?) -> Peddler::APIs::SupplySources20200701::OutboundCapability
| (Peddler::APIs::SupplySources20200701::DeliveryChannel?, bool?, Peddler::APIs::SupplySources20200701::OperationalConfiguration?, Peddler::APIs::SupplySources20200701::PickupChannel?, Peddler::APIs::SupplySources20200701::ReturnLocation?) -> Peddler::APIs::SupplySources20200701::OutboundCapability

.parsePeddler::APIs::SupplySources20200701::OutboundCapability

Parameters:

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

Returns:



291
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 291

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

Instance Method Details

#members[ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ]

Returns:

  • ([ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ])


299
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 299

def members: () -> [ :delivery_channel, :supported, :operational_configuration, :pickup_channel, :return_location ]

#supported?Boolean

Returns:

  • (Boolean)


300
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 300

def supported?: () -> bool

#to_h{ delivery_channel: Peddler::APIs::SupplySources20200701::DeliveryChannel?, supported: bool?, operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?, pickup_channel: Peddler::APIs::SupplySources20200701::PickupChannel?, return_location: Peddler::APIs::SupplySources20200701::ReturnLocation? }



301
# File 'sig/peddler/apis/supply_sources_2020_07_01.rbs', line 301

def to_h: () -> { delivery_channel: Peddler::APIs::SupplySources20200701::DeliveryChannel?, supported: bool?, operational_configuration: Peddler::APIs::SupplySources20200701::OperationalConfiguration?, pickup_channel: Peddler::APIs::SupplySources20200701::PickupChannel?, return_location: Peddler::APIs::SupplySources20200701::ReturnLocation? }