Class: Peddler::APIs::ProductPricingV0::OfferCountType

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

#conditionString? (readonly)

Returns the value of attribute condition.

Returns:

  • (String, nil)


586
587
588
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 586

def condition
  @condition
end

#fulfillment_channelString? (readonly)

Returns the value of attribute fulfillment_channel.

Returns:

  • (String, nil)


587
588
589
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 587

def fulfillment_channel
  @fulfillment_channel
end

#offer_countInteger? (readonly)

Returns the value of attribute offer_count.

Returns:

  • (Integer, nil)


588
589
590
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 588

def offer_count
  @offer_count
end

Class Method Details

.[](offer_count:, condition:, fulfillment_channel:) ⇒ Peddler::APIs::ProductPricingV0::OfferCountType .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricingV0::OfferCountType

Overloads:



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

def self.[]: (?offer_count: Integer?, ?condition: String?, ?fulfillment_channel: String?) -> Peddler::APIs::ProductPricingV0::OfferCountType
| (Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::OfferCountType

.members[ :offer_count, :condition, :fulfillment_channel ]

Returns:

  • ([ :offer_count, :condition, :fulfillment_channel ])


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

def self.members: () -> [ :offer_count, :condition, :fulfillment_channel ]

.new(offer_count:, condition:, fulfillment_channel:) ⇒ Peddler::APIs::ProductPricingV0::OfferCountType .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductPricingV0::OfferCountType

Overloads:



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

def self.new: (?offer_count: Integer?, ?condition: String?, ?fulfillment_channel: String?) -> Peddler::APIs::ProductPricingV0::OfferCountType
| (Integer?, String?, String?) -> Peddler::APIs::ProductPricingV0::OfferCountType

.parsePeddler::APIs::ProductPricingV0::OfferCountType

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :offer_count, :condition, :fulfillment_channel ]

Returns:

  • ([ :offer_count, :condition, :fulfillment_channel ])


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

def members: () -> [ :offer_count, :condition, :fulfillment_channel ]

#to_h{ offer_count: Integer?, condition: String?, fulfillment_channel: String? }

Returns:

  • ({ offer_count: Integer?, condition: String?, fulfillment_channel: String? })


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

def to_h: () -> { offer_count: Integer?, condition: String?, fulfillment_channel: String? }