1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
verifyOrder = {
'orderId': 1234,
'orderDate': '2013-08-01 15:23:45',
'prices': [{
'id': 1,
'laborFee': '2',
'oneTimeFee': '2',
'oneTimeFeeTax': '.1',
'quantity': 1,
'recurringFee': '2',
'recurringFeeTax': '.1',
'hourlyRecurringFee': '2',
'setupFee': '1',
'item': {'id': 1, 'description': 'this is a thing'},
}]}
placeOrder = {
'orderId': 1234,
'orderDate': '2013-08-01 15:23:45',
'orderDetails': {
'prices': [{
'id': 1,
'laborFee': '2',
'oneTimeFee': '2',
'oneTimeFeeTax': '.1',
'quantity': 1,
'recurringFee': '2',
'recurringFeeTax': '.1',
'hourlyRecurringFee': '2',
'setupFee': '1',
'item': {'id': 1, 'description': 'this is a thing'},
}],
'virtualGuests': [{
'id': 1234567,
'globalIdentifier': '1a2b3c-1701',
'fullyQualifiedDomainName': 'test.guest.com'
}]
}
}
# Reserved Capacity Stuff
rsc_verifyOrder = {
'orderContainers': [
{
'locationObject': {
'id': 1854895,
'longName': 'Dallas 13',
'name': 'dal13'
},
'name': 'test-capacity',
'postTaxRecurring': '0.32',
'prices': [
{
'item': {
'id': 1,
'description': 'B1.1x2 (1 Year ''Term)',
'keyName': 'B1_1X2_1_YEAR_TERM',
}
}
]
}
],
'postTaxRecurring': '0.32',
}
rsc_placeOrder = {
'orderDate': '2013-08-01 15:23:45',
'orderId': 1234,
'orderDetails': {
'postTaxRecurring': '0.32',
},
'placedOrder': {
'status': 'Great, thanks for asking',
'locationObject': {
'id': 1854895,
'longName': 'Dallas 13',
'name': 'dal13'
},
'name': 'test-capacity',
'items': [
{
'description': 'B1.1x2 (1 Year ''Term)',
'keyName': 'B1_1X2_1_YEAR_TERM',
'categoryCode': 'guest_core',
}
]
}
}
rsi_placeOrder = {
'orderId': 1234,
'orderDetails': {
'prices': [
{
'id': 4,
'item': {
'id': 1,
'description': 'B1.1x2 (1 Year ''Term)',
'keyName': 'B1_1X2_1_YEAR_TERM',
},
'hourlyRecurringFee': 1.0,
'recurringFee': 2.0
}
]
}
}
|