Class: Peddler::Notifications::FeePromotion::TaxAmount
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FeePromotion::TaxAmount
- Defined in:
- sig/peddler/notifications/fee_promotion.rbs
Instance Attribute Summary collapse
-
#amount ⇒ Integer
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::FeePromotion::TaxAmount
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the value of attribute amount.
306 307 308 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 306 def amount @amount end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
307 308 309 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 307 def currency_code @currency_code end |
Class Method Details
.[](amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::TaxAmount .[](arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::TaxAmount
299 300 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 299 def self.[]: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::TaxAmount | (Integer, String) -> Peddler::Notifications::FeePromotion::TaxAmount |
.members ⇒ [ :amount, :currency_code ]
302 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 302 def self.members: () -> [ :amount, :currency_code ] |
.new(amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::TaxAmount .new(arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::TaxAmount
297 298 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 297 def self.new: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::TaxAmount | (Integer, String) -> Peddler::Notifications::FeePromotion::TaxAmount |
.parse ⇒ Peddler::Notifications::FeePromotion::TaxAmount
304 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 304 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::TaxAmount |
Instance Method Details
#members ⇒ [ :amount, :currency_code ]
309 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 309 def members: () -> [ :amount, :currency_code ] |
#to_h ⇒ { amount: Integer, currency_code: String }
310 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 310 def to_h: () -> { amount: Integer, currency_code: String } |