Class: Peddler::APIs::FulfillmentInbound20240320::PlacementOption

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

#discountsArray[Peddler::APIs::FulfillmentInbound20240320::Incentive] (readonly)

Returns the value of attribute discounts.



1467
1468
1469
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1467

def discounts
  @discounts
end

#expirationTime? (readonly)

Returns the value of attribute expiration.

Returns:

  • (Time, nil)


1468
1469
1470
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1468

def expiration
  @expiration
end

#feesArray[Peddler::APIs::FulfillmentInbound20240320::Incentive] (readonly)

Returns the value of attribute fees.



1469
1470
1471
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1469

def fees
  @fees
end

#placement_option_idString (readonly)

Returns the value of attribute placement_option_id.

Returns:

  • (String)


1470
1471
1472
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1470

def placement_option_id
  @placement_option_id
end

#shipment_idsArray[String] (readonly)

Returns the value of attribute shipment_ids.

Returns:

  • (Array[String])


1471
1472
1473
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1471

def shipment_ids
  @shipment_ids
end

#statusString (readonly)

Returns the value of attribute status.

Returns:

  • (String)


1472
1473
1474
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1472

def status
  @status
end

Class Method Details

.[](discounts:, fees:, placement_option_id:, shipment_ids:, status:, expiration:) ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption

Overloads:



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

def self.[]: (discounts: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], fees: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], placement_option_id: String, shipment_ids: Array[String], status: String, ?expiration: Time?) -> Peddler::APIs::FulfillmentInbound20240320::PlacementOption
| (Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], String, Array[String], String, Time?) -> Peddler::APIs::FulfillmentInbound20240320::PlacementOption

.members[ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ]

Returns:

  • ([ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ])


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

def self.members: () -> [ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ]

.new(discounts:, fees:, placement_option_id:, shipment_ids:, status:, expiration:) ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption

Overloads:



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

def self.new: (discounts: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], fees: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], placement_option_id: String, shipment_ids: Array[String], status: String, ?expiration: Time?) -> Peddler::APIs::FulfillmentInbound20240320::PlacementOption
| (Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], String, Array[String], String, Time?) -> Peddler::APIs::FulfillmentInbound20240320::PlacementOption

.parsePeddler::APIs::FulfillmentInbound20240320::PlacementOption

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ]

Returns:

  • ([ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ])


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

def members: () -> [ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ]

#to_h{ discounts: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], fees: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], placement_option_id: String, shipment_ids: Array[String], status: String, expiration: Time? }

Returns:



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

def to_h: () -> { discounts: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], fees: Array[Peddler::APIs::FulfillmentInbound20240320::Incentive], placement_option_id: String, shipment_ids: Array[String], status: String, expiration: Time? }