Class: Peddler::APIs::ProductPricingV0::GetOffersResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

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

Returns the value of attribute errors.



306
307
308
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 306

def errors
  @errors
end

#payloadPeddler::APIs::ProductPricingV0::GetOffersResult? (readonly)

Returns the value of attribute payload.



307
308
309
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 307

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::ProductPricingV0::GetOffersResponse .[](arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::GetOffersResponse



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

def self.[]: (?errors: Array[Peddler::APIs::ProductPricingV0::Error]?, ?payload: Peddler::APIs::ProductPricingV0::GetOffersResult?) -> Peddler::APIs::ProductPricingV0::GetOffersResponse
| (Array[Peddler::APIs::ProductPricingV0::Error]?, Peddler::APIs::ProductPricingV0::GetOffersResult?) -> Peddler::APIs::ProductPricingV0::GetOffersResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


302
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 302

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

.new(errors:, payload:) ⇒ Peddler::APIs::ProductPricingV0::GetOffersResponse .new(arg0, arg1) ⇒ Peddler::APIs::ProductPricingV0::GetOffersResponse



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

def self.new: (?errors: Array[Peddler::APIs::ProductPricingV0::Error]?, ?payload: Peddler::APIs::ProductPricingV0::GetOffersResult?) -> Peddler::APIs::ProductPricingV0::GetOffersResponse
| (Array[Peddler::APIs::ProductPricingV0::Error]?, Peddler::APIs::ProductPricingV0::GetOffersResult?) -> Peddler::APIs::ProductPricingV0::GetOffersResponse

.parsePeddler::APIs::ProductPricingV0::GetOffersResponse

Parameters:

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

Returns:



304
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 304

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


309
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 309

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

#to_h{ errors: Array[Peddler::APIs::ProductPricingV0::Error]?, payload: Peddler::APIs::ProductPricingV0::GetOffersResult? }



310
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 310

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