@@ -26,6 +26,8 @@ class Order
2626
2727 attr_accessor :price_cents_usd
2828
29+ attr_accessor :patch_fee_cents_usd
30+
2931 attr_accessor :allocations
3032
3133 attr_accessor :metadata
@@ -61,6 +63,7 @@ def self.attribute_map
6163 :'state' => :'state' ,
6264 :'allocation_state' => :'allocation_state' ,
6365 :'price_cents_usd' => :'price_cents_usd' ,
66+ :'patch_fee_cents_usd' => :'patch_fee_cents_usd' ,
6467 :'allocations' => :'allocations' ,
6568 :'metadata' => :'metadata'
6669 }
@@ -75,6 +78,7 @@ def self.openapi_types
7578 :'state' => :'String' ,
7679 :'allocation_state' => :'String' ,
7780 :'price_cents_usd' => :'String' ,
81+ :'patch_fee_cents_usd' => :'String' ,
7882 :'allocations' => :'Array<Allocation>' ,
7983 :'metadata' => :'Object'
8084 }
@@ -130,6 +134,10 @@ def initialize(attributes = {})
130134 self . price_cents_usd = attributes [ :'price_cents_usd' ]
131135 end
132136
137+ if attributes . key? ( :'patch_fee_cents_usd' )
138+ self . patch_fee_cents_usd = attributes [ :'patch_fee_cents_usd' ]
139+ end
140+
133141 if attributes . key? ( :'allocations' )
134142 if ( value = attributes [ :'allocations' ] ) . is_a? ( Array )
135143 self . allocations = value
@@ -252,6 +260,7 @@ def ==(o)
252260 state == o . state &&
253261 allocation_state == o . allocation_state &&
254262 price_cents_usd == o . price_cents_usd &&
263+ patch_fee_cents_usd == o . patch_fee_cents_usd &&
255264 allocations == o . allocations &&
256265 metadata == o . metadata
257266 end
@@ -265,7 +274,7 @@ def eql?(o)
265274 # Calculates hash code according to all attributes.
266275 # @return [Integer] Hash code
267276 def hash
268- [ id , mass_g , production , state , allocation_state , price_cents_usd , allocations , metadata ] . hash
277+ [ id , mass_g , production , state , allocation_state , price_cents_usd , patch_fee_cents_usd , allocations , metadata ] . hash
269278 end
270279
271280 # Builds the object from hash
0 commit comments