Class: Peddler::APIs::ProductPricingV0::GetPricingResponse

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.



346
347
348
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 346

def errors
  @errors
end

#payloadArray[Peddler::APIs::ProductPricingV0::Price]? (readonly)

Returns the value of attribute payload.



347
348
349
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 347

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::ProductPricingV0::GetPricingResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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

Returns:



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

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