Class: Dodopayments::Models::CustomFieldResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CustomFieldResponse
- Defined in:
- lib/dodopayments/models/custom_field_response.rb,
sig/dodopayments/models/custom_field_response.rbs
Instance Attribute Summary collapse
-
#key ⇒ String
Key matching the custom field definition.
-
#value ⇒ String
Value provided by customer.
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ CustomFieldResponse
constructor
Customer's response to a custom field.
- #to_hash ⇒ { key: String, value: 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(key:, value:) ⇒ CustomFieldResponse
Customer's response to a custom field
|
|
# File 'lib/dodopayments/models/custom_field_response.rb', line 18
|
Instance Attribute Details
#key ⇒ String
Key matching the custom field definition
10 |
# File 'lib/dodopayments/models/custom_field_response.rb', line 10 required :key, String |
#value ⇒ String
Value provided by customer
16 |
# File 'lib/dodopayments/models/custom_field_response.rb', line 16 required :value, String |
Instance Method Details
#to_hash ⇒ { key: String, value: String }
12 |
# File 'sig/dodopayments/models/custom_field_response.rbs', line 12
def to_hash: -> { key: String, value: String }
|