Class: Peddler::APIs::ProductPricingV0::OfferDetail

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

#buy_box_winnerBoolean? (readonly)

Returns the value of attribute buy_box_winner.

Returns:

  • (Boolean, nil)


604
605
606
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 604

def buy_box_winner
  @buy_box_winner
end

#condition_notesString? (readonly)

Returns the value of attribute condition_notes.

Returns:

  • (String, nil)


605
606
607
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 605

def condition_notes
  @condition_notes
end

Returns the value of attribute featured_merchant.

Returns:

  • (Boolean, nil)


606
607
608
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 606

def featured_merchant
  @featured_merchant
end

#fulfilled_by_amazonBoolean (readonly)

Returns the value of attribute fulfilled_by_amazon.

Returns:

  • (Boolean)


607
608
609
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 607

def fulfilled_by_amazon
  @fulfilled_by_amazon
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



608
609
610
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 608

def listing_price
  @listing_price
end

#my_offerBoolean? (readonly)

Returns the value of attribute my_offer.

Returns:

  • (Boolean, nil)


609
610
611
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 609

def my_offer
  @my_offer
end

#offer_typeString? (readonly)

Returns the value of attribute offer_type.

Returns:

  • (String, nil)


610
611
612
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 610

def offer_type
  @offer_type
end

#pointsPeddler::APIs::ProductPricingV0::Points? (readonly)

Returns the value of attribute points.



611
612
613
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 611

def points
  @points
end

#prime_informationPeddler::APIs::ProductPricingV0::PrimeInformationType? (readonly)

Returns the value of attribute prime_information.



612
613
614
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 612

def prime_information
  @prime_information
end

#quantity_discount_pricesArray[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? (readonly)

Returns the value of attribute quantity_discount_prices.



613
614
615
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 613

def quantity_discount_prices
  @quantity_discount_prices
end

#seller_feedback_ratingPeddler::APIs::ProductPricingV0::SellerFeedbackType? (readonly)

Returns the value of attribute seller_feedback_rating.



614
615
616
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 614

def seller_feedback_rating
  @seller_feedback_rating
end

#seller_idString? (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String, nil)


615
616
617
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 615

def seller_id
  @seller_id
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



616
617
618
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 616

def shipping
  @shipping
end

#shipping_timePeddler::APIs::ProductPricingV0::DetailedShippingTimeType (readonly)

Returns the value of attribute shipping_time.



617
618
619
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 617

def shipping_time
  @shipping_time
end

#ships_fromPeddler::APIs::ProductPricingV0::ShipsFromType? (readonly)

Returns the value of attribute ships_from.



618
619
620
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 618

def ships_from
  @ships_from
end

#sub_conditionString (readonly)

Returns the value of attribute sub_condition.

Returns:

  • (String)


619
620
621
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 619

def sub_condition
  @sub_condition
end

Class Method Details

.[](fulfilled_by_amazon:, listing_price:, shipping:, shipping_time:, sub_condition:, condition_notes:, buy_box_winner:, featured_merchant:, my_offer:, points:, prime_information:, seller_feedback_rating:, seller_id:, ships_from:, offer_type:, quantity_discount_prices:) ⇒ Peddler::APIs::ProductPricingV0::OfferDetail .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::ProductPricingV0::OfferDetail

Overloads:



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

def self.[]: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, shipping: Peddler::Money, shipping_time: Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, sub_condition: String, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?my_offer: bool?, ?points: Peddler::APIs::ProductPricingV0::Points?, ?prime_information: Peddler::APIs::ProductPricingV0::PrimeInformationType?, ?seller_feedback_rating: Peddler::APIs::ProductPricingV0::SellerFeedbackType?, ?seller_id: String?, ?ships_from: Peddler::APIs::ProductPricingV0::ShipsFromType?, ?offer_type: String?, ?quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferDetail
| (bool, Peddler::Money, Peddler::Money, Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, String, String?, bool?, bool?, bool?, Peddler::APIs::ProductPricingV0::Points?, Peddler::APIs::ProductPricingV0::PrimeInformationType?, Peddler::APIs::ProductPricingV0::SellerFeedbackType?, String?, Peddler::APIs::ProductPricingV0::ShipsFromType?, String?, Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferDetail

.members[ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ]

Returns:

  • ([ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ])


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

def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ]

.new(fulfilled_by_amazon:, listing_price:, shipping:, shipping_time:, sub_condition:, condition_notes:, buy_box_winner:, featured_merchant:, my_offer:, points:, prime_information:, seller_feedback_rating:, seller_id:, ships_from:, offer_type:, quantity_discount_prices:) ⇒ Peddler::APIs::ProductPricingV0::OfferDetail .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) ⇒ Peddler::APIs::ProductPricingV0::OfferDetail

Overloads:



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

def self.new: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, shipping: Peddler::Money, shipping_time: Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, sub_condition: String, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?my_offer: bool?, ?points: Peddler::APIs::ProductPricingV0::Points?, ?prime_information: Peddler::APIs::ProductPricingV0::PrimeInformationType?, ?seller_feedback_rating: Peddler::APIs::ProductPricingV0::SellerFeedbackType?, ?seller_id: String?, ?ships_from: Peddler::APIs::ProductPricingV0::ShipsFromType?, ?offer_type: String?, ?quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferDetail
| (bool, Peddler::Money, Peddler::Money, Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, String, String?, bool?, bool?, bool?, Peddler::APIs::ProductPricingV0::Points?, Peddler::APIs::ProductPricingV0::PrimeInformationType?, Peddler::APIs::ProductPricingV0::SellerFeedbackType?, String?, Peddler::APIs::ProductPricingV0::ShipsFromType?, String?, Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?) -> Peddler::APIs::ProductPricingV0::OfferDetail

.parsePeddler::APIs::ProductPricingV0::OfferDetail

Parameters:

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

Returns:



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

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

Instance Method Details

#buy_box_winner?Boolean

Returns:

  • (Boolean)


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

def buy_box_winner?: () -> bool

Returns:

  • (Boolean)


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

def featured_merchant?: () -> bool

#fulfilled_by_amazon?Boolean

Returns:

  • (Boolean)


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

def fulfilled_by_amazon?: () -> bool

#members[ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ]

Returns:

  • ([ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ])


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

def members: () -> [ :fulfilled_by_amazon, :listing_price, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :my_offer, :points, :prime_information, :seller_feedback_rating, :seller_id, :ships_from, :offer_type, :quantity_discount_prices ]

#my_offer?Boolean

Returns:

  • (Boolean)


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

def my_offer?: () -> bool

#to_h{ fulfilled_by_amazon: bool, listing_price: Peddler::Money, shipping: Peddler::Money, shipping_time: Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, sub_condition: String, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, my_offer: bool?, points: Peddler::APIs::ProductPricingV0::Points?, prime_information: Peddler::APIs::ProductPricingV0::PrimeInformationType?, seller_feedback_rating: Peddler::APIs::ProductPricingV0::SellerFeedbackType?, seller_id: String?, ships_from: Peddler::APIs::ProductPricingV0::ShipsFromType?, offer_type: String?, quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? }

Returns:



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

def to_h: () -> { fulfilled_by_amazon: bool, listing_price: Peddler::Money, shipping: Peddler::Money, shipping_time: Peddler::APIs::ProductPricingV0::DetailedShippingTimeType, sub_condition: String, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, my_offer: bool?, points: Peddler::APIs::ProductPricingV0::Points?, prime_information: Peddler::APIs::ProductPricingV0::PrimeInformationType?, seller_feedback_rating: Peddler::APIs::ProductPricingV0::SellerFeedbackType?, seller_id: String?, ships_from: Peddler::APIs::ProductPricingV0::ShipsFromType?, offer_type: String?, quantity_discount_prices: Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]? }