Class: Peddler::Notifications::AnyOfferChanged::Offer

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


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

def buy_box_winner
  @buy_box_winner
end

#expedited_shipping_availableBoolean? (readonly)

Returns the value of attribute expedited_shipping_available.

Returns:

  • (Boolean, nil)


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

def expedited_shipping_available
  @expedited_shipping_available
end

Returns the value of attribute featured_merchant.

Returns:

  • (Boolean, nil)


133
134
135
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 133

def featured_merchant
  @featured_merchant
end

#fulfilled_by_amazonBoolean (readonly)

Returns the value of attribute fulfilled_by_amazon.

Returns:

  • (Boolean)


134
135
136
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 134

def fulfilled_by_amazon
  @fulfilled_by_amazon
end

#listing_pricePeddler::Money (readonly)

Returns the value of attribute listing_price.

Returns:



135
136
137
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 135

def listing_price
  @listing_price
end

#pointsPeddler::Notifications::AnyOfferChanged::Points? (readonly)

Returns the value of attribute points.



136
137
138
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 136

def points
  @points
end

#prime_informationPeddler::Notifications::AnyOfferChanged::PrimeInformation? (readonly)

Returns the value of attribute prime_information.



137
138
139
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 137

def prime_information
  @prime_information
end

#seller_feedback_ratingPeddler::Notifications::AnyOfferChanged::SellerFeedbackRating? (readonly)

Returns the value of attribute seller_feedback_rating.



138
139
140
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 138

def seller_feedback_rating
  @seller_feedback_rating
end

#seller_idString (readonly)

Returns the value of attribute seller_id.

Returns:

  • (String)


139
140
141
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 139

def seller_id
  @seller_id
end

#shippingPeddler::Money (readonly)

Returns the value of attribute shipping.

Returns:



140
141
142
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 140

def shipping
  @shipping
end

#shipping_timePeddler::Notifications::AnyOfferChanged::ShippingTime (readonly)

Returns the value of attribute shipping_time.



141
142
143
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 141

def shipping_time
  @shipping_time
end

#ships_domesticallyBoolean? (readonly)

Returns the value of attribute ships_domestically.

Returns:

  • (Boolean, nil)


142
143
144
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 142

def ships_domestically
  @ships_domestically
end

#ships_fromPeddler::Notifications::AnyOfferChanged::ShipsFrom? (readonly)

Returns the value of attribute ships_from.



143
144
145
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 143

def ships_from
  @ships_from
end

#ships_internationallyBoolean? (readonly)

Returns the value of attribute ships_internationally.

Returns:

  • (Boolean, nil)


144
145
146
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 144

def ships_internationally
  @ships_internationally
end

#sub_conditionString (readonly)

Returns the value of attribute sub_condition.

Returns:

  • (String)


145
146
147
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 145

def sub_condition
  @sub_condition
end

Class Method Details

.[](fulfilled_by_amazon:, listing_price:, seller_id:, shipping:, shipping_time:, sub_condition:, buy_box_winner:, expedited_shipping_available:, featured_merchant:, points:, prime_information:, seller_feedback_rating:, ships_domestically:, ships_from:, ships_internationally:) ⇒ Peddler::Notifications::AnyOfferChanged::Offer .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::Notifications::AnyOfferChanged::Offer

Overloads:



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

def self.[]: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime, sub_condition: String, ?buy_box_winner: bool?, ?expedited_shipping_available: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::AnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, ?seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ?ships_domestically: bool?, ?ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ?ships_internationally: bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
| (bool, Peddler::Money, String, Peddler::Money, Peddler::Notifications::AnyOfferChanged::ShippingTime, String, bool?, bool?, bool?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?) -> Peddler::Notifications::AnyOfferChanged::Offer

.members[ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]

Returns:

  • ([ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ])


127
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 127

def self.members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]

.new(fulfilled_by_amazon:, listing_price:, seller_id:, shipping:, shipping_time:, sub_condition:, buy_box_winner:, expedited_shipping_available:, featured_merchant:, points:, prime_information:, seller_feedback_rating:, ships_domestically:, ships_from:, ships_internationally:) ⇒ Peddler::Notifications::AnyOfferChanged::Offer .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::Notifications::AnyOfferChanged::Offer

Overloads:



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

def self.new: (fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime, sub_condition: String, ?buy_box_winner: bool?, ?expedited_shipping_available: bool?, ?featured_merchant: bool?, ?points: Peddler::Notifications::AnyOfferChanged::Points?, ?prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, ?seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ?ships_domestically: bool?, ?ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ?ships_internationally: bool?) -> Peddler::Notifications::AnyOfferChanged::Offer
| (bool, Peddler::Money, String, Peddler::Money, Peddler::Notifications::AnyOfferChanged::ShippingTime, String, bool?, bool?, bool?, Peddler::Notifications::AnyOfferChanged::Points?, Peddler::Notifications::AnyOfferChanged::PrimeInformation?, Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, bool?, Peddler::Notifications::AnyOfferChanged::ShipsFrom?, bool?) -> Peddler::Notifications::AnyOfferChanged::Offer

.parsePeddler::Notifications::AnyOfferChanged::Offer

Parameters:

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

Returns:



129
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 129

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::Offer

Instance Method Details

#buy_box_winner?Boolean

Returns:

  • (Boolean)


147
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 147

def buy_box_winner?: () -> bool

#expedited_shipping_available?Boolean

Returns:

  • (Boolean)


148
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 148

def expedited_shipping_available?: () -> bool

Returns:

  • (Boolean)


149
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 149

def featured_merchant?: () -> bool

#fulfilled_by_amazon?Boolean

Returns:

  • (Boolean)


150
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 150

def fulfilled_by_amazon?: () -> bool

#members[ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]

Returns:

  • ([ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ])


151
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 151

def members: () -> [ :fulfilled_by_amazon, :listing_price, :seller_id, :shipping, :shipping_time, :sub_condition, :buy_box_winner, :expedited_shipping_available, :featured_merchant, :points, :prime_information, :seller_feedback_rating, :ships_domestically, :ships_from, :ships_internationally ]

#ships_domestically?Boolean

Returns:

  • (Boolean)


152
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 152

def ships_domestically?: () -> bool

#ships_internationally?Boolean

Returns:

  • (Boolean)


153
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 153

def ships_internationally?: () -> bool

#to_h{ fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime, sub_condition: String, buy_box_winner: bool?, expedited_shipping_available: bool?, featured_merchant: bool?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool? }

Returns:



154
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 154

def to_h: () -> { fulfilled_by_amazon: bool, listing_price: Peddler::Money, seller_id: String, shipping: Peddler::Money, shipping_time: Peddler::Notifications::AnyOfferChanged::ShippingTime, sub_condition: String, buy_box_winner: bool?, expedited_shipping_available: bool?, featured_merchant: bool?, points: Peddler::Notifications::AnyOfferChanged::Points?, prime_information: Peddler::Notifications::AnyOfferChanged::PrimeInformation?, seller_feedback_rating: Peddler::Notifications::AnyOfferChanged::SellerFeedbackRating?, ships_domestically: bool?, ships_from: Peddler::Notifications::AnyOfferChanged::ShipsFrom?, ships_internationally: bool? }