Class: Peddler::Notifications::B2BAnyOfferChanged::Offer

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/b2b_any_offer_changed.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)


121
122
123
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 121

def buy_box_winner
  @buy_box_winner
end

#condition_notesString? (readonly)

Returns the value of attribute condition_notes.

Returns:

  • (String, nil)


122
123
124
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 122

def condition_notes
  @condition_notes
end

Returns the value of attribute featured_merchant.

Returns:

  • (Boolean, nil)


123
124
125
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 123

def featured_merchant
  @featured_merchant
end

#fulfilled_by_amazonBoolean (readonly)

Returns the value of attribute fulfilled_by_amazon.

Returns:

  • (Boolean)


124
125
126
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 124

def fulfilled_by_amazon
  @fulfilled_by_amazon
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



125
126
127
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 125

def listing_price
  @listing_price
end

#pointsPeddler::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_informationPeddler::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_priceArray[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_ratingPeddler::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
  @seller_feedback_rating
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


130
131
132
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 130

def seller_id
  @seller_id
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



131
132
133
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 131

def shipping
  @shipping
end

#shipping_timeHash[untyped, untyped] (readonly)

Returns the value of attribute shipping_time.

Returns:

  • (Hash[untyped, untyped])


132
133
134
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 132

def shipping_time
  @shipping_time
end

#ships_fromPeddler::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_conditionString (readonly)

Returns the value of attribute sub_condition.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Notifications::B2BAnyOfferChanged::Offer

Parameters:

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

Returns:



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

Returns:

  • (Boolean)


136
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 136

def buy_box_winner?: () -> bool

Returns:

  • (Boolean)


137
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 137

def featured_merchant?: () -> bool

#fulfilled_by_amazon?Boolean

Returns:

  • (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 ]

Returns:

  • ([ :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? }

Returns:



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? }