Class: Peddler::APIs::ProductPricingV0::OfferDetail
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductPricingV0::OfferDetail
- Defined in:
- sig/peddler/apis/product_pricing_v0.rbs
Instance Attribute Summary collapse
-
#buy_box_winner ⇒ Boolean?
readonly
Returns the value of attribute buy_box_winner.
-
#condition_notes ⇒ String?
readonly
Returns the value of attribute condition_notes.
-
#featured_merchant ⇒ Boolean?
readonly
Returns the value of attribute featured_merchant.
-
#fulfilled_by_amazon ⇒ Boolean
readonly
Returns the value of attribute fulfilled_by_amazon.
-
#listing_price ⇒ Peddler::Money
readonly
Returns the value of attribute listing_price.
-
#my_offer ⇒ Boolean?
readonly
Returns the value of attribute my_offer.
-
#offer_type ⇒ String?
readonly
Returns the value of attribute offer_type.
-
#points ⇒ Peddler::APIs::ProductPricingV0::Points?
readonly
Returns the value of attribute points.
-
#prime_information ⇒ Peddler::APIs::ProductPricingV0::PrimeInformationType?
readonly
Returns the value of attribute prime_information.
-
#quantity_discount_prices ⇒ Array[Peddler::APIs::ProductPricingV0::QuantityDiscountPriceType]?
readonly
Returns the value of attribute quantity_discount_prices.
-
#seller_feedback_rating ⇒ Peddler::APIs::ProductPricingV0::SellerFeedbackType?
readonly
Returns the value of attribute seller_feedback_rating.
-
#seller_id ⇒ String?
readonly
Returns the value of attribute seller_id.
-
#shipping ⇒ Peddler::Money
readonly
Returns the value of attribute shipping.
-
#shipping_time ⇒ Peddler::APIs::ProductPricingV0::DetailedShippingTimeType
readonly
Returns the value of attribute shipping_time.
-
#ships_from ⇒ Peddler::APIs::ProductPricingV0::ShipsFromType?
readonly
Returns the value of attribute ships_from.
-
#sub_condition ⇒ String
readonly
Returns the value of attribute sub_condition.
Class Method Summary collapse
-
.[] ⇒ Object
-
.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 ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductPricingV0::OfferDetail
Instance Method Summary collapse
-
#buy_box_winner? ⇒ Boolean
-
#featured_merchant? ⇒ Boolean
-
#fulfilled_by_amazon? ⇒ Boolean
-
#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
-
#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]? }
Instance Attribute Details
#buy_box_winner ⇒ Boolean? (readonly)
Returns the value of attribute buy_box_winner.
604 605 606 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 604 def buy_box_winner @buy_box_winner end |
#condition_notes ⇒ String? (readonly)
Returns the value of attribute condition_notes.
605 606 607 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 605 def condition_notes @condition_notes end |
#featured_merchant ⇒ Boolean? (readonly)
Returns the value of attribute featured_merchant.
606 607 608 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 606 def featured_merchant @featured_merchant end |
#fulfilled_by_amazon ⇒ Boolean (readonly)
Returns the value of attribute fulfilled_by_amazon.
607 608 609 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 607 def fulfilled_by_amazon @fulfilled_by_amazon end |
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
608 609 610 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 608 def listing_price @listing_price end |
#my_offer ⇒ Boolean? (readonly)
Returns the value of attribute my_offer.
609 610 611 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 609 def my_offer @my_offer end |
#offer_type ⇒ String? (readonly)
Returns the value of attribute offer_type.
610 611 612 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 610 def offer_type @offer_type end |
#points ⇒ Peddler::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_information ⇒ Peddler::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_prices ⇒ Array[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_rating ⇒ Peddler::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 end |
#seller_id ⇒ String? (readonly)
Returns the value of attribute seller_id.
615 616 617 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 615 def seller_id @seller_id end |
#shipping ⇒ Peddler::Money (readonly)
Returns the value of attribute shipping.
616 617 618 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 616 def shipping @shipping end |
#shipping_time ⇒ Peddler::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_from ⇒ Peddler::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_condition ⇒ String (readonly)
Returns the value of attribute sub_condition.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ProductPricingV0::OfferDetail
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
621 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 621
def buy_box_winner?: () -> bool
|
#featured_merchant? ⇒ Boolean
622 |
# File 'sig/peddler/apis/product_pricing_v0.rbs', line 622
def featured_merchant?: () -> bool
|
#fulfilled_by_amazon? ⇒ 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 ]
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
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]? }
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]? }
|