1verifyOrder = {
2    'orderId': 1234,
3    'orderDate': '2013-08-01 15:23:45',
4    'prices': [{
5        'id': 1,
6        'laborFee': '2',
7        'oneTimeFee': '2',
8        'oneTimeFeeTax': '.1',
9        'quantity': 1,
10        'recurringFee': '2',
11        'recurringFeeTax': '.1',
12        'hourlyRecurringFee': '2',
13        'setupFee': '1',
14        'item': {'id': 1, 'description': 'this is a thing'},
15    }]}
16placeOrder = {
17    'orderId': 1234,
18    'orderDate': '2013-08-01 15:23:45',
19    'orderDetails': {
20        'prices': [{
21            'id': 1,
22            'laborFee': '2',
23            'oneTimeFee': '2',
24            'oneTimeFeeTax': '.1',
25            'quantity': 1,
26            'recurringFee': '2',
27            'recurringFeeTax': '.1',
28            'hourlyRecurringFee': '2',
29            'setupFee': '1',
30            'item': {'id': 1, 'description': 'this is a thing'},
31        }],
32        'virtualGuests': [{
33            'id': 1234567,
34            'globalIdentifier': '1a2b3c-1701',
35            'fullyQualifiedDomainName': 'test.guest.com'
36        }]
37    }
38}
39
40# Reserved Capacity Stuff
41
42rsc_verifyOrder = {
43    'orderContainers': [
44        {
45            'locationObject': {
46                'id': 1854895,
47                'longName': 'Dallas 13',
48                'name': 'dal13'
49            },
50            'name': 'test-capacity',
51            'postTaxRecurring': '0.32',
52            'prices': [
53                {
54                    'item': {
55                        'id': 1,
56                        'description': 'B1.1x2 (1 Year ''Term)',
57                        'keyName': 'B1_1X2_1_YEAR_TERM',
58                    }
59                }
60            ]
61        }
62    ],
63    'postTaxRecurring': '0.32',
64}
65
66hardware_verifyOrder = {
67    "currencyShortName": "USD",
68    "hardware": [
69        {
70            "accountId": 1111,
71            "domain": "testedit.com",
72            "hostname": "test",
73            "globalIdentifier": "81434794-af69-44d5-bb97-12312asdasdasd"
74        }
75    ],
76    "location": "1441195",
77    "locationObject": {
78        "id": 1441195,
79        "longName": "Dallas 10",
80        "name": "dal10"
81    },
82    "packageId": 911,
83    "postTaxRecurring": "0",
84    "postTaxRecurringHourly": "0",
85    "postTaxRecurringMonthly": "0",
86    "preTaxRecurring": "0",
87    "preTaxRecurringHourly": "0",
88    "preTaxRecurringMonthly": "0",
89    "prices": [
90        {
91            "hourlyRecurringFee": "0",
92            "id": 209391,
93            "recurringFee": "0",
94            "categories": [
95                {
96                    "categoryCode": "ram",
97                    "id": 3,
98                    "name": "RAM"
99                }
100            ],
101            "item": {
102                "capacity": "32",
103                "description": "32 GB RAM",
104                "id": 11291,
105                "units": "GB"
106            }
107        }
108    ],
109    "proratedInitialCharge": "0",
110    "proratedOrderTotal": "0",
111    "quantity": 1,
112    "sendQuoteEmailFlag": None,
113    "totalRecurringTax": "0",
114    "useHourlyPricing": False
115}
116
117hardware_placeOrder = {
118    "orderDate": "2021-05-07T07:41:41-06:00",
119    "orderDetails": {
120        "billingInformation": {
121            "billingAddressLine1": "4849 Alpha Rd",
122            "billingCity": "Dallas",
123            "billingCountryCode": "US",
124            "billingEmail": "test.ibm.com",
125            "billingNameCompany": "SoftLayer Internal - Development Community",
126            "billingNameFirst": "Test",
127            "billingNameLast": "Test",
128            "billingPhoneVoice": "1111111",
129            "billingPostalCode": "75244-1111",
130            "billingState": "TX",
131        },
132        "currencyShortName": "USD",
133        "hardware": [
134            {
135                "accountId": 1111111,
136                "bareMetalInstanceFlag": 0,
137                "domain": "testedit.com",
138                "fullyQualifiedDomainName": "test.testedit.com",
139                "hostname": "test",
140                "globalIdentifier": "81434794-af69-44d5-bb97-1111111"
141            }
142        ],
143        "location": "1441195",
144        "locationObject": {
145            "id": 1441195,
146            "longName": "Dallas 10",
147            "name": "dal10"
148        },
149        "packageId": 911,
150        "paymentType": "ADD_TO_BALANCE",
151        "postTaxRecurring": "0",
152        "postTaxRecurringHourly": "0",
153        "postTaxRecurringMonthly": "0",
154        "postTaxSetup": "0",
155        "preTaxRecurring": "0",
156        "preTaxRecurringHourly": "0",
157        "preTaxRecurringMonthly": "0",
158        "preTaxSetup": "0",
159        "prices": [
160            {
161                "hourlyRecurringFee": "0",
162                "id": 209391,
163                "recurringFee": "0",
164                "categories": [
165                    {
166                        "categoryCode": "ram",
167                        "id": 3,
168                        "name": "RAM"
169                    }
170                ],
171                "item": {
172                    "capacity": "32",
173                    "description": "32 GB RAM",
174                    "id": 11291,
175                    "keyName": "RAM_32_GB_DDR4_2133_ECC_NON_REG",
176                    "units": "GB",
177                }
178            }
179        ],
180        "proratedInitialCharge": "0",
181        "proratedOrderTotal": "0",
182        "quantity": 1,
183        "totalRecurringTax": "0",
184        "useHourlyPricing": False
185    },
186    "orderId": 78332111,
187    "placedOrder": {
188        "accountId": 1111111,
189        "id": 1234,
190        "status": "PENDING_UPGRADE",
191        "account": {
192            "brandId": 2,
193            "companyName": "SoftLayer Internal - Development Community",
194            "id": 1234
195        },
196        "items": [
197            {
198                "categoryCode": "ram",
199                "description": "32 GB RAM",
200                "id": 824199364,
201                "recurringFee": "0"
202            }
203        ],
204        "userRecord": {
205            "accountId": 1234,
206            "firstName": "test",
207            "id": 3333,
208            "lastName": "test",
209            "username": "sl1234-test"
210        }
211    }
212}
213
214rsc_placeOrder = {
215    'orderDate': '2013-08-01 15:23:45',
216    'orderId': 1234,
217    'orderDetails': {
218        'postTaxRecurring': '0.32',
219    },
220    'placedOrder': {
221        'status': 'Great, thanks for asking',
222        'locationObject': {
223            'id': 1854895,
224            'longName': 'Dallas 13',
225            'name': 'dal13'
226        },
227        'name': 'test-capacity',
228        'items': [
229            {
230                'description': 'B1.1x2 (1 Year ''Term)',
231                'keyName': 'B1_1X2_1_YEAR_TERM',
232                'categoryCode': 'guest_core',
233            }
234        ]
235    }
236}
237
238rsi_placeOrder = {
239    'orderId': 1234,
240    'orderDetails': {
241        'prices': [
242            {
243                'id': 4,
244                'item': {
245                    'id': 1,
246                    'description': 'B1.1x2 (1 Year ''Term)',
247                    'keyName': 'B1_1X2_1_YEAR_TERM',
248                },
249                'hourlyRecurringFee': 1.0,
250                'recurringFee': 2.0
251            }
252        ]
253    }
254}
255
256wmware_placeOrder = {
257    "orderDate": "2021-06-02 15:23:47",
258    "orderId": 123456,
259    "prices": [
260        {
261            "id": 176535,
262            "itemId": 8109,
263            "categories": [
264                {
265                    "categoryCode": "software_license",
266                    "id": 438,
267                    "name": "Software License"
268                }
269            ],
270            "item": {
271                "capacity": "1",
272                "description": "VMware vSAN Advanced Tier III 64 - 124 TB 6.x",
273                "id": 8109,
274                "keyName": "VMWARE_VSAN_ADVANCE_TIER_III_64_124_6_X",
275                "softwareDescription": {
276                    "id": 1795,
277                },
278                "thirdPartyPolicyAssignments": [
279                    {
280                        "id": 29263,
281                        "policyName": "3rd Party Software Terms VMWare v4"
282                    }
283                ]
284            }
285        }
286    ]}
287
288vlan_placeOrder = {"orderDate": "2021-06-02 15:23:47",
289                   "orderId": 123456,
290                   "orderDetails": {
291                       "orderContainers": [{
292                           "name": "test"}]},
293                   "prices": [{
294                       "id": 2018,
295                       "itemId": 1071,
296                       "categories": [{
297                           "categoryCode": "network_vlan",
298                           "id": 113,
299                           "name": "Network Vlan"}],
300                       "item": {
301                           "capacity": "0",
302                           "description": "Public Network Vlan",
303                           "id": 1071,
304                           "keyName": "PUBLIC_NETWORK_VLAN"}}
305                   ]}
306