Class: Peddler::Notifications::FeePromotion::FinalFee

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/fee_promotion.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountInteger (readonly)

Returns the value of attribute amount.

Returns:

  • (Integer)


143
144
145
# File 'sig/peddler/notifications/fee_promotion.rbs', line 143

def amount
  @amount
end

#currency_codeString (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String)


144
145
146
# File 'sig/peddler/notifications/fee_promotion.rbs', line 144

def currency_code
  @currency_code
end

Class Method Details

.[](amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::FinalFee .[](arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::FinalFee

Overloads:



136
137
# File 'sig/peddler/notifications/fee_promotion.rbs', line 136

def self.[]: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::FinalFee
| (Integer, String) -> Peddler::Notifications::FeePromotion::FinalFee

.members[ :amount, :currency_code ]

Returns:

  • ([ :amount, :currency_code ])


139
# File 'sig/peddler/notifications/fee_promotion.rbs', line 139

def self.members: () -> [ :amount, :currency_code ]

.new(amount:, currency_code:) ⇒ Peddler::Notifications::FeePromotion::FinalFee .new(arg0, arg1) ⇒ Peddler::Notifications::FeePromotion::FinalFee

Overloads:



134
135
# File 'sig/peddler/notifications/fee_promotion.rbs', line 134

def self.new: (amount: Integer, currency_code: String) -> Peddler::Notifications::FeePromotion::FinalFee
| (Integer, String) -> Peddler::Notifications::FeePromotion::FinalFee

.parsePeddler::Notifications::FeePromotion::FinalFee

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



141
# File 'sig/peddler/notifications/fee_promotion.rbs', line 141

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::FeePromotion::FinalFee

Instance Method Details

#members[ :amount, :currency_code ]

Returns:

  • ([ :amount, :currency_code ])


146
# File 'sig/peddler/notifications/fee_promotion.rbs', line 146

def members: () -> [ :amount, :currency_code ]

#to_h{ amount: Integer, currency_code: String }

Returns:

  • ({ amount: Integer, currency_code: String })


147
# File 'sig/peddler/notifications/fee_promotion.rbs', line 147

def to_h: () -> { amount: Integer, currency_code: String }