Skip to content

Instantly share code, notes, and snippets.

@iamgaby7521
Created April 21, 2024 05:27
Show Gist options
  • Save iamgaby7521/d892aea86d8599f8330c600902489ff9 to your computer and use it in GitHub Desktop.
Save iamgaby7521/d892aea86d8599f8330c600902489ff9 to your computer and use it in GitHub Desktop.
booking_log-example
{
"accommodationBookings": "[]",
"activityBookings": "[{'bookingId': 67255847, 'parentBookingId': 42057774, 'confirmationCode': 'BT-42057774', 'productConfirmationCode': 'BT-T67255847', 'barcode': {'value': 'BT-T67255847', 'barcodeType': 'QR_CODE'}, 'hasTicket': False, 'boxBooking': False, 'startDateTime': 1713436200000, 'endDateTime': 1713452400000, 'status': 'CANCELLED', 'cancellationDate': 1713419184000, 'cancelledBy': 'Sergio R. (info@border-tours.com) - Border Tours', 'includedOnCustomerInvoice': False, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'totalPrice': 146.0, 'priceWithDiscount': 131.4, 'totalPriceAsText': '$146.00', 'priceWithDiscountAsText': '$131.40', 'discountPercentage': 10.0, 'discountAmount': 14.6, 'productCategory': 'ACTIVITIES', 'paidType': 'PAID_IN_FULL', 'product': {'id': 92667, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'flags': [], 'vendor': {'id': 3818, 'title': 'Border Tours', 'currencyCode': 'USD', 'showInvoiceIdOnTicket': False, 'showAgentDetailsOnTicket': False, 'showPaymentsOnInvoice': False, 'companyEmailIsDefault': False}, 'externalId': 'BT-003', 'productCategory': 'ACTIVITIES', 'isPassProduct': False, 'excerpt': 'This is a simple intro to Mexico for who ever does not have been in Mexico. A quick trip to explore a little of the Mexican culture.', 'cancellationPolicy': {'id': 73793, 'title': 'Standard Viator policy', 'penaltyRules': [{'id': 94468, 'cutoffHours': 24, 'charge': 100.0, 'chargeType': 'percentage', 'percentage': 100.0}, {'id': 94467, 'cutoffHours': 24000, 'charge': 0.0, 'chargeType': 'percentage', 'percentage': 0.0}], 'tax': None, 'defaultPolicy': False, 'policyType': 'ADVANCED', 'simpleCutoffHours': None, 'policyTypeEnum': 'ADVANCED'}}, 'productId': 92667, 'linksToExternalProducts': [], 'answers': [], 'invoice': {'id': 117595260, 'currency': 'USD', 'includedAppliedTaxes': [], 'excludedAppliedTaxes': [], 'productBookingId': 67255847, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego - Thu, April 18 2024 - 10:30 AM', 'product': {'id': 92667, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'flags': [], 'keyPhoto': {'id': 5530985, 'originalUrl': 'https://bokun.s3.amazonaws.com/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg', 'description': 'Having a taste of Mexico', 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660'}], 'fileName': '/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg'}, 'vendor': {'id': 3818, 'title': 'Border Tours', 'currencyCode': 'USD', 'countryCode': 'US', 'showInvoiceIdOnTicket': False, 'showAgentDetailsOnTicket': False, 'showPaymentsOnInvoice': False, 'companyEmailIsDefault': False}, 'isPassProduct': False}, 'productCategory': 'ACTIVITIES', 'productConfirmationCode': 'BT-T67255847', 'dates': 'Thu, April 18 2024 - 10:30 AM', 'hasFees': False, 'customLineItems': [], 'lineItems': [{'id': 127799900, 'title': 'Adult', 'currency': 'USD', 'unitPriceDate': 1713392898000, 'quantity': 2, 'unitPrice': 73.0, 'calculatedDiscount': 0.0, 'customDiscount': 10.0, 'calculatedDiscountAmount': 0.0, 'taxAmount': 0.0, 'taxesAsMoney': [], 'strikeThroughTotal': {'amount': 146.0, 'currency': 'USD'}, 'pricingCategoryId': 72825, 'itemBookingId': '92667_72825', 'costItemId': 123427759, 'costItemTitle': 'Adult', 'costGroupTitle': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'supportsDiscount': True, 'people': 2, 'totalAsText': '$146.00', 'totalDiscountedAsText': '$131.40', 'totalDueAsText': '$131.40', 'taxAsText': '$0.00', 'discountedUnitPriceAsText': '$65.70', 'unitPriceAsText': '$73.00', 'calculatedDiscountAmountAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountAmountAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountAmountAsText': '$0.00', 'total': 146.0, 'discountedUnitPrice': 65.7, 'unitPriceAsMoney': {'amount': 73.0, 'currency': 'USD'}, 'discount': 10.0, 'totalDiscounted': 131.4, 'taxAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountedUnitPriceAsMoney': {'amount': 65.7, 'currency': 'USD'}, 'totalDiscountedAsMoney': {'amount': 131.4, 'currency': 'USD'}, 'totalAsMoney': {'amount': 146.0, 'currency': 'USD'}, 'totalDueAsMoney': {'amount': 131.4, 'currency': 'USD'}, 'totalDue': 131.4}], 'appliedFees': [], 'totalFeesAsText': '$0.00', 'totalFeesAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalAsText': '$146.00', 'totalWithExcludedTaxAsMoney': {'amount': 146.0, 'currency': 'USD'}, 'totalDiscountedAsText': '$131.40', 'totalDiscountAsText': '$14.60', 'totalDueAsText': '$131.40', 'totalExcludedTaxAsText': '$0.00', 'totalIncludedTaxAsText': '$0.00', 'totalTaxAsText': '$0.00', 'strikeThroughTotalAsMoney': {'amount': 146.0, 'currency': 'USD'}, 'strikeThroughTotalAsText': '$146.00', 'totalIncludedTaxAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalExcludedTaxAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'excludedTaxes': False, 'totalTaxAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'includedTaxes': False, 'totalDiscountAsMoney': {'amount': 14.6, 'currency': 'USD'}, 'totalDiscountedAsMoney': {'amount': 131.4, 'currency': 'USD'}, 'totalAsMoney': {'amount': 146.0, 'currency': 'USD'}, 'totalDueAsMoney': {'amount': 131.4, 'currency': 'USD'}, 'free': False}, 'notes': [], 'supplierContractFlags': [], 'sellerContractFlags': [], 'cancellationPolicy': {'id': 73793, 'title': 'Standard Viator policy', 'penaltyRules': [{'id': 94468, 'cutoffHours': 24, 'charge': 100.0, 'chargeType': 'percentage', 'percentage': 100.0}, {'id': 94467, 'cutoffHours': 24000, 'charge': 0.0, 'chargeType': 'percentage', 'percentage': 0.0}], 'tax': None, 'defaultPolicy': False, 'policyType': 'ADVANCED', 'simpleCutoffHours': None, 'policyTypeEnum': 'ADVANCED'}, 'bookingRoles': ['NONE', 'SELLER', 'SUPPLIER'], 'refundProtectionSelected': False, 'refundProtectionOffered': False, 'date': 1713398400000, 'dateString': 'Thu, April 18 2024 - 10:30 AM', 'startTime': '10:30', 'startTimeId': 2776525, 'rateId': 162808, 'rateTitle': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'activity': {'id': 92667, 'externalId': 'BT-003', 'productGroupId': None, 'productCategory': 'ACTIVITIES', 'box': False, 'inventoryLocal': True, 'inventorySupportsPricing': False, 'inventorySupportsAvailability': True, 'creationDate': None, 'lastModified': 'Sat Apr 06 09:35:11 UTC 2024', 'lastPublished': 'Sat Apr 06 09:35:12 UTC 2024', 'published': True, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'description': 'This tour is the perfect introduction into Mexico, and we do it the only way that will ensure you get a true local experience. Walking along with a personalized local guide that will take you to uncommon as common places. The idea is that you get to know how to visit by yourself.', 'excerpt': 'This is a simple intro to Mexico for who ever does not have been in Mexico. A quick trip to explore a little of the Mexican culture.', 'cancellationPolicy': None, 'overrideBarcodeFormat': True, 'barcodeType': 'QR_CODE', 'timeZone': 'America/Los_Angeles', 'mainContactFields': [{'field': 'FIRST_NAME', 'required': False}, {'field': 'LAST_NAME', 'required': False}, {'field': 'EMAIL', 'required': False}, {'field': 'PHONE_NUMBER', 'required': False}, {'field': 'NATIONALITY', 'required': False}], 'requiredCustomerFields': [], 'keywords': ['Tijuana', 'San', 'Trip', 'Diego', 'Borders:', 'from', 'Crossing', 'Day'], 'flags': ['Tijuana', 'Intro', 'Walking Tour'], 'slug': None, 'baseLanguage': 'en', 'languages': ['es_419', 'en'], 'paymentCurrencies': ['USD'], 'customFields': [], 'tagGroups': [], 'categories': [], 'keyPhoto': {'id': 5530985, 'originalUrl': 'https://bokun.s3.amazonaws.com/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg', 'description': 'Having a taste of Mexico', 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660'}], 'fileName': '/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg'}, 'photos': [{'id': 5530985, 'originalUrl': 'https://bokun.s3.amazonaws.com/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg', 'description': 'Having a taste of Mexico', 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg?w=660&h=660'}], 'fileName': '/1018606b-9ce6-4a8f-8e83-75ebb4a23bb4.jpg'}, {'id': 5530986, 'originalUrl': 'https://bokun.s3.amazonaws.com/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg', 'description': 'Welcome to Tijuana Mexico', 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg?w=660&h=660'}], 'fileName': '/6087ecb5-90bb-4f00-9da6-3a327246411c.jpg'}, {'id': 5530987, 'originalUrl': 'https://bokun.s3.amazonaws.com/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg', 'description': None, 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg?w=660&h=660'}], 'fileName': '/bd8ca239-d409-4929-85ef-cd3bbec5745c.jpg'}, {'id': 5530988, 'originalUrl': 'https://bokun.s3.amazonaws.com/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg', 'description': None, 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg?w=660&h=660'}], 'fileName': '/e3bec90c-ed4b-4a82-8d11-0054578eb826.jpg'}, {'id': 5530989, 'originalUrl': 'https://bokun.s3.amazonaws.com/c51929f5-e565-43c2-827e-e24d20677eae.jpg', 'description': None, 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/c51929f5-e565-43c2-827e-e24d20677eae.jpg?w=660&h=660'}], 'fileName': '/c51929f5-e565-43c2-827e-e24d20677eae.jpg'}, {'id': 5530990, 'originalUrl': 'https://bokun.s3.amazonaws.com/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg', 'description': None, 'alternateText': None, 'height': None, 'width': None, 'flags': [], 'derived': [{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg?w=660&h=660'}], 'fileName': '/58b92e71-94ce-48e2-adc5-69858780d5a5.jpg'}], 'videos': [], 'vendor': {'id': 3818, 'title': 'Border Tours', 'currencyCode': 'USD', 'timeZone': 'America/Los_Angeles', 'showInvoiceIdOnTicket': False, 'showAgentDetailsOnTicket': False, 'showPaymentsOnInvoice': False, 'companyEmailIsDefault': False}, 'boxedVendor': None, 'storedExternally': False, 'pluginId': None, 'reviewRating': None, 'reviewCount': None, 'activityType': 'DAY_TOUR_OR_ACTIVITY', 'bookingType': 'DATE_AND_TIME', 'scheduleType': 'RECURRING', 'cutoffType': 'RELATIVE_TO_ONE_SET_TIME', 'cutoffReferenceHour': 6, 'cutoffReferenceMinute': 0, 'earlyBookingLimitType': 'UNLIMITED', 'earlyBookingLimitSpecificDateTime': None, 'earlyBookingLimitDaysBefore': None, 'earlyBookingLimitMonthsBefore': None, 'earlyBookingLimitTime': None, 'capacityType': 'FREE_SALE', 'passExpiryType': None, 'fixedPassExpiryDate': None, 'meetingType': 'MEET_ON_LOCATION', 'privateActivity': False, 'passCapacity': 0, 'passValidForDays': None, 'passesAvailable': 0, 'affiliateHubProduct': False, 'dressCode': False, 'passportRequired': True, 'supportedAccessibilityTypes': [], 'startPoints': [{'id': 15260, 'type': None, 'title': 'First San Ysidro Crossing Border', 'code': None, 'address': {'id': 158446, 'created': None, 'addressLine1': 'East San Ysidro Boulevard 727', 'addressLine2': '', 'addressLine3': '', 'city': 'San Diego', 'state': 'California', 'postalCode': '92173', 'countryCode': 'US', 'mapZoomLevel': 14, 'geoPoint': {'latitude': 32.5443738, 'longitude': -117.0290659}, 'unLocode': {'country': '', 'city': ''}, 'origin': None, 'originId': None, 'googlePlaceId': None}, 'pickupTicketDescription': None, 'dropoffTicketDescription': None, 'labels': []}], 'bookingQuestions': [], 'passengerFields': [{'field': 'FIRST_NAME', 'required': False}, {'field': 'LAST_NAME', 'required': False}, {'field': 'EMAIL', 'required': False}, {'field': 'PHONE_NUMBER', 'required': False}, {'field': 'NATIONALITY', 'required': False}], 'inclusions': ['FOOD_AND_DRINKS'], 'included': 'Food tasting<br />Lunch<br />Local guide<br />Bottled water', 'exclusions': [], 'excluded': 'Food and drinks<br />Alcoholic drinks (available to purchase)<br />Tip for your guide', 'requirements': '<ul><li>Passport</li><li>ID</li><li>Comfortable Cloth and Shoes</li></ul>\\n', 'knowBeforeYouGoItems': ['STROLLER_OR_PRAM_ACCESSIBLE', 'ANIMALS_OR_PETS_ALLOWED', 'PUBLIC_TRANSPORTATION_NEARBY', 'INFANTS_MUST_SIT_ON_LAPS', 'PASSPORT_REQUIRED'], 'attention': '<ul><li>Not wheelchair accessible</li><li>Children must be accompanied by an adult</li><li>Operates in all weather conditions, please dress appropriately</li><li>Infant seats unavailable</li><li>Not recommended for people with back problems</li><li>Not recommended for pregnant travelers</li><li>Passport is required</li><li>Border Regulations it may change the meeting point (Customer will be advice)</li><li> • You can text us, so you can make direct connection to our customer service.\\n • Please bring passport and ID for a easy access to Mexico and back to the US.\\n</li></ul>', 'locationCode': None, 'googlePlace': {'id': 741187, 'country': 'United States', 'countryCode': 'US', 'city': 'San Diego', 'cityCode': 'San Diego', 'state': 'California', 'stateCode': 'CA', 'geoLocationCenter': {'lat': 32.71562, 'lng': -117.1558}, 'addressTypes': []}, 'tripadvisorReview': {'locationId': '12566103', 'url': 'https://www.tripadvisor.com/AttractionProductReview-g60750-d12566103-Intro_to_Mexico_Walking_Tour_Tijuana_Day_Trip_from_San_Diego-San_Diego_California.html', 'name': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'rating': 4.5, 'numReviews': 439, 'description': 'Tijuana, Mexico is a short trip across the border from San Diego. The Mexican border town had at one point achieved notoriety as a town of ill-repute, but this reputation is only a small part of the history of this colorful, interesting city. Dip your toe into the fun and hospitality of this town with locals who are eager to share the true story of Tijuana with you.'}, 'resourceSlots': [{'id': 12606, 'count': 1, 'resourceType': {'id': 1082, 'title': 'Guide', 'resources': None}, 'cooldownMinutes': 0, 'assignedResources': [], 'active': True}], 'bookingCutoffMinutes': 0, 'bookingCutoffHours': 0, 'bookingCutoffDays': 0, 'bookingCutoffWeeks': 0, 'requestDeadlineMinutes': 0, 'requestDeadlineHours': 0, 'requestDeadlineDays': 2, 'requestDeadlineWeeks': 0, 'boxedActivityId': None, 'comboActivity': False, 'comboParts': [], 'returnProduct': None, 'ticketPerComboComponent': False, 'ticketComboComponents': [], 'pickupActivityId': None, 'allowCustomizedBookings': False, 'reservationTimeout': None, 'vendorReservationTimeout': None, 'dayBasedAvailability': False, 'selectFromDayOptions': False, 'dayOptions': [], 'activityCategories': ['CULTURAL_AND_THEME_TOURS', 'WALKING_TOUR'], 'activityAttributes': [], 'guidanceTypes': [{'id': None, 'created': [2024, 4, 18, 5, 46, 27, 712950000], 'guidanceType': 'GUIDED', 'languages': ['en', 'es'], 'displayLanguages': ['English', 'Spanish']}], 'defaultRateId': 162808, 'rates': [{'id': 162808, 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'description': None, 'index': 0, 'rateCode': 'DEFAULT', 'pricedPerPerson': True, 'minPerBooking': 1, 'maxPerBooking': 12, 'cancellationPolicy': {'id': 73793, 'title': 'Standard Viator policy', 'penaltyRules': [{'id': 94468, 'cutoffHours': 24, 'charge': 100.0, 'chargeType': 'percentage', 'percentage': 100.0}, {'id': 94467, 'cutoffHours': 24000, 'charge': 0.0, 'chargeType': 'percentage', 'percentage': 0.0}], 'tax': None, 'defaultPolicy': False, 'policyType': 'ADVANCED', 'simpleCutoffHours': None, 'policyTypeEnum': 'ADVANCED'}, 'fixedPassExpiryDate': None, 'passValidForDays': None, 'pickupSelectionType': 'UNAVAILABLE', 'pickupPricingType': 'INCLUDED_IN_PRICE', 'pickupPricedPerPerson': True, 'dropoffSelectionType': 'UNAVAILABLE', 'dropoffPricingType': 'INCLUDED_IN_PRICE', 'dropoffPricedPerPerson': True, 'extraConfigs': [], 'startTimeIds': [179759, 2776525], 'allStartTimes': False, 'tieredPricingEnabled': False, 'tiers': [], 'pricingCategoryIds': [72825, 64971, 72826, 72827, 64974], 'allPricingCategories': True, 'details': [], 'textItems': [{'id': 162808, 'created': [2024, 4, 18, 5, 46, 27, 716484000], 'language': 'en_GB', 'title': 'Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego', 'activityRateId': 162808, 'description': None}]}], 'ticketPerPerson': False, 'durationType': 'HOURS', 'duration': 4, 'durationMinutes': 30, 'durationHours': 4, 'durationDays': 0, 'durationWeeks': 0, 'durationText': '4 hours and 30 minutes', 'minAge': 0, 'originalDefaultPrice': None, 'nextDefaultPrice': None, 'nextDefaultPriceMoney': None, 'pickupService': False, 'pickupAllotment': False, 'pickupAllotmentType': 'NO_ALLOTMENT', 'useComponentPickupAllotments': False, 'pickupFlags': [], 'customPickupAllowed': False, 'pickupMinutesBefore': 0, 'pickupTimeWindowInMinutes': 0, 'pickupTimeLocationBased': False, 'pickupTimeByLocations': [], 'noPickupMsg': None, 'ticketMsg': ' • You can text us, so you can make direct connection to our customer service.\\n • Please bring passport and ID for a easy access to Mexico and back to the US.\\n', 'showGlobalPickupMsg': False, 'showNoPickupMsg': False, 'pickupPlaceGroups': [], 'dropoffService': False, 'dropoffFlags': [], 'customDropoffAllowed': False, 'useSameAsPickUpPlaces': False, 'dropoffPlaceGroups': [], 'difficultyLevel': 'MODERATE', 'pricingCategories': [{'id': 72825, 'title': 'Adult', 'ticketCategory': 'ADULT', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 19, 'maxAge': 59, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': True, 'fullTitle': 'Adult (19 - 59)'}, {'id': 64971, 'title': 'Senior', 'ticketCategory': 'SENIOR', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 60, 'maxAge': 80, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Senior (60 - 80)'}, {'id': 72826, 'title': 'Youth', 'ticketCategory': 'TEENAGER', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 13, 'maxAge': 18, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Youth (13 - 18)'}, {'id': 72827, 'title': 'Child', 'ticketCategory': 'CHILD', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 4, 'maxAge': 12, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Child (4 - 12)'}, {'id': 64974, 'title': 'Infant', 'ticketCategory': 'INFANT', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 0, 'maxAge': 3, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Infant (0 - 3)'}], 'activityPriceCatalogs': [{'catalog': {'id': 4935, 'title': 'Default', 'defaultCurrency': 'USD', 'isVendorDefaultCatalog': True, 'currencies': ['USD']}, 'catalogId': 4935, 'currencies': [{'currency': 'USD', 'currencyId': 4, 'default': True}]}], 'agendaItems': [], 'startTimes': [{'id': 2776525, 'label': '', 'externalLabel': '', 'hour': 10, 'minute': 30, 'overrideTimeWhenPickup': False, 'pickupHour': 0, 'pickupMinute': 0, 'durationType': 'H', 'voucherPickupMsg': '', 'externalId': '28758P5_10:30', 'duration': 4, 'durationMinutes': 30, 'durationHours': 4, 'durationDays': 0, 'durationWeeks': 0, 'flags': []}, {'id': 179759, 'label': None, 'externalLabel': None, 'hour': 13, 'minute': 0, 'overrideTimeWhenPickup': False, 'pickupHour': 0, 'pickupMinute': 0, 'durationType': 'H', 'voucherPickupMsg': None, 'externalId': '28758P5_DEFAULT_13:00', 'duration': 4, 'durationMinutes': 30, 'durationHours': 4, 'durationDays': 0, 'durationWeeks': 0, 'flags': []}], 'bookableExtras': [], 'route': None, 'widgetSettings': None, 'hasOpeningHours': False, 'defaultOpeningHours': None, 'seasonalOpeningHours': [], 'displaySettings': {'showPickupPlaces': False, 'showRouteMap': False, 'selectRateBasedOnStartTime': False, 'customFields': []}, 'hasBoxes': True, 'bookingLabels': [], 'actualId': 92667, 'nextDefaultPriceAsText': '', 'requestDeadline': 172800000, 'bookingCutoff': 0, 'actualVendor': {'id': 3818, 'title': 'Border Tours', 'currencyCode': 'USD', 'timeZone': 'America/Los_Angeles', 'showInvoiceIdOnTicket': False, 'showAgentDetailsOnTicket': False, 'showPaymentsOnInvoice': False, 'companyEmailIsDefault': False}}, 'bookingAnswers': [], 'pickupAnswers': [], 'dropoffAnswers': [], 'flexible': False, 'customized': False, 'customizedDurationMinutes': 0, 'customizedDurationHours': 0, 'customizedDurationDays': 0, 'customizedDurationWeeks': 0, 'ticketPerPerson': False, 'pricingCategoryBookings': [{'id': 173729405, 'pricingCategoryId': 72825, 'pricingCategory': {'id': 72825, 'title': 'Adult', 'ticketCategory': 'ADULT', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 19, 'maxAge': 59, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Adult (19 - 59)'}, 'leadPassenger': False, 'age': 0, 'passengerInfo': {'contactDetailsHidden': False, 'contactDetailsHiddenUntil': None, 'id': 98808454, 'created': None, 'uuid': 'a588e2b4-bb97-439b-8cd2-3c3048980a96', 'email': 'munh@hotmail.com', 'title': None, 'firstName': 'Mun', 'lastName': 'Hong', 'personalIdNumber': None, 'clcEmail': False, 'language': None, 'nationality': 'US', 'sex': None, 'dateOfBirth': None, 'phoneNumber': '+1 9378135888', 'phoneNumberCountryCode': None, 'address': None, 'postCode': None, 'state': None, 'place': None, 'country': None, 'organization': None, 'passportId': None, 'passportExpDay': None, 'passportExpMonth': None, 'passportExpYear': None, 'credentials': None, 'acceptsMarketing': False, 'tags': None}, 'bookingAnswers': [], 'bookedTitle': 'Adult', 'quantity': 1, 'extras': [], 'answers': [], 'flags': []}, {'id': 173729406, 'pricingCategoryId': 72825, 'pricingCategory': {'id': 72825, 'title': 'Adult', 'ticketCategory': 'ADULT', 'occupancy': 1, 'groupSize': 1, 'ageQualified': True, 'minAge': 19, 'maxAge': 59, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Adult (19 - 59)'}, 'leadPassenger': False, 'age': 0, 'passengerInfo': {'contactDetailsHidden': False, 'contactDetailsHiddenUntil': None, 'id': 98808455, 'created': None, 'uuid': 'a222a881-e3b4-42de-ae32-fa269e1a998b', 'email': None, 'title': None, 'firstName': None, 'lastName': None, 'personalIdNumber': None, 'clcEmail': False, 'language': None, 'nationality': 'US', 'sex': None, 'dateOfBirth': None, 'phoneNumber': '', 'phoneNumberCountryCode': None, 'address': None, 'postCode': None, 'state': None, 'place': None, 'country': None, 'organization': None, 'passportId': None, 'passportExpDay': None, 'passportExpMonth': None, 'passportExpYear': None, 'credentials': None, 'acceptsMarketing': False, 'tags': None}, 'bookingAnswers': [], 'bookedTitle': 'Adult', 'quantity': 1, 'extras': [], 'answers': [], 'flags': []}], 'extras': [], 'bookingFields': [], 'pickup': False, 'dropoff': False, 'inventoryConfirmFailed': False, 'channelId': 'DIRECT_OFFLINE', 'quantityByPricingCategory': {'72825': 2}, 'totalParticipants': 2, 'bookedPricingCategories': [{'id': 72825, 'title': 'Adult', 'ticketCategory': None, 'occupancy': 1, 'groupSize': 1, 'ageQualified': False, 'minAge': None, 'maxAge': None, 'dependent': False, 'masterCategoryId': None, 'maxPerMaster': 0, 'sumDependentCategories': False, 'maxDependentSum': 0, 'internalUseOnly': False, 'flags': [], 'defaultCategory': False, 'fullTitle': 'Adult'}], 'savedAmount': 14.6}]",
"bookingChannel": {
"backend": "True",
"flags": "[]",
"id": "8951",
"overrideVoucherHeader": "False",
"paymentProviderAdded": "True",
"shoppingCartPosition": "RIGHT",
"title": "Backend",
"type": "BACKEND",
"uuid": "0abe79c0-42e4-429b-a50a-957bde02e534",
"voucherEmailAddress": "",
"voucherLogoStyle": "",
"voucherName": "",
"voucherPhoneNumber": "",
"voucherWebsite": ""
},
"bookingFields": "[]",
"bookingId": "42057774",
"carRentalBookings": "[]",
"confirmationCode": "BT-42057774",
"creationDate": "1713417067000",
"currency": "USD",
"customerPayments": "[{'id': 24613955, 'amount': 131.4, 'currency': 'USD', 'comment': 'Payment for booking #42057774, performed by Border Tours: Sergio R. (info@border-tours.com)', 'transactionDate': 1713417068000, 'activeCustomerInvoiceId': 232071581, 'paymentType': 'VOUCHER', 'isRefundable': False, 'totalRefundedAmount': 0.0, 'useDcc': False, 'maxRefundableAmount': 131.4, 'amountAsMoney': {'amount': 131.4, 'currency': 'USD'}, 'amountAsText': '$131.40', 'refundedAmountAsText': '$0.00', 'remainingRefundableAmount': 131.4, 'refundable': False}]",
"customer": {
"acceptsMarketing": "False",
"address": "",
"clcEmail": "False",
"contactDetailsHidden": "False",
"contactDetailsHiddenUntil": "",
"country": "",
"created": "",
"credentials": "",
"dateOfBirth": "",
"email": "munh@hotmail.com",
"firstName": "Mun",
"id": "98808344",
"language": "",
"lastName": "Hong",
"nationality": "US",
"organization": "",
"passportExpDay": "",
"passportExpMonth": "",
"passportExpYear": "",
"passportId": "",
"personalIdNumber": "",
"phoneNumber": "+1 9378135888",
"phoneNumberCountryCode": "",
"place": "",
"postCode": "",
"sex": "m",
"state": "",
"tags": "",
"title": "",
"uuid": "82187e93-f8dc-4510-8473-6e4b08a0ee2a"
},
"externalBookingReference": "",
"extranetUser": {
"accountHolder": "False",
"canDisguiseAsAnyVendor": "False",
"firstName": "Sergio",
"fullNameShort": "Sergio R.",
"id": "7263",
"lastName": "Ramirez",
"supportVendors": "[]",
"username": "info@border-tours.com"
},
"giftCardBookings": "[]",
"invoice": {
"appliedFees": "[]",
"currency": "USD",
"customLineItems": "[{'id': 42333911, 'title': 'Cancellation fee for Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego (Intro to Mexico Walking Tour: Tijuana Day Trip from San Diego)', 'currency': 'USD', 'unitPriceDate': 1713419184000, 'quantity': 1, 'unitPrice': 0.0, 'calculatedDiscount': 0.0, 'customDiscount': 0.0, 'calculatedDiscountAmount': 0.0, 'taxAmount': 0.0, 'taxesAsMoney': [], 'strikeThroughTotal': {'amount': 0.0, 'currency': 'USD'}, 'invoiceActivityBookingId': 67255847, 'lineItemType': 'CANCELLATION_FEE', 'taxAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountedUnitPriceAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalDiscountedAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalDueAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'totalAsText': '$0.00', 'totalDiscountedAsText': '$0.00', 'totalDueAsText': '$0.00', 'taxAsText': '$0.00', 'discountedUnitPriceAsText': '$0.00', 'unitPriceAsText': '$0.00', 'calculatedDiscountAmountAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountAmountAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discountAmountAsText': '$0.00', 'total': 0.0, 'discountedUnitPrice': 0.0, 'unitPriceAsMoney': {'amount': 0.0, 'currency': 'USD'}, 'discount': 0.0, 'totalDiscounted': 0.0, 'totalDue': 0.0}]",
"excludedAppliedTaxes": "[]",
"excludedTaxes": "False",
"free": "True",
"id": "236404514",
"includedAppliedTaxes": "[]",
"includedTaxes": "False",
"invoiceNumber": "C-236404514",
"issueDate": "1713419184000",
"issuerCompany": {
"registrationNumber": "9938181111",
"vatRegistrationNumber": ""
},
"issuerName": "Border Tours",
"issuer": {
"externalId": "",
"flags": "[]",
"id": "3818",
"title": "Border Tours"
},
"lodgingTaxes": "[]",
"originalPriceBeforeDiscount": {
"amount": "0.0",
"currency": "USD"
},
"payments": "[]",
"productInvoices": "[]",
"recipientName": "Mun Hong",
"recipient": {
"acceptsMarketing": "False",
"address": "",
"clcEmail": "False",
"contactDetailsHidden": "False",
"contactDetailsHiddenUntil": "",
"country": "",
"created": "",
"credentials": "",
"dateOfBirth": "",
"email": "munh@hotmail.com",
"firstName": "Mun",
"id": "98808344",
"language": "",
"lastName": "Hong",
"nationality": "US",
"organization": "",
"passportExpDay": "",
"passportExpMonth": "",
"passportExpYear": "",
"passportId": "",
"personalIdNumber": "",
"phoneNumber": "+1 9378135888",
"phoneNumberCountryCode": "",
"place": "",
"postCode": "",
"sex": "m",
"state": "",
"tags": "",
"title": "",
"uuid": "82187e93-f8dc-4510-8473-6e4b08a0ee2a"
},
"strikeThroughTotalAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"strikeThroughTotalAsText": "$0.00",
"totalAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalAsText": "$0.00",
"totalBookingFeeAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalBookingFeePercent": "0.0",
"totalDiscountAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalDiscountAsText": "$0.00",
"totalDiscountedAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalDiscountedAsText": "$0.00",
"totalDueAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalDueAsText": "$0.00",
"totalDueWithoutExcludedTaxAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalExcludedTaxAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalExcludedTaxAsText": "$0.00",
"totalFeesAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalFeesAsText": "$0.00",
"totalIncludedTaxAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalIncludedTaxAsText": "$0.00",
"totalTaxAsMoney": {
"amount": "0.0",
"currency": "USD"
},
"totalTaxAsText": "$0.00",
"totalWithExcludedTaxAsMoney": {
"amount": "0.0",
"currency": "USD"
}
},
"language": "en",
"paymentType": "PAID_IN_FULL",
"querystring": {
"action": "BOOKING_ITEM_CANCELLED"
},
"routeBookings": "[]",
"seller": {
"companyEmailIsDefault": "True",
"countryCode": "US",
"currencyCode": "USD",
"description": "Tours Agency that provides experiences at Baja, Mexico from San Diego. Cultural, Wines Tasting, Craft Beer Tasting, Adventure , food tasting as our main categories. We specialized in any size group tours. ",
"emailAddress": "info@border-tours.com",
"id": "3818",
"invoiceIdNumber": "9938181111",
"logoStyle": "",
"logo": {
"alternateText": "",
"derived": "[{'name': 'thumbnail', 'url': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=80&h=80&mode=crop', 'cleanUrl': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=80&h=80&mode=crop'}, {'name': 'preview', 'url': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=300&h=300', 'cleanUrl': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=300&h=300'}, {'name': 'large', 'url': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=660&h=660', 'cleanUrl': 'https://imgcdn.bokun.tools/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png?w=660&h=660'}]",
"description": "",
"fileName": "/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png",
"flags": "[]",
"height": "",
"id": "88786",
"originalUrl": "https://bokun.s3.amazonaws.com/a9368c7a-4aa4-47f3-ae7a-7dfe944c2fc0.png",
"width": ""
},
"phoneNumber": "+1(619) 304-9004",
"phoneNumber_1": "619",
"showAgentDetailsOnTicket": "True",
"showInvoiceIdOnTicket": "True",
"showPaymentsOnInvoice": "True",
"timeZone": "America/Los_Angeles",
"title": "Border Tours",
"website": "border-tours.com"
},
"status": "CANCELLED",
"totalDue": "-131.4",
"totalDueAsText": "$-131.40",
"totalPaid": "131.4",
"totalPrice": "0.0",
"totalPriceConverted": "0.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment