REST Resource: smarttap
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: স্মার্টট্যাপ
JSON প্রতিনিধিত্ব |
---|
{
"kind": string,
"id": string,
"merchantId": string,
"infos": [
{
object (IssuerToUserInfo )
}
]
} |
ক্ষেত্র |
---|
kind (deprecated) | string এই সম্পদ কি ধরনের সনাক্ত. মান: স্থির স্ট্রিং "walletobjects#smartTap" । |
id | string একটি স্মার্ট ট্যাপের জন্য অনন্য শনাক্তকারী। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি হল স্মার্ট ট্যাপ আইডি৷ স্মার্ট ট্যাপ আইডি হল একটি Base64 এনকোড করা স্ট্রিং যা Google Pay অ্যাপ দ্বারা তৈরি করা আইডিকে উপস্থাপন করে। |
merchantId | string ( int64 format) যারা স্মার্ট ট্যাপ ইন্টারঅ্যাকশনে জড়িত তাদের স্মার্ট ট্যাপ মার্চেন্ট আইডি। |
infos[] | object ( IssuerToUserInfo ) বণিক থেকে ব্যবহারকারীর মধ্যে যোগাযোগ। |
IssuerToUserInfo
JSON প্রতিনিধিত্ব |
---|
{
"action": enum (Action ),
"url": string,
"value": string,
"signUpInfo": {
object (SignUpInfo )
}
} |
ক্ষেত্র |
---|
action | enum ( Action ) |
url | string বর্তমানে ব্যবহার করা হয় না, অবমূল্যায়ন বিবেচনা করুন. |
value | string কর্ম S2AP জন্য JSON ওয়েব টোকেন. |
signUpInfo | object ( SignUpInfo ) |
অ্যাকশন
Enums |
---|
ACTION_UNSPECIFIED | |
S2AP | |
s2ap | S2AP এর জন্য উত্তরাধিকার উপনাম। অবচয়। |
SIGN_UP | |
signUp | SIGN_UP এর জন্য উত্তরাধিকার উপনাম৷ অবচয়। |
সাইনআপ ইনফো
JSON প্রতিনিধিত্ব |
---|
{
"classId": string
} |
ক্ষেত্র |
---|
classId | string ব্যবহারকারী যে শ্রেণীর জন্য সাইন আপ করতে পারেন তার আইডি। |
পদ্ধতি |
---|
| স্মার্ট ট্যাপ সন্নিবেশ করান। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eSmartTap is a resource that facilitates communication between merchants and users during contactless interactions, containing information such as merchant ID and user data.\u003c/p\u003e\n"],["\u003cp\u003eIssuerToUserInfo objects within SmartTap resources store communication details, including actions to be taken and relevant data like URLs or JSON web tokens.\u003c/p\u003e\n"],["\u003cp\u003eActions within SmartTap interactions can include Secure NFC pairing (S2AP) or user sign-up, directing specific functionalities.\u003c/p\u003e\n"],["\u003cp\u003eSignUpInfo objects provide details about potential user sign-up options associated with the SmartTap interaction, such as class IDs for registration.\u003c/p\u003e\n"],["\u003cp\u003eSmartTap resources can be inserted using the \u003ccode\u003einsert\u003c/code\u003e method, enabling the creation of new SmartTap instances.\u003c/p\u003e\n"]]],["SmartTap resources are identified by a unique `id`, `merchantId`, and an array of `infos`. These infos, detailed in `IssuerToUserInfo`, contain actions like `S2AP` or `SIGN_UP`. Actions use a JSON web token (`value`) and potentially `SignUpInfo`, with a `classId` for sign-up. The primary method is `insert`, which adds a Smart Tap instance. Each SmartTap info contains communication from merchant to user.\n"],null,["# REST Resource: smarttap\n\n- [Resource: SmartTap](#SmartTap)\n - [JSON representation](#SmartTap.SCHEMA_REPRESENTATION)\n- [IssuerToUserInfo](#IssuerToUserInfo)\n - [JSON representation](#IssuerToUserInfo.SCHEMA_REPRESENTATION)\n- [Action](#Action)\n- [SignUpInfo](#SignUpInfo)\n - [JSON representation](#SignUpInfo.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SmartTap\n------------------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"id\": string, \"merchantId\": string, \"infos\": [ { object (/wallet/reference/rest/v1/smarttap#IssuerToUserInfo) } ] } ``` |\n\n| Fields ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#smartTap\"`. |\n| `id` | `string` The unique identifier for a smart tap. This value should follow the format \u003cvar translate=\"no\"\u003eissuer ID\u003c/var\u003e.\u003cvar translate=\"no\"\u003eidentifier\u003c/var\u003e where the former is issued by Google and latter is the Smart Tap id. The Smart Tap id is a Base64 encoded string which represents the id which was generated by the Google Pay app. |\n| `merchantId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Smart Tap merchant ID of who engaged in the Smart Tap interaction. |\n| `infos[]` | `object (`[IssuerToUserInfo](/wallet/reference/rest/v1/smarttap#IssuerToUserInfo)`)` Communication from merchant to user. |\n\nIssuerToUserInfo\n----------------\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"action\": enum (/wallet/reference/rest/v1/smarttap#Action), \"url\": string, \"value\": string, \"signUpInfo\": { object (/wallet/reference/rest/v1/smarttap#SignUpInfo) } } ``` |\n\n| Fields ||\n|--------------|--------------------------------------------------------------------------|\n| `action` | `enum (`[Action](/wallet/reference/rest/v1/smarttap#Action)`)` |\n| `url` | `string` Currently not used, consider deprecating. |\n| `value` | `string` JSON web token for action S2AP. |\n| `signUpInfo` | `object (`[SignUpInfo](/wallet/reference/rest/v1/smarttap#SignUpInfo)`)` |\n\nAction\n------\n\n| Enums ||\n|----------------------|--------------------------------------------------------------------|\n| `ACTION_UNSPECIFIED` | |\n| `S2AP` | |\n| `s2ap` | Legacy alias for `S2AP`. Deprecated. | This item is deprecated! |\n| `SIGN_UP` | |\n| `signUp` | Legacy alias for `SIGN_UP`. Deprecated. | This item is deprecated! |\n\nSignUpInfo\n----------\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"classId\": string } ``` |\n\n| Fields ||\n|-----------|----------------------------------------------------|\n| `classId` | `string` ID of the class the user can sign up for. |\n\n| Methods ------- ||\n|---------------------------------------------------------|------------------------|\n| ### [insert](/wallet/reference/rest/v1/smarttap/insert) | Inserts the smart tap. |"]]