Class: Yoomoney::Models::Invoice::DeliveryMethod::DeliveryMethodSelf
- Inherits:
-
DeliveryMethod
- Object
- Internal::Type::BaseModel
- DeliveryMethod
- Yoomoney::Models::Invoice::DeliveryMethod::DeliveryMethodSelf
- Defined in:
- lib/yoomoney/models/invoice.rb,
sig/yoomoney/models/invoice.rbs
Instance Attribute Summary collapse
-
#url ⇒ String?
URL страницы счета.
Attributes inherited from DeliveryMethod
Instance Method Summary collapse
-
#initialize ⇒ DeliveryMethodSelf
constructor
A new instance of DeliveryMethodSelf.
- #to_hash ⇒ { url: String }
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 ⇒ DeliveryMethodSelf
Returns a new instance of DeliveryMethodSelf.
120 |
# File 'sig/yoomoney/models/invoice.rbs', line 120
def initialize: (?url: String) -> void
|
Instance Attribute Details
#url ⇒ String?
URL страницы счета.
144 |
# File 'lib/yoomoney/models/invoice.rb', line 144 optional :url, String |
Instance Method Details
#to_hash ⇒ { url: String }
122 |
# File 'sig/yoomoney/models/invoice.rbs', line 122
def to_hash: -> { url: String }
|