Class: Io::Flow::V0::Models::PaymentMethodTagUndefinedType
- Inherits:
-
PaymentMethodTag
- Object
- PaymentMethodTag
- Io::Flow::V0::Models::PaymentMethodTagUndefinedType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from PaymentMethodTag
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ PaymentMethodTagUndefinedType
constructor
A new instance of PaymentMethodTagUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from PaymentMethodTag
Constructor Details
#initialize(incoming = {}) ⇒ PaymentMethodTagUndefinedType
Returns a new instance of PaymentMethodTagUndefinedType.
13230 13231 13232 13233 13234 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13230 def initialize(incoming={}) super(:discriminator => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13228 13229 13230 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13228 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
13240 13241 13242 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13240 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
13236 13237 13238 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13236 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
13244 13245 13246 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 13244 def to_hash raise 'Operation not supported for undefined type' end |