Skip to content

Instantly share code, notes, and snippets.

@cescoferraro
Last active October 8, 2019 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cescoferraro/2f443115916cfab526026bb696371f9e to your computer and use it in GitHub Desktop.
Save cescoferraro/2f443115916cfab526026bb696371f9e to your computer and use it in GitHub Desktop.
{
"additionalInfo": [],
"agencyStoreId": 47510,
"attachments": [],
"bookingNumber": 105213,
"bookingType": "CONFIRMED",
"code": null,
"comments": "obss",
"conciliationAt": null,
"conciliationData": false,
"confirmedAt": 1570494353138,
"createdAt": 1570494353138,
"customer": {
"agencyCode": "CLI-009",
"allowRateComiss": true,
"allowRateNet": true,
"costCenter": null,
"id": 233115, // usado em Business ID
"legalCorporateName": "CLIENTE TESTE B2B NOVA LTDA",
"name": "MATHEUS", // USADO em name
"taxpayerIdentificationNumber": "16638916000101"
},
"dispVip": false,
"guests": [
{
"ageQualifyingCode": 10,
"name": "FGHFGHGF",
"surname": "GFFGH"
}
],
"hotelIntegrationCode": null,
"id": 2419623,
"lastUpdated": 1570494353138,
"paymentInfo": {
"billing": {
"code": null,
"id": 754,
"value": "DEBITAR CONFORME OBSERVACOES"
},
"description": "CARTAO VIRTUAL",
"paymentCard": {
"card": {
"cardBrand": {
"code": "VI",
"id": null,
"value": null
},
"cardCVV": "999",
"cardHolder": "MATHEUS VI AGENCIA",
"cardId": "TYZiimy8t5FQcal5IA0rdz19m3VwTvpO",
"cardNumber": "411027xxxxxx7284",
"cardOwner": "A",
"expireMonth": null,
"expireYear": null,
"id": null,
"vcnId": null
},
"transactionInfo": {
"amount": null,
"checkoutFlow": false,
"code": null,
"date": null,
"value": null
}
},
"type": "cartaovi"
},
"propertyInfo": {
"address": {
"addressDesc": "RUA DR. FLORENCIO YGARTUA, 270",
"cityCodeIBGE": "4313409",
"cityName": "NOVO HAMBURGO",
"countryAbbreviation": "BR",
"countryName": "BRASIL",
"neighborhood": "MOINHOS DE VENTO",
"postalCode": "90430010",
"stateAbbreviation": "RS"
},
"agencyCode": null,
"chainId": 3930, //USADO
"hotelCompanyId": 55911, // o que quer dizer isso?
"hotelId": 86106, //USADO
"mail": "matheuskerpen@gmail.com",
"name": "MATHEUS HOTEL B2B",
"phone": "(51) 3095-0560",
"position": null
},
"rate": {
"amountBeforeTax": 110.0,
"boardType": "CAFE DA MANHA",
"currencyCode": "BRL",
"id": "59412",
"name": "AGENCIA MATHEUS",
"occupancy": "SGL"
},
"requestor": {
"agent": {
"agencyCode": " ",
"id": 232907,
"name": "KERPEN CONSULTOR_HOMOLOG",
"userName": "kerpen.consultor"
},
"pos": {
"agencyCode": "ABC101",
"id": 55910,
"name": "MATHEUS AGENCIA B2B"
}
},
"rloc": "RSUD91",
"room": {
"classificationId": 4,
"id": 192476,
"name": "TWIN",
"size": 25.0
},
"rules": {
"cancelPolicy": 24,
"cancelPolicyAbsoluteDeadline": 1570374000000,
"checkInTime": "12:00:00",
"checkOutTime": "12:00:00",
"noShow": "S",
"noShowDate": "18:00:00",
"policyDescription": "Check-in permitido somente apos as 12:00:00 horas<BR>Check-out as 12:00:00 horas<BR><BR>Cancelamento permitido ate as 06/10/2019 12:00:00<BR><BR><BR><BR>No-show 18:00:00 horas<BR><BR><BR>"
},
"source": "portal",
"statusCode": 1,
"statusDate": 1570494353138,
"systemCode": "b2b",
"systemId": 0,
"timeSpan": {
"end": 1570503600000, // USADO
"start": 1570417200000, // USADO
"value": null
},
"total": {
"agencyCommission": 11.0,
"amountAfterTax": 110.0,
"amountBeforeTax": 110.0,
"currencyCode": "BRL",
"taxes": []
},
"userCompanyId": 1165854,
"version": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment