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.



284
285
286
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 284

def body
  @body
end

#headersHash[untyped, untyped] (readonly)

Returns the value of attribute headers.

Returns:

  • (Hash[untyped, untyped])


285
286
287
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 285

def headers
  @headers
end

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

Returns the value of attribute request.



286
287
288
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 286

def request
  @request
end

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

Returns the value of attribute status.



287
288
289
# File 'sig/peddler/apis/product_pricing_2022_05_01.rbs', line 287

def status
  @status
end

Class Method Details

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



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

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 ])


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

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



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

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:



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

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 ])


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

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? }



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

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