Class: Peddler::APIs::FulfillmentOutbound20260704::OfferResult

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

#constraintsArray[Peddler::APIs::FulfillmentOutbound20260704::Constraint]? (readonly)

Returns the value of attribute constraints.



509
510
511
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 509

def constraints
  @constraints
end

#itemPeddler::APIs::FulfillmentOutbound20260704::OfferItem? (readonly)

Returns the value of attribute item.



510
511
512
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 510

def item
  @item
end

#offersArray[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]? (readonly)

Returns the value of attribute offers.



511
512
513
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 511

def offers
  @offers
end

Class Method Details

.[](constraints:, item:, offers:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::OfferResult .[](arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentOutbound20260704::OfferResult



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

def self.[]: (?constraints: Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, ?item: Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, ?offers: Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]?) -> Peddler::APIs::FulfillmentOutbound20260704::OfferResult
| (Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]?) -> Peddler::APIs::FulfillmentOutbound20260704::OfferResult

.members[ :constraints, :item, :offers ]

Returns:

  • ([ :constraints, :item, :offers ])


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

def self.members: () -> [ :constraints, :item, :offers ]

.new(constraints:, item:, offers:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::OfferResult .new(arg0, arg1, arg2) ⇒ Peddler::APIs::FulfillmentOutbound20260704::OfferResult



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

def self.new: (?constraints: Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, ?item: Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, ?offers: Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]?) -> Peddler::APIs::FulfillmentOutbound20260704::OfferResult
| (Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]?) -> Peddler::APIs::FulfillmentOutbound20260704::OfferResult

.parsePeddler::APIs::FulfillmentOutbound20260704::OfferResult

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :constraints, :item, :offers ]

Returns:

  • ([ :constraints, :item, :offers ])


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

def members: () -> [ :constraints, :item, :offers ]

#to_h{ constraints: Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, item: Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, offers: Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]? }



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

def to_h: () -> { constraints: Array[Peddler::APIs::FulfillmentOutbound20260704::Constraint]?, item: Peddler::APIs::FulfillmentOutbound20260704::OfferItem?, offers: Array[Peddler::APIs::FulfillmentOutbound20260704::OfferOption]? }