Class: Peddler::Notifications::B2BAnyOfferChanged::Offer
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::B2BAnyOfferChanged::Offer
- Defined in:
- sig/peddler/notifications/b2b_any_offer_changed.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.
-
#points ⇒ Peddler::Notifications::B2BAnyOfferChanged::Points?
readonly
Returns the value of attribute points.
-
#prime_information ⇒ Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?
readonly
Returns the value of attribute prime_information.
-
#quantity_discount_price ⇒ Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?
readonly
Returns the value of attribute quantity_discount_price.
-
#seller_feedback_rating ⇒ Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?
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 ⇒ Hash[untyped, untyped]
readonly
Returns the value of attribute shipping_time.
-
#ships_from ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?
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, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer
Instance Method Summary collapse
-
#buy_box_winner? ⇒ Boolean
-
#featured_merchant? ⇒ Boolean
-
#fulfilled_by_amazon? ⇒ Boolean
-
#members ⇒ [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
-
#to_h ⇒ { fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Hash[untyped, untyped], sub_condition: String, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom? }
Instance Attribute Details
#buy_box_winner ⇒ Boolean? (readonly)
Returns the value of attribute buy_box_winner.
121 122 123 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 121 def buy_box_winner @buy_box_winner end |
#condition_notes ⇒ String? (readonly)
Returns the value of attribute condition_notes.
122 123 124 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 122 def condition_notes @condition_notes end |
#featured_merchant ⇒ Boolean? (readonly)
Returns the value of attribute featured_merchant.
123 124 125 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 123 def featured_merchant @featured_merchant end |
#fulfilled_by_amazon ⇒ Boolean (readonly)
Returns the value of attribute fulfilled_by_amazon.
124 125 126 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 124 def fulfilled_by_amazon @fulfilled_by_amazon end |
#listing_price ⇒ Peddler::Money (readonly)
Returns the value of attribute listing_price.
125 126 127 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 125 def listing_price @listing_price end |
#points ⇒ Peddler::Notifications::B2BAnyOfferChanged::Points? (readonly)
Returns the value of attribute points.
126 127 128 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 126 def points @points end |
#prime_information ⇒ Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation? (readonly)
Returns the value of attribute prime_information.
127 128 129 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 127 def prime_information @prime_information end |
#quantity_discount_price ⇒ Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]? (readonly)
Returns the value of attribute quantity_discount_price.
128 129 130 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 128 def quantity_discount_price @quantity_discount_price end |
#seller_feedback_rating ⇒ Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating? (readonly)
Returns the value of attribute seller_feedback_rating.
129 130 131 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 129 def @seller_feedback_rating end |
#seller_id ⇒ String (readonly)
Returns the value of attribute seller_id.
130 131 132 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 130 def seller_id @seller_id end |
#shipping ⇒ Peddler::Money (readonly)
Returns the value of attribute shipping.
131 132 133 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 131 def shipping @shipping end |
#shipping_time ⇒ Hash[untyped, untyped] (readonly)
Returns the value of attribute shipping_time.
132 133 134 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 132 def shipping_time @shipping_time end |
#ships_from ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom? (readonly)
Returns the value of attribute ships_from.
133 134 135 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 133 def ships_from @ships_from end |
#sub_condition ⇒ String (readonly)
Returns the value of attribute sub_condition.
134 135 136 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 134 def sub_condition @sub_condition end |
Class Method Details
.[](fulfilled_by_amazon:, listing_price:, seller_id:, shipping:, shipping_time:, sub_condition:, condition_notes:, buy_box_winner:, featured_merchant:, points:, prime_information:, quantity_discount_price:, seller_feedback_rating:, ships_from:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer
114 115 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 114
def self.[]: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Hash[untyped, untyped], sub_condition: String, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, ?quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, ?seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ?ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
| (bool, Peddler::Money, String, Peddler::Money, Hash[untyped, untyped], String, String?, bool?, bool?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
.members ⇒ [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
117 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 117
def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
.new(fulfilled_by_amazon:, listing_price:, seller_id:, shipping:, shipping_time:, sub_condition:, condition_notes:, buy_box_winner:, featured_merchant:, points:, prime_information:, quantity_discount_price:, seller_feedback_rating:, ships_from:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer
112 113 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 112
def self.new: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Hash[untyped, untyped], sub_condition: String, ?condition_notes: String?, ?buy_box_winner: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::B2BAnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, ?quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, ?seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ?ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
| (bool, Peddler::Money, String, Peddler::Money, Hash[untyped, untyped], String, String?, bool?, bool?, Peddler::Notifications::B2BAnyOfferChanged::Points?, Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom?) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::Offer
119 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 119
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::B2BAnyOfferChanged::Offer
|
Instance Method Details
#buy_box_winner? ⇒ Boolean
136 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 136
def buy_box_winner?: () -> bool
|
#featured_merchant? ⇒ Boolean
137 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 137
def featured_merchant?: () -> bool
|
#fulfilled_by_amazon? ⇒ Boolean
138 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 138
def fulfilled_by_amazon?: () -> bool
|
#members ⇒ [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
139 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 139
def members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :condition_notes, :buy_box_winner, :featured_merchant, :points, :prime_information, :quantity_discount_price, :seller_feedback_rating, :ships_from ]
|
#to_h ⇒ { fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Hash[untyped, untyped], sub_condition: String, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom? }
140 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 140
def to_h: () -> { fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Hash[untyped, untyped], sub_condition: String, condition_notes: String?, buy_box_winner: bool?, featured_merchant: bool?, points: Peddler::Notifications::B2BAnyOfferChanged::Points?, prime_information: Peddler::Notifications::B2BAnyOfferChanged::PrimeInformation?, quantity_discount_price: Array[Peddler::Notifications::B2BAnyOfferChanged::QuantityDiscountPriceType]?, seller_feedback_rating: Peddler::Notifications::B2BAnyOfferChanged::SellerFeedbackRating?, ships_from: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom? }
|