@@ -37,6 +37,8 @@ class Tmsv2customersEmbeddedDefaultPaymentInstrumentCard
3737
3838 # Hash value representing the card.
3939 attr_accessor :hash
40+ alias :hash_value :hash
41+ alias :hash_value= :hash=
4042
4143 attr_accessor :tokenized_information
4244
@@ -50,7 +52,7 @@ def self.attribute_map
5052 :'start_month' => :'startMonth' ,
5153 :'start_year' => :'startYear' ,
5254 :'use_as' => :'useAs' ,
53- :'hash ' => :'hash ' ,
55+ :'hash_value ' => :'hashValue ' ,
5456 :'tokenized_information' => :'tokenizedInformation'
5557 }
5658 end
@@ -65,7 +67,7 @@ def self.swagger_types
6567 :'start_month' => :'String' ,
6668 :'start_year' => :'String' ,
6769 :'use_as' => :'String' ,
68- :'hash ' => :'String' ,
70+ :'hash_value ' => :'String' ,
6971 :'tokenized_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCardTokenizedInformation'
7072 }
7173 end
@@ -106,8 +108,8 @@ def initialize(attributes = {})
106108 self . use_as = attributes [ :'useAs' ]
107109 end
108110
109- if attributes . has_key? ( :'hash ' )
110- self . hash = attributes [ :'hash ' ]
111+ if attributes . has_key? ( :'hashValue ' )
112+ self . hash_value = attributes [ :'hashValue ' ]
111113 end
112114
113115 if attributes . has_key? ( :'tokenizedInformation' )
@@ -160,8 +162,8 @@ def start_year=(start_year)
160162
161163 # Custom attribute writer method with validation
162164 # @param [Object] hash Value to be assigned
163- def hash = ( hash )
164- @hash = hash
165+ def hash_value = ( hash_value )
166+ @hash_value = hash_value
165167 end
166168
167169 # Checks equality by comparing each attribute.
@@ -176,7 +178,7 @@ def ==(o)
176178 start_month == o . start_month &&
177179 start_year == o . start_year &&
178180 use_as == o . use_as &&
179- hash == o . hash &&
181+ hash_value == o . hash_value &&
180182 tokenized_information == o . tokenized_information
181183 end
182184
@@ -189,7 +191,7 @@ def eql?(o)
189191 # Calculates hash code according to all attributes.
190192 # @return [Fixnum] Hash code
191193 def hash
192- [ expiration_month , expiration_year , type , issue_number , start_month , start_year , use_as , hash , tokenized_information ] . hash
194+ [ expiration_month , expiration_year , type , issue_number , start_month , start_year , use_as , hash_value , tokenized_information ] . hash
193195 end
194196
195197 # Builds the object from hash
0 commit comments