İşlemler API'si, 13 Haziran 2023'te kullanımdan kaldırılan Görüşme İşlemleri'nin kullanımdan kaldırılmasından önce 3 Mayıs 2023'te kullanımdan kaldırılacak. Daha fazla bilgi için
Görüşme İşlemlerinin kullanımdan kaldırılması sayfasına göz atın.
OrderOptions
Bir siparişle ilişkili seçenekler.
JSON gösterimi |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
Alanlar |
requestDeliveryAddress |
boolean
Doğru ise, ilişkilendirilmiş sipariş için teslimat adresi gereklidir.
|
userInfoOptions |
object (UserInfoOptions )
Uygulama, bu alanı ayarlayarak kullanıcı bilgilerini isteyebilir. Ayarlanırsa ilgili alan, kullanıcının onayı için Proposed OrderCard'da gösterilir.
|
UserInfoOptions
Kullanıcı bilgilerine ilişkin seçenekler.
Alanlar |
userInfoProperties[] |
enum (UserInfoProperty )
Kullanıcı bilgisi özelliklerinin listesi.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-29 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-29 UTC."],[[["OrderOptions allows specifying if a delivery address is required and provides options for requesting user information."],["`requestDeliveryAddress` is a boolean indicating whether the order requires a delivery address."],["`userInfoOptions` enables the app to request specific user information, such as name, email, or phone number, which will be displayed for confirmation in the ProposedOrderCard."],["`userInfoProperties` is a list of user info properties that the app can request, including options like given name, family name, email, and phone number."]]],["The document defines order options using JSON. It allows specifying whether a delivery address is required (`requestDeliveryAddress`), represented by a boolean. It also defines `userInfoOptions`, an object enabling apps to request user information. `userInfoOptions` uses `userInfoProperties`, an array of enumerated user info properties, for the specific details to be requested. If set, these fields appear in the ProposedOrderCard for user confirmation. The provided data structure and its types are detailed in associated tables.\n"]]