Skip to content
Snippets Groups Projects
Commit 2285632f authored by ShivaniDhoke's avatar ShivaniDhoke
Browse files

added UT for select api

parent 0f844f41
No related branches found
No related tags found
No related merge requests found
{"context":{"ttl":"PT10M","action":"select","timestamp":"2024-01-12T09:13:53.945Z","message_id":"2042a0f1-9b71-48a3-91c4-c4f3874e156b","transaction_id":"eed96a3f-c780-4157-a219-09ff871ee56c","domain":"retail:1.1.0","version":"1.1.0","bap_id":"ps-bap-network.becknprotocol.io","bap_uri":"https://ps-bap-network.becknprotocol.io","location":{"country":{"name":"India","code":"IND"},"city":{"name":"Bangalore","code":"std:080"}},"bpp_id":"beckn-sandbox-bpp.becknprotocol.io","bpp_uri":"https://sandbox-bpp-network.becknprotocol.io"},"responses":[{"context":{"domain":"retail:1.1.0","action":"on_select","version":"1.1.0","bpp_id":"beckn-sandbox-bpp.becknprotocol.io","bpp_uri":"https://sandbox-bpp-network.becknprotocol.io","country":"IND","city":"std:080","location":{"country":{"code":"IND"},"city":{"code":"std:080"}},"bap_id":"ps-bap-network.becknprotocol.io","bap_uri":"https://ps-bap-network.becknprotocol.io","transaction_id":"eed96a3f-c780-4157-a219-09ff871ee56c","message_id":"2042a0f1-9b71-48a3-91c4-c4f3874e156b","ttl":"PT10M","timestamp":"2024-01-12T09:14:00.481Z"},"message":{"order":{"provider":{"id":"./retail.kirana/ind.blr/33@tourism-bpp-infra2.becknprotocol.io.provider","descriptor":{"name":"Venky.Mahadevan@Bazaar"},"locations":[{"id":"./retail.kirana/ind.blr/1@tourism-bpp-infra2.becknprotocol.io.provider_location"}]},"items":[{"id":"./retail.kirana/ind.blr/247@tourism-bpp-infra2.becknprotocol.io.item","descriptor":{"images":[{"url":"https://tourism-bpp-infra2.becknprotocol.io/attachments/view/253.jpg"}],"name":"Isothermal Stainless Steel Hiking Flask MH500 Yellow - Water bottle","short_desc":"InstaCuppa Stainless Steel Thermos Flask Water Bottle with Sports Sipper Lid, Double Walled Vacuum Insulation","long_desc":"<div> <ul> <li>ULTRA MODERN DESIGN - Our thermos bottle is crafted with a unique and modern design. Gone are the [
days of old and boring flasks. Guaranteed to impress your colleagues, friends & family.</li> <li>ADVANCED TEMPERATURE CONTROL – A double-wall, vacuum-insulated design helps {
lock in heat for up to 12 hours and cold for up to 24!</li> <li>ELIMINATES CONDENSATION – Offering improved grip and control, these innovative dual-layer bottles offer a slip-resistant surface that’s free of sweat and condensation..</li> <li>LEAK-PROOF and ECO-FRIENDLY – Remove, and clean, the large, screw on lid provides faster access to water inside and won’t spill a drop even when it’s tipped upside or put in your gym bag.</li> <li>The distress quilted jacket is a versatile fashion choice you can wear on any occasion. A style essential piece for Women which will reveal your strong sense of personality</li> </ul> <div> <p><b>Product Details</b></p> <ul> <li>Advanced Temperature Retention.This thermos water bottle ensures your beverages will remain hot or cold for a long time.Hot for up to 12 hours.Cold for up to 24 hours.</li> <li>Retains Original Flavors.Vacuum insulation ensures this travel thermos water bottle is airtight and retains the original flavor of your beverages.Also, this bottle is B.P.A Free.</li> <li>Premium Quality Materials.This stylish bottle is a double-walled vacuum insulated and made from premium 304-grade stainless steel - which makes this flask bottle.</li> </ul> </div>"},"category_ids":["c1"],"price":{"listed_value":"1200.0","currency":"INR","value":"1200.0"}}],"fulfillments":[{"id":"f1","tracking":false}],"quote":{"price":{"currency":"INR","value":"1500.0"},"breakup":[{"title":"base-price","price":{"currency":"INR","value":"1200.0"}},{"title":"taxes","price":{"currency":"INR","value":"300.0"}}]},"type":"DEFAULT"}}}]} "context": {
\ No newline at end of file "ttl": "PT10M",
"action": "select",
"timestamp": "2024-01-12T09:32:46.310Z",
"message_id": "b88f3a03-54e0-429b-863c-ec00a374486e",
"transaction_id": "eed96a3f-c780-4157-a219-09ff871ee56c",
"domain": "retail:1.1.0",
"version": "1.1.0",
"bap_id": "ps-bap-network.becknprotocol.io",
"bap_uri": "https://ps-bap-network.becknprotocol.io",
"location": {
"country": {
"name": "India",
"code": "IND"
},
"city": {
"name": "Bangalore",
"code": "std:080"
}
},
"bpp_id": "beckn-sandbox-bpp.becknprotocol.io",
"bpp_uri": "https://sandbox-bpp-network.becknprotocol.io"
},
"responses": [
{
"context": {
"domain": "retail:1.1.0",
"action": "on_select",
"version": "1.1.0",
"bpp_id": "beckn-sandbox-bpp.becknprotocol.io",
"bpp_uri": "https://sandbox-bpp-network.becknprotocol.io",
"country": "IND",
"city": "std:080",
"location": {
"country": {
"code": "IND"
},
"city": {
"code": "std:080"
}
},
"bap_id": "ps-bap-network.becknprotocol.io",
"bap_uri": "https://ps-bap-network.becknprotocol.io",
"transaction_id": "eed96a3f-c780-4157-a219-09ff871ee56c",
"message_id": "b88f3a03-54e0-429b-863c-ec00a374486e",
"ttl": "PT10M",
"timestamp": "2024-01-12T09:32:53.320Z"
},
"message": {
"order": {
"provider": {
"id": "./retail.kirana/ind.blr/33@tourism-bpp-infra2.becknprotocol.io.provider",
"descriptor": {
"name": "Venky.Mahadevan@Bazaar"
},
"locations": [
{
"id": "./retail.kirana/ind.blr/1@tourism-bpp-infra2.becknprotocol.io.provider_location"
}
]
},
"items": [
{
"id": "./retail.kirana/ind.blr/247@tourism-bpp-infra2.becknprotocol.io.item",
"descriptor": {
"images": [
{
"url": "https://tourism-bpp-infra2.becknprotocol.io/attachments/view/253.jpg"
}
],
"name": "Isothermal Stainless Steel Hiking Flask MH500 Yellow - Water bottle",
"short_desc": "InstaCuppa Stainless Steel Thermos Flask Water Bottle with Sports Sipper Lid, Double Walled Vacuum Insulation",
"long_desc": "<div> <ul> <li>ULTRA MODERN DESIGN - Our thermos bottle is crafted with a unique and modern design. Gone are the days of old and boring flasks. Guaranteed to impress your colleagues, friends & family.</li> <li>ADVANCED TEMPERATURE CONTROL – A double-wall, vacuum-insulated design helps lock in heat for up to 12 hours and cold for up to 24!</li> <li>ELIMINATES CONDENSATION – Offering improved grip and control, these innovative dual-layer bottles offer a slip-resistant surface that’s free of sweat and condensation..</li> <li>LEAK-PROOF and ECO-FRIENDLY – Remove, and clean, the large, screw on lid provides faster access to water inside and won’t spill a drop even when it’s tipped upside or put in your gym bag.</li> <li>The distress quilted jacket is a versatile fashion choice you can wear on any occasion. A style essential piece for Women which will reveal your strong sense of personality</li> </ul> <div> <p><b>Product Details</b></p> <ul> <li>Advanced Temperature Retention.This thermos water bottle ensures your beverages will remain hot or cold for a long time.Hot for up to 12 hours.Cold for up to 24 hours.</li> <li>Retains Original Flavors.Vacuum insulation ensures this travel thermos water bottle is airtight and retains the original flavor of your beverages.Also, this bottle is B.P.A Free.</li> <li>Premium Quality Materials.This stylish bottle is a double-walled vacuum insulated and made from premium 304-grade stainless steel - which makes this flask bottle.</li> </ul> </div>"
},
"category_ids": ["c1"],
"price": {
"listed_value": "1200.0",
"currency": "INR",
"value": "1200.0"
}
}
],
"fulfillments": [
{
"id": "f1",
"tracking": false
}
],
"quote": {
"price": {
"currency": "INR",
"value": "1500.0"
},
"breakup": [
{
"title": "base-price",
"price": {
"currency": "INR",
"value": "1200.0"
}
},
{
"title": "taxes",
"price": {
"currency": "INR",
"value": "300.0"
}
}
]
},
"type": "DEFAULT"
}
}
}
]
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment