Class: Peddler::Notifications::B2BAnyOfferChanged::OfferCount

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

#conditionString (readonly)

Returns the value of attribute condition.

Returns:

  • (String)


172
173
174
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 172

def condition
  @condition
end

#fulfillment_channelString (readonly)

Returns the value of attribute fulfillment_channel.

Returns:

  • (String)


173
174
175
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 173

def fulfillment_channel
  @fulfillment_channel
end

#offer_countInteger? (readonly)

Returns the value of attribute offer_count.

Returns:

  • (Integer, nil)


174
175
176
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 174

def offer_count
  @offer_count
end

Class Method Details

.[](condition:, fulfillment_channel:, offer_count:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::OfferCount .[](arg0, arg1, arg2) ⇒ Peddler::Notifications::B2BAnyOfferChanged::OfferCount

Overloads:



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

def self.[]: (condition: String, fulfillment_channel: String, ?offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
| (String, String, Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount

.members[ :condition, :fulfillment_channel, :offer_count ]

Returns:

  • ([ :condition, :fulfillment_channel, :offer_count ])


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

def self.members: () -> [ :condition, :fulfillment_channel, :offer_count ]

.new(condition:, fulfillment_channel:, offer_count:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::OfferCount .new(arg0, arg1, arg2) ⇒ Peddler::Notifications::B2BAnyOfferChanged::OfferCount

Overloads:



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

def self.new: (condition: String, fulfillment_channel: String, ?offer_count: Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount
| (String, String, Integer?) -> Peddler::Notifications::B2BAnyOfferChanged::OfferCount

.parsePeddler::Notifications::B2BAnyOfferChanged::OfferCount

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :condition, :fulfillment_channel, :offer_count ]

Returns:

  • ([ :condition, :fulfillment_channel, :offer_count ])


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

def members: () -> [ :condition, :fulfillment_channel, :offer_count ]

#to_h{ condition: String, fulfillment_channel: String, offer_count: Integer? }

Returns:

  • ({ condition: String, fulfillment_channel: String, offer_count: Integer? })


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

def to_h: () -> { condition: String, fulfillment_channel: String, offer_count: Integer? }