Money
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Biểu diễn dưới dạng JSON |
{
"kind": string,
"micros": string,
"currencyCode": string
} |
Trường |
kind (deprecated) |
string
Xác định loại tài nguyên này. Giá trị: chuỗi cố định "walletobjects#money" .
|
micros |
string (int64 format)
Đơn vị số tiền dưới dạng phần triệu. Ví dụ: 1 USD sẽ được biểu diễn dưới dạng 1000000 micros.
|
currencyCode |
string
Mã đơn vị tiền tệ, chẳng hạn như "USD" hoặc "EUR".
|
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: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eMoney objects represent a monetary value amount with its currency using JSON.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is deprecated and should not be used.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emicros\u003c/code\u003e represents the monetary value in micros (e.g., 1 USD = 1000000 micros).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecurrencyCode\u003c/code\u003e specifies the currency used, such as USD or EUR.\u003c/p\u003e\n"]]],["The JSON object represents monetary value. It has three fields: `kind` (deprecated, always `\"walletobjects#money\"`), `micros` (an integer string representing the amount in micro-units, e.g., 1,000,000 for $1), and `currencyCode` (a string indicating the currency, like \"USD\"). The key action is to use the `micros` and `currencyCode` to denote money values and to be aware that the field `kind` is deprecated.\n"],null,["# Money\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|----------------------------------------------------------------------|\n| ``` { \"kind\": string, \"micros\": string, \"currencyCode\": string } ``` |\n\n| Fields ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#money\"`. |\n| `micros` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The unit of money amount in micros. For example, $1 USD would be represented as 1000000 micros. |\n| `currencyCode` | `string` The currency code, such as \"USD\" or \"EUR.\" |"]]