Class: Peddler::Notifications::FulfillmentOrderStatus::Money
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FulfillmentOrderStatus::Money
- Defined in:
- sig/peddler/notifications/fulfillment_order_status.rbs
Instance Attribute Summary collapse
-
#amount ⇒ String
readonly
Returns the value of attribute amount.
-
#currency_code ⇒ String
readonly
Returns the value of attribute currency_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :amount, :currency_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ String (readonly)
Returns the value of attribute amount.
31 32 33 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 31 def amount @amount end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
32 33 34 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 32 def currency_code @currency_code end |
Class Method Details
.[](amount:, currency_code:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money .[](arg0, arg1) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money
24 25 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 24
def self.[]: (amount: String, currency_code: String) -> Peddler::Notifications::FulfillmentOrderStatus::Money
| (String, String) -> Peddler::Notifications::FulfillmentOrderStatus::Money
|
.members ⇒ [ :amount, :currency_code ]
27 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 27
def self.members: () -> [ :amount, :currency_code ]
|
.new(amount:, currency_code:) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money .new(arg0, arg1) ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money
22 23 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 22
def self.new: (amount: String, currency_code: String) -> Peddler::Notifications::FulfillmentOrderStatus::Money
| (String, String) -> Peddler::Notifications::FulfillmentOrderStatus::Money
|
.parse ⇒ Peddler::Notifications::FulfillmentOrderStatus::Money
29 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 29
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FulfillmentOrderStatus::Money
|
Instance Method Details
#members ⇒ [ :amount, :currency_code ]
34 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 34
def members: () -> [ :amount, :currency_code ]
|
#to_h ⇒ { amount: String, currency_code: String }
35 |
# File 'sig/peddler/notifications/fulfillment_order_status.rbs', line 35
def to_h: () -> { amount: String, currency_code: String }
|