Class: Peddler::APIs::FinancesV0::ChargeRefundTransaction

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

#charge_amountPeddler::Money? (readonly)

Returns the value of attribute charge_amount.

Returns:



205
206
207
# File 'sig/peddler/apis/finances_v0.rbs', line 205

def charge_amount
  @charge_amount
end

#charge_typeString? (readonly)

Returns the value of attribute charge_type.

Returns:

  • (String, nil)


206
207
208
# File 'sig/peddler/apis/finances_v0.rbs', line 206

def charge_type
  @charge_type
end

Class Method Details

.[](charge_amount:, charge_type:) ⇒ Peddler::APIs::FinancesV0::ChargeRefundTransaction .[](arg0, arg1) ⇒ Peddler::APIs::FinancesV0::ChargeRefundTransaction

Overloads:



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

def self.[]: (?charge_amount: Peddler::Money?, ?charge_type: String?) -> Peddler::APIs::FinancesV0::ChargeRefundTransaction
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::ChargeRefundTransaction

.members[ :charge_amount, :charge_type ]

Returns:

  • ([ :charge_amount, :charge_type ])


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

def self.members: () -> [ :charge_amount, :charge_type ]

.new(charge_amount:, charge_type:) ⇒ Peddler::APIs::FinancesV0::ChargeRefundTransaction .new(arg0, arg1) ⇒ Peddler::APIs::FinancesV0::ChargeRefundTransaction

Overloads:



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

def self.new: (?charge_amount: Peddler::Money?, ?charge_type: String?) -> Peddler::APIs::FinancesV0::ChargeRefundTransaction
| (Peddler::Money?, String?) -> Peddler::APIs::FinancesV0::ChargeRefundTransaction

.parsePeddler::APIs::FinancesV0::ChargeRefundTransaction

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :charge_amount, :charge_type ]

Returns:

  • ([ :charge_amount, :charge_type ])


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

def members: () -> [ :charge_amount, :charge_type ]

#to_h{ charge_amount: Peddler::Money?, charge_type: String? }

Returns:



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

def to_h: () -> { charge_amount: Peddler::Money?, charge_type: String? }