Class: MethodRuby::Models::PaymentCreateParams::Fee
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::PaymentCreateParams::Fee
- Defined in:
- lib/method_ruby/models/payment_create_params.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#amount ⇒ Integer?
Fee amount in cents.
-
#type ⇒ Symbol, ...
The fee type.
Instance Method Summary collapse
-
#initialize(amount: nil, type: nil) ⇒ Object
constructor
Optional fee configuration for the payment.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount: nil, type: nil) ⇒ Object
Optional fee configuration for the payment.
|
|
# File 'lib/method_ruby/models/payment_create_params.rb', line 113
|
Instance Attribute Details
#amount ⇒ Integer?
Fee amount in cents.
105 |
# File 'lib/method_ruby/models/payment_create_params.rb', line 105 optional :amount, Integer |
#type ⇒ Symbol, ...
The fee type.
111 |
# File 'lib/method_ruby/models/payment_create_params.rb', line 111 optional :type, enum: -> { MethodRuby::PaymentCreateParams::Fee::Type } |