Method: offerclass.patch
প্রদত্ত ক্লাস আইডি দ্বারা উল্লেখ করা অফার ক্লাস আপডেট করে। এই পদ্ধতি প্যাচ শব্দার্থবিদ্যা সমর্থন করে.
HTTP অনুরোধ
PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resourceId | string একটি ক্লাসের অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই ইস্যুকারীর সমস্ত ক্লাসে অনন্য হতে হবে। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি আপনার দ্বারা বেছে নেওয়া হয়৷ আপনার অনন্য শনাক্তকারীতে শুধুমাত্র বর্ণসংখ্যার অক্ষর, '.', '_', বা '-' অন্তর্ভুক্ত করা উচিত। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে OfferClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে OfferClass
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Updates an existing offer class using patch semantics, allowing for partial modifications."],["The offer class is uniquely identified by a resource ID in the format `issuer ID.identifier`."],["The request body should contain the updated offer class details in the OfferClass format."],["Successful responses will return the updated OfferClass object."],["Requires the `wallet_object.issuer` OAuth scope for authorization."]]],["The core content describes how to update an offer class using a PATCH request. The HTTP request uses the URL `PATCH https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}`, where `resourceId` is a unique string identifier. The request body contains an `OfferClass` instance, and a successful response returns an updated `OfferClass` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` parameter is unique across classes and follow the formating of `issuerID.identifier`.\n"]]