Class: Peddler::Notifications::FulfillmentOrderStatus::Amount
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FulfillmentOrderStatus::Amount
- Defined in:
- sig/peddler/notifications/fulfillment_order_status.rbs
Instance Attribute Summary collapse
-
#unit ⇒ String
readonly
Returns the value of attribute unit.
-
#value ⇒ String
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
14 15 16 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 14 def unit @unit end |
#value ⇒ String (readonly)
Returns the value of attribute value.
15 16 17 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 15 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount .[](arg0, arg1) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount
7 8 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 7
def self.[]: (unit: String, value: String) -> Peddler::Notifications::FulfillmentOrderStatus::Amount
| (String, String) -> Peddler::Notifications::FulfillmentOrderStatus::Amount
|
.members ⇒ [ :unit, :value ]
10 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 10
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount .new(arg0, arg1) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount
5 6 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 5
def self.new: (unit: String, value: String) -> Peddler::Notifications::FulfillmentOrderStatus::Amount
| (String, String) -> Peddler::Notifications::FulfillmentOrderStatus::Amount
|
.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Amount
12 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FulfillmentOrderStatus::Amount
|
Instance Method Details
#members ⇒ [ :unit, :value ]
17 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 17
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: String }
18 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 18
def to_h: () -> { unit: String, value: String }
|