Class: Peddler::Notifications::TransactionUpdate::TotalAmount
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::TransactionUpdate::TotalAmount
- Defined in:
- sig/peddler/notifications/transaction_update.rbs
Instance Attribute Summary collapse
-
#currency_amount ⇒ Float
readonly
Returns the value of attribute currency_amount.
-
#currency_code ⇒ String
readonly
Returns the value of attribute currency_code.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :currency_amount, :currency_code ]
- .new ⇒ Object
- .parse ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount
Instance Method Summary collapse
- #members ⇒ [ :currency_amount, :currency_code ]
- #to_h ⇒ { currency_amount: Float, currency_code: String }
Instance Attribute Details
#currency_amount ⇒ Float (readonly)
Returns the value of attribute currency_amount.
86 87 88 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 86 def currency_amount @currency_amount end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
87 88 89 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 87 def currency_code @currency_code end |
Class Method Details
.[](currency_amount:, currency_code:) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount .[](arg0, arg1) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount
79 80 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 79 def self.[]: (currency_amount: Float, currency_code: String) -> Peddler::Notifications::TransactionUpdate::TotalAmount | (Float, String) -> Peddler::Notifications::TransactionUpdate::TotalAmount |
.members ⇒ [ :currency_amount, :currency_code ]
82 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 82 def self.members: () -> [ :currency_amount, :currency_code ] |
.new(currency_amount:, currency_code:) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount .new(arg0, arg1) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount
77 78 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 77 def self.new: (currency_amount: Float, currency_code: String) -> Peddler::Notifications::TransactionUpdate::TotalAmount | (Float, String) -> Peddler::Notifications::TransactionUpdate::TotalAmount |
.parse ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount
84 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 84 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::TransactionUpdate::TotalAmount |
Instance Method Details
#members ⇒ [ :currency_amount, :currency_code ]
89 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 89 def members: () -> [ :currency_amount, :currency_code ] |
#to_h ⇒ { currency_amount: Float, currency_code: String }
90 |
# File 'sig/peddler/notifications/transaction_update.rbs', line 90 def to_h: () -> { currency_amount: Float, currency_code: String } |