Class: Peddler::APIs::FulfillmentOutbound20260704::Constraint

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

#codeString (readonly)

Returns the value of attribute code.

Returns:

  • (String)


112
113
114
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 112

def code
  @code
end

#detailsArray[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]? (readonly)

Returns the value of attribute details.



113
114
115
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 113

def details
  @details
end

#messageString (readonly)

Returns the value of attribute message.

Returns:

  • (String)


114
115
116
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 114

def message
  @message
end

#typeString (readonly)

Returns the value of attribute type.

Returns:

  • (String)


115
116
117
# File 'sig/peddler/apis/fulfillment_outbound_2026_07_04.rbs', line 115

def type
  @type
end

Class Method Details

.[](code:, message:, type:, details:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Constraint .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Constraint

Overloads:



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

def self.[]: (code: String, message: String, type: String, ?details: Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]?) -> Peddler::APIs::FulfillmentOutbound20260704::Constraint
| (String, String, String, Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]?) -> Peddler::APIs::FulfillmentOutbound20260704::Constraint

.members[ :code, :message, :type, :details ]

Returns:

  • ([ :code, :message, :type, :details ])


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

def self.members: () -> [ :code, :message, :type, :details ]

.new(code:, message:, type:, details:) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Constraint .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::FulfillmentOutbound20260704::Constraint

Overloads:



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

def self.new: (code: String, message: String, type: String, ?details: Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]?) -> Peddler::APIs::FulfillmentOutbound20260704::Constraint
| (String, String, String, Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]?) -> Peddler::APIs::FulfillmentOutbound20260704::Constraint

.parsePeddler::APIs::FulfillmentOutbound20260704::Constraint

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :code, :message, :type, :details ]

Returns:

  • ([ :code, :message, :type, :details ])


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

def members: () -> [ :code, :message, :type, :details ]

#to_h{ code: String, message: String, type: String, details: Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]? }

Returns:



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

def to_h: () -> { code: String, message: String, type: String, details: Array[Peddler::APIs::FulfillmentOutbound20260704::ConstraintDetail]? }