Class: Peddler::Notifications::FeePromotion::TaxAmount

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)


306
307
308
# File 'sig/peddler/notifications/fee_promotion.rbs', line 306

def amount
  @amount
end

#currency_codeString (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Notifications::FeePromotion::TaxAmount

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :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 }

Returns:

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


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

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