Class: Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#channelString? (readonly)

Returns the value of attribute channel.

Returns:

  • (String, nil)


337
338
339
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 337

def channel
  @channel
end

#destinationPeddler::APIs::FulfillmentOutbound20260704::PreviewDestination (readonly)

Returns the value of attribute destination.



338
339
340
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 338

def destination
  @destination
end

#exclude_estimated_feesBoolean? (readonly)

Returns the value of attribute exclude_estimated_fees.

Returns:

  • (Boolean, nil)


339
340
341
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 339

def exclude_estimated_fees
  @exclude_estimated_fees
end

#fulfillment_configurationPeddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration? (readonly)

Returns the value of attribute fulfillment_configuration.



340
341
342
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 340

def fulfillment_configuration
  @fulfillment_configuration
end

#include_payment_on_deliveryBoolean? (readonly)

Returns the value of attribute include_payment_on_delivery.

Returns:

  • (Boolean, nil)


341
342
343
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 341

def include_payment_on_delivery
  @include_payment_on_delivery
end

#line_itemsArray[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem] (readonly)

Returns the value of attribute line_items.



342
343
344
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 342

def line_items
  @line_items
end

#originPeddler::APIs::FulfillmentOutbound20260704::OrderOrigin? (readonly)

Returns the value of attribute origin.



343
344
345
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 343

def origin
  @origin
end

Class Method Details

.[](destination:, line_items:, channel:, exclude_estimated_fees:, fulfillment_configuration:, include_payment_on_delivery:, origin:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

Overloads:



330
331
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 330

def self.[]: (destination: Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, line_items: Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], ?channel: String?, ?exclude_estimated_fees: bool?, ?fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, ?include_payment_on_delivery: bool?, ?origin: Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin?) -> Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest
| (Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], String?, bool?, Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, bool?, Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin?) -> Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

.members[ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ]

Returns:

  • ([ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ])


333
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 333

def self.members: () -> [ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ]

.new(destination:, line_items:, channel:, exclude_estimated_fees:, fulfillment_configuration:, include_payment_on_delivery:, origin:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

Overloads:



328
329
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 328

def self.new: (destination: Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, line_items: Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], ?channel: String?, ?exclude_estimated_fees: bool?, ?fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, ?include_payment_on_delivery: bool?, ?origin: Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin?) -> Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest
| (Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], String?, bool?, Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, bool?, Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin?) -> Peddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

.parsePeddler::APIs::FulfillmentOutbound20260704::GetOrderPreviewRequest

Parameters:

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

Returns:



335
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 335

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

Instance Method Details

#exclude_estimated_fees?Boolean

Returns:

  • (Boolean)


345
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 345

def exclude_estimated_fees?: () -> bool

#include_payment_on_delivery?Boolean

Returns:

  • (Boolean)


346
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 346

def include_payment_on_delivery?: () -> bool

#members[ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ]

Returns:

  • ([ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ])


347
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 347

def members: () -> [ :destination, :line_items, :channel, :exclude_estimated_fees, :fulfillment_configuration, :include_payment_on_delivery, :origin ]

#to_h{ destination: Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, line_items: Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], channel: String?, exclude_estimated_fees: bool?, fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, include_payment_on_delivery: bool?, origin: Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin? }

Returns:



348
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 348

def to_h: () -> { destination: Peddler::APIs::FulfillmentOutbound20260704::PreviewDestination, line_items: Array[Peddler::APIs::FulfillmentOutbound20260704::PreviewLineItem], channel: String?, exclude_estimated_fees: bool?, fulfillment_configuration: Peddler::APIs::FulfillmentOutbound20260704::PreviewFulfillmentConfiguration?, include_payment_on_delivery: bool?, origin: Peddler::APIs::FulfillmentOutbound20260704::OrderOrigin? }