Class: Peddler::APIs::FinancesV0::FeeComponent

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/finances_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_amountPeddler::Money? (readonly)

Returns the value of attribute fee_amount.

Returns:



414
415
416
# File 'sig/peddler/apis/finances_v0.rbs', line 414

def fee_amount
  @fee_amount
end

#fee_typeString? (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String, nil)


415
416
417
# File 'sig/peddler/apis/finances_v0.rbs', line 415

def fee_type
  @fee_type
end

Class Method Details

.[](fee_amount:, fee_type:) ⇒ Peddler::APIs::FinancesV0::FeeComponent .[](arg0, arg1) ⇒ Peddler::APIs::FinancesV0::FeeComponent

Overloads:



407
408
# File 'sig/peddler/apis/finances_v0.rbs', line 407

def self.[]: (?fee_amount: Peddler::Money?, ?fee_type: String?) -> Peddler::APIs::FinancesV0::FeeComponent
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::FeeComponent

.members[ :fee_amount, :fee_type ]

Returns:

  • ([ :fee_amount, :fee_type ])


410
# File 'sig/peddler/apis/finances_v0.rbs', line 410

def self.members: () -> [ :fee_amount, :fee_type ]

.new(fee_amount:, fee_type:) ⇒ Peddler::APIs::FinancesV0::FeeComponent .new(arg0, arg1) ⇒ Peddler::APIs::FinancesV0::FeeComponent

Overloads:



405
406
# File 'sig/peddler/apis/finances_v0.rbs', line 405

def self.new: (?fee_amount: Peddler::Money?, ?fee_type: String?) -> Peddler::APIs::FinancesV0::FeeComponent
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::FeeComponent

.parsePeddler::APIs::FinancesV0::FeeComponent

Parameters:

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

Returns:



412
# File 'sig/peddler/apis/finances_v0.rbs', line 412

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FinancesV0::FeeComponent

Instance Method Details

#members[ :fee_amount, :fee_type ]

Returns:

  • ([ :fee_amount, :fee_type ])


417
# File 'sig/peddler/apis/finances_v0.rbs', line 417

def members: () -> [ :fee_amount, :fee_type ]

#to_h{ fee_amount: Peddler::Money?, fee_type: String? }

Returns:



418
# File 'sig/peddler/apis/finances_v0.rbs', line 418

def to_h: () -> { fee_amount: Peddler::Money?, fee_type: String? }