Class: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom

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

#countryString? (readonly)

Returns the value of attribute country.

Returns:

  • (String, nil)


295
296
297
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 295

def country
  @country
end

#stateString? (readonly)

Returns the value of attribute state.

Returns:

  • (String, nil)


296
297
298
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 296

def state
  @state
end

Class Method Details

.[](country:, state:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom .[](arg0, arg1) ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom

Overloads:



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

def self.[]: (?country: String?, ?state: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
| (String?, String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom

.members[ :country, :state ]

Returns:

  • ([ :country, :state ])


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

def self.members: () -> [ :country, :state ]

.new(country:, state:) ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom .new(arg0, arg1) ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom

Overloads:



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

def self.new: (?country: String?, ?state: String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
| (String?, String?) -> Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom

.parsePeddler::Notifications::B2BAnyOfferChanged::ShipsFrom

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :country, :state ]

Returns:

  • ([ :country, :state ])


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

def members: () -> [ :country, :state ]

#to_h{ country: String?, state: String? }

Returns:

  • ({ country: String?, state: String? })


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

def to_h: () -> { country: String?, state: String? }