@@ -16,6 +16,7 @@ class Order {
16
16
state ,
17
17
allocationState ,
18
18
priceCentsUsd ,
19
+ patchFeeCentsUsd ,
19
20
allocations ,
20
21
metadata
21
22
) {
@@ -27,6 +28,7 @@ class Order {
27
28
state ,
28
29
allocationState ,
29
30
priceCentsUsd ,
31
+ patchFeeCentsUsd ,
30
32
allocations ,
31
33
metadata
32
34
) ;
@@ -40,6 +42,7 @@ class Order {
40
42
state ,
41
43
allocationState ,
42
44
priceCentsUsd ,
45
+ patchFeeCentsUsd ,
43
46
allocations ,
44
47
metadata
45
48
) {
@@ -49,6 +52,7 @@ class Order {
49
52
obj [ 'state' ] = state ;
50
53
obj [ 'allocation_state' ] = allocationState ;
51
54
obj [ 'price_cents_usd' ] = priceCentsUsd ;
55
+ obj [ 'patch_fee_cents_usd' ] = patchFeeCentsUsd ;
52
56
obj [ 'allocations' ] = allocations ;
53
57
obj [ 'metadata' ] = metadata ;
54
58
}
@@ -90,6 +94,13 @@ class Order {
90
94
) ;
91
95
}
92
96
97
+ if ( data . hasOwnProperty ( 'patch_fee_cents_usd' ) ) {
98
+ obj [ 'patch_fee_cents_usd' ] = ApiClient . convertToType (
99
+ data [ 'patch_fee_cents_usd' ] ,
100
+ 'String'
101
+ ) ;
102
+ }
103
+
93
104
if ( data . hasOwnProperty ( 'allocations' ) ) {
94
105
obj [ 'allocations' ] = ApiClient . convertToType ( data [ 'allocations' ] , [
95
106
Allocation
@@ -116,6 +127,8 @@ Order.prototype['allocation_state'] = undefined;
116
127
117
128
Order . prototype [ 'price_cents_usd' ] = undefined ;
118
129
130
+ Order . prototype [ 'patch_fee_cents_usd' ] = undefined ;
131
+
119
132
Order . prototype [ 'allocations' ] = undefined ;
120
133
121
134
Order . prototype [ 'metadata' ] = undefined ;
0 commit comments