索引
JwtService
(介面)JwtInsertRequest
(訊息)JwtInsertResponse
(訊息)JwtResource
(訊息)Resources
(訊息)
JwtService
Insert | |
---|---|
在 JWT 中插入資源。
|
JwtInsertRequest
欄位 | |
---|---|
resource |
要求的內容。 |
JwtInsertResponse
欄位 | |
---|---|
save_uri |
URI,開啟此 URI 之後,使用者即可將 JWT 中識別的物件儲存至 Google 帳戶。 |
resources |
與 JWT 中提供之類別 ID 和物件 ID 相對應的資料。這些資源只會包含非空白陣列 (也就是說,如果 JWT 僅包含 eventTicketObjects,那麼資源中只會出現這個欄位)。 |
JwtResource
欄位 | |
---|---|
jwt |
用來表示 JWT 的字串,格式說明請見下方網站:https://developers.google.com/pay/passes/reference/s2w-reference#google-pay-api-for-passes-jwt |
資源
欄位 | |
---|---|
event_ticket_classes[] |
|
event_ticket_objects[] |
|
flight_classes[] |
|
flight_objects[] |
|
gift_card_classes[] |
|
gift_card_objects[] |
|
loyalty_classes[] |
|
loyalty_objects[] |
|
offer_classes[] |
|
offer_objects[] |
|
transit_classes[] |
|
transit_objects[] |