Class: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressPeddler::APIs::FulfillmentOutbound20200701::Address (readonly)

Returns the value of attribute address.



1007
1008
1009
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1007

def address
  @address
end

#feature_constraintsArray[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]? (readonly)

Returns the value of attribute feature_constraints.



1008
1009
1010
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1008

def feature_constraints
  @feature_constraints
end

#include_cod_fulfillment_previewBoolean? (readonly)

Returns the value of attribute include_cod_fulfillment_preview.

Returns:

  • (Boolean, nil)


1009
1010
1011
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1009

def include_cod_fulfillment_preview
  @include_cod_fulfillment_preview
end

#include_delivery_windowsBoolean? (readonly)

Returns the value of attribute include_delivery_windows.

Returns:

  • (Boolean, nil)


1010
1011
1012
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1010

def include_delivery_windows
  @include_delivery_windows
end

#itemsArray[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem] (readonly)

Returns the value of attribute items.



1011
1012
1013
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1011

def items
  @items
end

#marketplace_idString? (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String, nil)


1012
1013
1014
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1012

def marketplace_id
  @marketplace_id
end

#shipping_speed_categoriesArray[untyped]? (readonly)

Returns the value of attribute shipping_speed_categories.

Returns:

  • (Array[untyped], nil)


1013
1014
1015
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1013

def shipping_speed_categories
  @shipping_speed_categories
end

Class Method Details

.[](address:, items:, feature_constraints:, include_cod_fulfillment_preview:, include_delivery_windows:, marketplace_id:, shipping_speed_categories:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

Overloads:



1000
1001
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1000

def self.[]: (address: Peddler::APIs::FulfillmentOutbound20200701::Address, items: Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], ?feature_constraints: Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, ?include_cod_fulfillment_preview: bool?, ?include_delivery_windows: bool?, ?marketplace_id: String?, ?shipping_speed_categories: Array[untyped]?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest
| (Peddler::APIs::FulfillmentOutbound20200701::Address, Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, bool?, bool?, String?, Array[untyped]?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

.members[ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ]

Returns:

  • ([ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ])


1003
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1003

def self.members: () -> [ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ]

.new(address:, items:, feature_constraints:, include_cod_fulfillment_preview:, include_delivery_windows:, marketplace_id:, shipping_speed_categories:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

Overloads:



998
999
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 998

def self.new: (address: Peddler::APIs::FulfillmentOutbound20200701::Address, items: Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], ?feature_constraints: Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, ?include_cod_fulfillment_preview: bool?, ?include_delivery_windows: bool?, ?marketplace_id: String?, ?shipping_speed_categories: Array[untyped]?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest
| (Peddler::APIs::FulfillmentOutbound20200701::Address, Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, bool?, bool?, String?, Array[untyped]?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

.parsePeddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewRequest

Parameters:

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

Returns:



1005
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1005

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

Instance Method Details

#include_cod_fulfillment_preview?Boolean

Returns:

  • (Boolean)


1015
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1015

def include_cod_fulfillment_preview?: () -> bool

#include_delivery_windows?Boolean

Returns:

  • (Boolean)


1016
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1016

def include_delivery_windows?: () -> bool

#members[ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ]

Returns:

  • ([ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ])


1017
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1017

def members: () -> [ :address, :items, :feature_constraints, :include_cod_fulfillment_preview, :include_delivery_windows, :marketplace_id, :shipping_speed_categories ]

#to_h{ address: Peddler::APIs::FulfillmentOutbound20200701::Address, items: Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], feature_constraints: Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, include_cod_fulfillment_preview: bool?, include_delivery_windows: bool?, marketplace_id: String?, shipping_speed_categories: Array[untyped]? }

Returns:



1018
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1018

def to_h: () -> { address: Peddler::APIs::FulfillmentOutbound20200701::Address, items: Array[Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewItem], feature_constraints: Array[Peddler::APIs::FulfillmentOutbound20200701::FeatureSettings]?, include_cod_fulfillment_preview: bool?, include_delivery_windows: bool?, marketplace_id: String?, shipping_speed_categories: Array[untyped]? }