API Giao dịch sẽ ngừng hoạt động từ ngày 3 tháng 5 năm 2023, trước khi hành động trò chuyện ngừng hoạt động từ ngày 13 tháng 6 năm 2023. Để biết thêm thông tin, hãy xem phần
Hành động trò chuyện ngừng hoạt động.
MerchantPaymentOption
Yêu cầu đối với phương thức thanh toán do người bán cung cấp.
Biểu diễn dưới dạng JSON |
{
"merchantPaymentMethod": [
{
object (MerchantPaymentMethod )
}
],
"defaultMerchantPaymentMethodId": string,
"managePaymentMethodUrl": string
} |
Trường |
merchantPaymentMethod[] |
object (MerchantPaymentMethod )
Bắt buộc. Danh sách phương thức thanh toán do Action/Merchant cung cấp.
|
defaultMerchantPaymentMethodId |
string
Không bắt buộc. Mã của phương thức thanh toán mặc định, nếu có.
|
managePaymentMethodUrl |
string
Không bắt buộc. Đường liên kết đến trang web của người bán/hành động để quản lý phương thức thanh toán.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-29 UTC."],[[["The `merchantPaymentMethod` field is required and lists the payment methods provided by the Action or Merchant."],["`defaultMerchantPaymentMethodId` and `managePaymentMethodUrl` are optional fields that can specify a default payment method and a link to manage payment methods, respectively."],["This structure outlines the requirements for payment methods provided by Merchants using JSON."]]],["Merchants must provide payment method details in a JSON format, including a list of `merchantPaymentMethod` objects. Optionally, they can specify a `defaultMerchantPaymentMethodId` and a `managePaymentMethodUrl`. The `merchantPaymentMethod` is a required field, representing an array of payment methods the merchant accepts. The other two are strings that serve as the ID of the default option and the url for payment management respectively.\n"]]