Class: Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#localeString? (readonly)

Returns the value of attribute locale.

Returns:

  • (String, nil)


299
300
301
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 299

def locale
  @locale
end

#textString? (readonly)

Returns the value of attribute text.

Returns:

  • (String, nil)


300
301
302
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 300

def text
  @text
end

Class Method Details

.[](locale:, text:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage .[](arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

Overloads:



292
293
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 292

def self.[]: (?locale: String?, ?text: String?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage
| (String?, String?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

.members[ :locale, :text ]

Returns:

  • ([ :locale, :text ])


295
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 295

def self.members: () -> [ :locale, :text ]

.new(locale:, text:) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage .new(arg0, arg1) ⇒ Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

Overloads:



290
291
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 290

def self.new: (?locale: String?, ?text: String?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage
| (String?, String?) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

.parsePeddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

Parameters:

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

Returns:



297
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 297

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FulfillmentOutbound20200701::DeliveryMessage

Instance Method Details

#members[ :locale, :text ]

Returns:

  • ([ :locale, :text ])


302
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 302

def members: () -> [ :locale, :text ]

#to_h{ locale: String?, text: String? }

Returns:

  • ({ locale: String?, text: String? })


303
# File 'sig/peddler/apis/fulfillment_outbound_2020_07_01.rbs', line 303

def to_h: () -> { locale: String?, text: String? }