Class: Peddler::APIs::FulfillmentInbound20240320::PlacementOption
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FulfillmentInbound20240320::PlacementOption
- Defined in:
- sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs
Instance Attribute Summary collapse
-
#discounts ⇒ Array[Peddler::APIs::FulfillmentInbound20240320::Incentive]
readonly
Returns the value of attribute discounts.
-
#expiration ⇒ Time?
readonly
Returns the value of attribute expiration.
-
#fees ⇒ Array[Peddler::APIs::FulfillmentInbound20240320::Incentive]
readonly
Returns the value of attribute fees.
-
#placement_option_id ⇒ String
readonly
Returns the value of attribute placement_option_id.
-
#shipment_ids ⇒ Array[String]
readonly
Returns the value of attribute shipment_ids.
-
#status ⇒ String
readonly
Returns the value of attribute status.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :discounts, :fees, :placement_option_id, :shipment_ids, :status, :expiration ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#discounts ⇒ Array[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 |
#expiration ⇒ Time? (readonly)
Returns the value of attribute expiration.
1468 1469 1470 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1468 def expiration @expiration end |
#fees ⇒ Array[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_id ⇒ String (readonly)
Returns the value of attribute placement_option_id.
1470 1471 1472 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1470 def placement_option_id @placement_option_id end |
#shipment_ids ⇒ Array[String] (readonly)
Returns the value of attribute shipment_ids.
1471 1472 1473 |
# File 'sig/peddler/apis/fulfillment_inbound_2024_03_20.rbs', line 1471 def shipment_ids @shipment_ids end |
#status ⇒ String (readonly)
Returns the value of attribute status.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::FulfillmentInbound20240320::PlacementOption
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 ]
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? }
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? }
|