Class: Peddler::APIs::FinancesV0::ChargeComponent
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::FinancesV0::ChargeComponent
- Defined in:
- sig/peddler/apis/finances_v0.rbs
Instance Attribute Summary collapse
-
#charge_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute charge_amount.
-
#charge_type ⇒ String?
readonly
Returns the value of attribute charge_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :charge_amount, :charge_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::FinancesV0::ChargeComponent
Instance Method Summary collapse
-
#members ⇒ [ :charge_amount, :charge_type ]
-
#to_h ⇒ { charge_amount: Peddler::Money?, charge_type: String? }
Instance Attribute Details
#charge_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute charge_amount.
139 140 141 |
# File 'sig/peddler/apis/finances_v0.rbs', line 139 def charge_amount @charge_amount end |
#charge_type ⇒ String? (readonly)
Returns the value of attribute charge_type.
140 141 142 |
# File 'sig/peddler/apis/finances_v0.rbs', line 140 def charge_type @charge_type end |
Class Method Details
.[](charge_amount:, charge_type:) ⇒ Peddler::APIs::FinancesV0::ChargeComponent .[](arg0, arg1) ⇒ Peddler::APIs::FinancesV0::ChargeComponent
132 133 |
# File 'sig/peddler/apis/finances_v0.rbs', line 132
def self.[]: (?charge_amount: Peddler::Money?, ?charge_type: String?) -> Peddler::APIs::FinancesV0::ChargeComponent
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::ChargeComponent
|
.members ⇒ [ :charge_amount, :charge_type ]
135 |
# File 'sig/peddler/apis/finances_v0.rbs', line 135
def self.members: () -> [ :charge_amount, :charge_type ]
|
.new(charge_amount:, charge_type:) ⇒ Peddler::APIs::FinancesV0::ChargeComponent .new(arg0, arg1) ⇒ Peddler::APIs::FinancesV0::ChargeComponent
130 131 |
# File 'sig/peddler/apis/finances_v0.rbs', line 130
def self.new: (?charge_amount: Peddler::Money?, ?charge_type: String?) -> Peddler::APIs::FinancesV0::ChargeComponent
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::ChargeComponent
|
.parse ⇒ Peddler::APIs::FinancesV0::ChargeComponent
137 |
# File 'sig/peddler/apis/finances_v0.rbs', line 137
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::FinancesV0::ChargeComponent
|
Instance Method Details
#members ⇒ [ :charge_amount, :charge_type ]
142 |
# File 'sig/peddler/apis/finances_v0.rbs', line 142
def members: () -> [ :charge_amount, :charge_type ]
|
#to_h ⇒ { charge_amount: Peddler::Money?, charge_type: String? }
143 |
# File 'sig/peddler/apis/finances_v0.rbs', line 143
def to_h: () -> { charge_amount: Peddler::Money?, charge_type: String? }
|