Class: Yoomoney::Models::Refund::RefundMethod::ElectronicCertificateRefundMethod::ElectronicCertificate
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount:, basket_id:) ⇒ Object
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
|
# File 'lib/yoomoney/models/refund.rb', line 209
class ElectronicCertificate < Yoomoney::Internal::Type::BaseModel
required :amount, -> { Yoomoney::MonetaryAmount }
required :basket_id, String
end
|
Instance Attribute Details
213
|
# File 'lib/yoomoney/models/refund.rb', line 213
required :amount, -> { Yoomoney::MonetaryAmount }
|
#basket_id ⇒ String
218
|
# File 'lib/yoomoney/models/refund.rb', line 218
required :basket_id, String
|
Instance Method Details
#to_hash ⇒ {
212
|
# File 'sig/yoomoney/models/refund.rbs', line 212
def to_hash: -> {
|