সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
রুমের দাম সেট বা আপডেট করতে এবং উপলব্ধ ইনভেন্টরি নির্ধারণ করতে আপনার একটি লেনদেন বার্তায়<Result> উপাদান ব্যবহার করা উচিত। এই উপাদানগুলি মেটাডেটা ব্যবহার করে রুম এবং রুম বান্ডেলগুলির বিবরণের জন্য একটি পূর্বনির্ধারিত ডেটা উল্লেখ করে যা আপনি একটি পৃথক লেনদেন বার্তায় সংজ্ঞায়িত করেছেন। আপনার ইনভেন্টরি আপডেট করা ডেলিভারি মোডের ধরন এবং আপনার পছন্দের ফ্রিকোয়েন্সির উপর নির্ভর করে।
নিম্নলিখিত উদাহরণটি একটি <Result> উপাদান দেখায় যা দুটি কক্ষের জন্য ইনভেন্টরি এবং মূল্য নির্ধারণ করে:
উপরের উদাহরণে রুম সম্পর্কে তথ্য নেই, যেমন একটি বিবরণ, একটি ছবির URL এবং ক্যাপশন, রুমের নাম বা এর ক্ষমতা। এই ধরনের তথ্য Google-এ একটি প্রাথমিক লেনদেন বার্তায় পাঠানো যেতে পারে এবং তারপরে পরবর্তী সমস্ত মূল্য এবং ইনভেন্টরি আপডেটে RoomID দ্বারা উল্লেখ করা যেতে পারে। আরও বিশদ বিবরণের জন্য, রুম এবং প্যাকেজ মেটাডেটা সংজ্ঞায়িত করুন দেখুন।
ভ্রমণপথের জন্য মূল্য নির্ধারণের পাশাপাশি, আপনি নিম্নলিখিতগুলি করতে <Result> উপাদানটিও ব্যবহার করতে পারেন:
ইনভেন্টরি থেকে একটি রুম বা ভ্রমণসূচী সরান। আরও জানুন
রুম বান্ডেল হিসাবে অতিরিক্ত রুমের ধরন নির্দিষ্ট করুন। আরও জানুন
সর্বস্বত্ব সংরক্ষিত। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eUse \u003ccode\u003e<Result>\u003c/code\u003e elements within Transaction messages to manage room prices and inventory availability.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003e<Result>\u003c/code\u003e elements reference room and Room Bundle metadata defined in separate Transaction messages.\u003c/p\u003e\n"],["\u003cp\u003eInventory updates are influenced by the chosen delivery mode and update frequency.\u003c/p\u003e\n"],["\u003cp\u003eRoom and Room Bundle descriptive information (like descriptions, images, and capacity) is sent separately and referenced by RoomID.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003e<Result>\u003c/code\u003e elements can also be used to remove inventory and define Room Bundles.\u003c/p\u003e\n"]]],[],null,["# Add and Update Inventory\n\nYou should use [`\u003cResult\u003e`](../xml-reference/transaction-messages#Result) elements in a\n[Transaction message](/hotels/hotel-prices/dev-guide/transaction-overview) to\nset or update room prices and define available inventory. These elements\nreference a predefined data for descriptions of rooms and Room Bundles using\nmetadata that you define in a separate Transaction message. Updating your\ninventory depends upon the type of\n[delivery mode](/hotels/hotel-prices/dev-guide/delivery-mode) and your\npreferred frequency.\n\nThe following example shows a `\u003cResult\u003e` element that defines the inventories\nand prices for two rooms: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction timestamp=\"2023-04-24T16:20:00-04:00\" id=\"42\"\u003e\n \u003cResult\u003e\n \u003cProperty\u003e060773\u003c/Property\u003e\n \u003cRoomID\u003eRoomType101\u003c/RoomID\u003e\n \u003cCheckin\u003e2023-04-10\u003c/Checkin\u003e\n \u003cNights\u003e2\u003c/Nights\u003e\n \u003cBaserate currency=\"USD\"\u003e278.33\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e25.12\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e2.00\u003c/OtherFees\u003e\n \u003cAllowablePointsOfSale\u003e\n \u003cPointOfSale id=\"site1\"/\u003e\n \u003c/AllowablePointsOfSale\u003e\n \u003c/Result\u003e\n \u003cResult\u003e\n \u003cProperty\u003e052213\u003c/Property\u003e\n \u003cRoomID\u003eRoomType101\u003c/RoomID\u003e\n \u003cCheckin\u003e2023-04-17\u003c/Checkin\u003e\n \u003cNights\u003e2\u003c/Nights\u003e\n \u003cBaserate currency=\"USD\"\u003e299.98\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e26.42\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e2.00\u003c/OtherFees\u003e\n \u003cAllowablePointsOfSale\u003e\n \u003cPointOfSale id=\"otto\"/\u003e\n \u003cPointOfSale id=\"simon\"/\u003e\n \u003c/AllowablePointsOfSale\u003e\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\nThe example above doesn't contain information about the room, such as a\ndescription, a picture URL and caption, the room's name, or its capacity. Such\ninformation can be sent in an initial Transaction message to Google, and can\nthen be referenced by RoomID in all subsequent pricing and inventory updates.\nFor more details, see [Define room and package\nmetadata](/hotels/hotel-prices/dev-guide/room-bundles#metadata).\n\nIn addition to defining prices for itineraries, you can also use the `\u003cResult\u003e`\nelement to do the following:\n\n- Remove a room or itinerary from inventory. [Learn\n more](/hotels/hotel-prices/dev-guide/removing-inventory)\n\n- Specify additional room types as Room Bundles. [Learn\n more](/hotels/hotel-prices/dev-guide/room-bundles)"]]