Class: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bodyPeddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody? (readonly)

Returns the value of attribute body.



301
302
303
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 301

def body
  @body
end

#headersHash[untyped, untyped] (readonly)

Returns the value of attribute headers.

Returns:

  • (Hash[untyped, untyped])


302
303
304
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 302

def headers
  @headers
end

#requestPeddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams (readonly)

Returns the value of attribute request.



303
304
305
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 303

def request
  @request
end

#statusPeddler::APIs::ProductPricing20220501::HttpStatusLine (readonly)

Returns the value of attribute status.



304
305
306
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 304

def status
  @status
end

Class Method Details

.[](headers:, request:, status:, body:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse



294
295
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 294

def self.[]: (headers: Hash[untyped, untyped], request: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, status: Peddler::APIs::ProductPricing20220501::HttpStatusLine, ?body: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse
| (Hash[untyped, untyped], Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, Peddler::APIs::ProductPricing20220501::HttpStatusLine, Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse

.members[ :headers, :request, :status, :body ]

Returns:

  • ([ :headers, :request, :status, :body ])


297
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 297

def self.members: () -> [ :headers, :request, :status, :body ]

.new(headers:, request:, status:, body:) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse



292
293
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 292

def self.new: (headers: Hash[untyped, untyped], request: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, status: Peddler::APIs::ProductPricing20220501::HttpStatusLine, ?body: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse
| (Hash[untyped, untyped], Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, Peddler::APIs::ProductPricing20220501::HttpStatusLine, Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody?) -> Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse

.parsePeddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponse

Parameters:

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

Returns:



299
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 299

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

Instance Method Details

#members[ :headers, :request, :status, :body ]

Returns:

  • ([ :headers, :request, :status, :body ])


306
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 306

def members: () -> [ :headers, :request, :status, :body ]

#to_h{ headers: Hash[untyped, untyped], request: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, status: Peddler::APIs::ProductPricing20220501::HttpStatusLine, body: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody? }



307
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 307

def to_h: () -> { headers: Hash[untyped, untyped], request: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceRequestParams, status: Peddler::APIs::ProductPricing20220501::HttpStatusLine, body: Peddler::APIs::ProductPricing20220501::FeaturedOfferExpectedPriceResponseBody? }