Class: Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
- Defined in:
- sig/peddler/notifications/b2b_any_offer_changed.rbs
Instance Attribute Summary collapse
-
#country ⇒ String?
readonly
Returns the value of attribute country.
-
#state ⇒ String?
readonly
Returns the value of attribute state.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :country, :state ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
Instance Method Summary collapse
Instance Attribute Details
#country ⇒ String? (readonly)
Returns the value of attribute country.
295 296 297 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 295 def country @country end |
#state ⇒ String? (readonly)
Returns the value of attribute state.
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
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 ]
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
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
|
.parse ⇒ Peddler::Notifications::B2BAnyOfferChanged::ShipsFrom
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 ]
298 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 298
def members: () -> [ :country, :state ]
|
#to_h ⇒ { country: String?, state: String? }
299 |
# File 'sig/peddler/notifications/b2b_any_offer_changed.rbs', line 299
def to_h: () -> { country: String?, state: String? }
|