Class: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsArray[Peddler::APIs::FulfillmentOutbound20200701::Error]? (readonly)

Returns the value of attribute errors.



1031
1032
1033
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1031

def errors
  @errors
end

#payloadPeddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult? (readonly)

Returns the value of attribute payload.



1032
1033
1034
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1032

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse



1024
1025
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1024

def self.[]: (?errors: Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, ?payload: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse
| (Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


1027
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1027

def self.members: () -> [ :errors, :payload ]

.new(errors:, payload:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse



1022
1023
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1022

def self.new: (?errors: Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, ?payload: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse
| (Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult?) -> Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse

.parsePeddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResponse

Parameters:

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

Returns:



1029
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1029

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


1034
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1034

def members: () -> [ :errors, :payload ]

#to_h{ errors: Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, payload: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult? }



1035
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 1035

def to_h: () -> { errors: Array[Peddler::APIs::FulfillmentOutbound20200701::Error]?, payload: Peddler::APIs::FulfillmentOutbound20200701::GetFulfillmentPreviewResult? }