Class: Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
- 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::FeeDiscountMonetaryAmount
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Integer (readonly)
Returns the value of attribute amount.
52 53 54 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 52 def amount @amount end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
53 54 55 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 53 def currency_code @currency_code end |
Class Method Details
.[](amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount .[](arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
45 46 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 45
def self.[]: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
| (Integer, String) -> Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
|
.members ⇒ [ :amount, :currency_code ]
48 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 48
def self.members: () -> [ :amount, :currency_code ]
|
.new(amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount .new(arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
43 44 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 43
def self.new: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
| (Integer, String) -> Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
|
.parse ⇒ Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
50 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 50
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::FeeDiscountMonetaryAmount
|
Instance Method Details
#members ⇒ [ :amount, :currency_code ]
55 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 55
def members: () -> [ :amount, :currency_code ]
|
#to_h ⇒ { amount: Integer, currency_code: String }
56 |
# File 'sig/peddler/notifications/fee_promotion.rbs', line 56
def to_h: () -> { amount: Integer, currency_code: String }
|