Class: Peddler::APIs::FulfillmentInbound20240320::DeliveryWindowOption

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)


524
525
526
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 524

def availability_type
  @availability_type
end

#delivery_window_option_idString (readonly)

Returns the value of attribute delivery_window_option_id.

Returns:

  • (String)


525
526
527
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 525

def delivery_window_option_id
  @delivery_window_option_id
end

#end_dateTime (readonly)

Returns the value of attribute end_date.

Returns:

  • (Time)


526
527
528
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 526

def end_date
  @end_date
end

#start_dateTime (readonly)

Returns the value of attribute start_date.

Returns:

  • (Time)


527
528
529
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 527

def start_date
  @start_date
end

#valid_untilTime (readonly)

Returns the value of attribute valid_until.

Returns:

  • (Time)


528
529
530
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 528

def valid_until
  @valid_until
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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

.parsePeddler::APIs::FulfillmentInbound20240320::DeliveryWindowOption

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:

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


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

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