Class: Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#availability_typeString (readonly)

Returns the value of attribute availability_type.

Returns:

  • (String)


1608
1609
1610
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1608

def availability_type
  @availability_type
end

#delivery_window_option_idString (readonly)

Returns the value of attribute delivery_window_option_id.

Returns:

  • (String)


1609
1610
1611
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1609

def delivery_window_option_id
  @delivery_window_option_id
end

#editable_untilTime? (readonly)

Returns the value of attribute editable_until.

Returns:

  • (Time, nil)


1610
1611
1612
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1610

def editable_until
  @editable_until
end

#end_dateTime (readonly)

Returns the value of attribute end_date.

Returns:

  • (Time)


1611
1612
1613
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1611

def end_date
  @end_date
end

#start_dateTime (readonly)

Returns the value of attribute start_date.

Returns:

  • (Time)


1612
1613
1614
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1612

def start_date
  @start_date
end

Class Method Details

.[](availability_type:, delivery_window_option_id:, end_date:, start_date:, editable_until:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

Overloads:



1601
1602
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1601

def self.[]: (availability_type: String, delivery_window_option_id: String, end_date: Time, start_date: Time, ?editable_until: Time?) -> Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow
| (String, String, Time, Time, Time?) -> Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

.members[ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ]

Returns:

  • ([ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ])


1604
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1604

def self.members: () -> [ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ]

.new(availability_type:, delivery_window_option_id:, end_date:, start_date:, editable_until:) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

Overloads:



1599
1600
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1599

def self.new: (availability_type: String, delivery_window_option_id: String, end_date: Time, start_date: Time, ?editable_until: Time?) -> Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow
| (String, String, Time, Time, Time?) -> Peddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

.parsePeddler::APIs::FulfillmentInbound20240320::SelectedDeliveryWindow

Parameters:

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

Returns:



1606
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1606

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

Instance Method Details

#members[ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ]

Returns:

  • ([ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ])


1614
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1614

def members: () -> [ :availability_type, :delivery_window_option_id, :end_date, :start_date, :editable_until ]

#to_h{ availability_type: String, delivery_window_option_id: String, end_date: Time, start_date: Time, editable_until: Time? }

Returns:

  • ({ availability_type: String, delivery_window_option_id: String, end_date: Time, start_date: Time, editable_until: Time? })


1615
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1615

def to_h: () -> { availability_type: String, delivery_window_option_id: String, end_date: Time, start_date: Time, editable_until: Time? }