Class: Yoomoney::Models::RefundCreateParams::Deal::RefundSettlement
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Yoomoney::Models::RefundCreateParams::Deal::RefundSettlement
- Defined in:
- lib/yoomoney/models/refund_create_params.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(refund_settlements:) ⇒ Object
constructor
Данные о сделке.
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(refund_settlements:) ⇒ Object
Данные о сделке.
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/yoomoney/models/refund_create_params.rb', line 103 class RefundSettlement < Yoomoney::Internal::Type::BaseModel # @!attribute amount # # @return [Yoomoney::Models::MonetaryAmount] required :amount, -> { Yoomoney::MonetaryAmount } # @!attribute type # # @return [Symbol, Yoomoney::Models::SettlementItemType] required :type, enum: -> { Yoomoney::SettlementItemType } # @!method initialize(amount:, type:) # @param amount [Yoomoney::Models::MonetaryAmount] # @param type [Symbol, Yoomoney::Models::SettlementItemType] end |
Instance Attribute Details
#amount ⇒ Yoomoney::Models::MonetaryAmount
107 |
# File 'lib/yoomoney/models/refund_create_params.rb', line 107 required :amount, -> { Yoomoney::MonetaryAmount } |
#type ⇒ Symbol, Yoomoney::Models::SettlementItemType
112 |
# File 'lib/yoomoney/models/refund_create_params.rb', line 112 required :type, enum: -> { Yoomoney::SettlementItemType } |