Class: Peddler::Notifications::FeePromotion::PriceThreshold
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FeePromotion::PriceThreshold
- 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::PriceThreshold
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the value of attribute amount.
251 252 253 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 251 def amount @amount end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
252 253 254 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 252 def currency_code @currency_code end |
Class Method Details
.[](amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::PriceThreshold .[](arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::PriceThreshold
244 245 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 244
def self.[]: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::PriceThreshold
| (Integer, String) -> Peddler::Notifications::FeePromotion::PriceThreshold
|
.members ⇒ [ :amount, :currency_code ]
247 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 247
def self.members: () -> [ :amount, :currency_code ]
|
.new(amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::PriceThreshold .new(arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::PriceThreshold
242 243 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 242
def self.new: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::PriceThreshold
| (Integer, String) -> Peddler::Notifications::FeePromotion::PriceThreshold
|
.parse ⇒ Peddler::Notifications::FeePromotion::PriceThreshold
249 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 249
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::PriceThreshold
|
Instance Method Details
#members ⇒ [ :amount, :currency_code ]
254 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 254
def members: () -> [ :amount, :currency_code ]
|
#to_h ⇒ { amount: Integer, currency_code: String }
255 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 255
def to_h: () -> { amount: Integer, currency_code: String }
|