Class: Peddler::Notifications::TransactionUpdate::TotalAmount

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#currency_amountFloat (readonly)

Returns the value of attribute currency_amount.

Returns:

  • (Float)


86
87
88
# File 'sig/peddler/notifications/transaction_update.rbs', line 86

def currency_amount
  @currency_amount
end

#currency_codeString (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String)


87
88
89
# File 'sig/peddler/notifications/transaction_update.rbs', line 87

def currency_code
  @currency_code
end

Class Method Details

.[](currency_amount:, currency_code:) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount .[](arg0, arg1) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount

Overloads:



79
80
# File 'sig/peddler/notifications/transaction_update.rbs', line 79

def self.[]: (currency_amount: Float, currency_code: String) -> Peddler::Notifications::TransactionUpdate::TotalAmount
| (Float, String) -> Peddler::Notifications::TransactionUpdate::TotalAmount

.members[ :currency_amount, :currency_code ]

Returns:

  • ([ :currency_amount, :currency_code ])


82
# File 'sig/peddler/notifications/transaction_update.rbs', line 82

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

.new(currency_amount:, currency_code:) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount .new(arg0, arg1) ⇒ Peddler::Notifications::TransactionUpdate::TotalAmount

Overloads:



77
78
# File 'sig/peddler/notifications/transaction_update.rbs', line 77

def self.new: (currency_amount: Float, currency_code: String) -> Peddler::Notifications::TransactionUpdate::TotalAmount
| (Float, String) -> Peddler::Notifications::TransactionUpdate::TotalAmount

.parsePeddler::Notifications::TransactionUpdate::TotalAmount

Parameters:

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

Returns:



84
# File 'sig/peddler/notifications/transaction_update.rbs', line 84

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

Instance Method Details

#members[ :currency_amount, :currency_code ]

Returns:

  • ([ :currency_amount, :currency_code ])


89
# File 'sig/peddler/notifications/transaction_update.rbs', line 89

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

#to_h{ currency_amount: Float, currency_code: String }

Returns:

  • ({ currency_amount: Float, currency_code: String })


90
# File 'sig/peddler/notifications/transaction_update.rbs', line 90

def to_h: () -> { currency_amount: Float, currency_code: String }