EventPresentmentDetails
This represents a presentment currency and a conversion rate in case the settlement and the purchase currencies are different.
JSON representation |
{
"presentmentAmount": {
object (Amount )
},
"nanoExchangeRate": string
} |
Fields |
presentmentAmount |
object (Amount )
REQUIRED: If this amount is negative then it represents monetary value moving from Google to the payment integrator. If this is positive it is money from the payment integrator due to Google. The presentment amount of the purchase in the currency that was used for the purchase. This should only be specified if the purchase currency is different than the settlement currency.
|
nanoExchangeRate |
string (Int64Value format)
REQUIRED: The exchange rate used in converting the presentment amount to the settlement (invoice) amount. This value is in nano basis points (1 basis point = .0001 = .01%). That is, to get the exchange rate, divide this field by 10^13. Example: - $1 USD is €0.85 EUR.
- USD/EUR exchange rate is: 0.85
- USD/EUR exchange rate with 0.0001 basis point is: 0.85*10^(4)
- USD/EUR exchange rate with nano 0.0001 basis point is: 0.85*10^(13)
- USD/EUR exchange rate with nano 0.0001 basis point is: 8 500 000 000 000
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-28 UTC.
[null,null,["Last updated 2025-02-28 UTC."],[[["JSON object conveys a presentment currency and conversion rate when purchase and settlement currencies differ."],["`presentmentAmount` field (required) indicates monetary flow direction between Google and the integrator, and represents the purchase amount in its original currency."],["`nanoExchangeRate` field (required) provides the conversion rate between presentment and settlement currencies in nano basis points, requiring division by 10^13 for actual rate."]]],["The JSON representation details presentment and exchange rate information. `presentmentAmount` (an object) denotes the monetary value in the purchase currency; a negative value signifies money moving from Google, positive from the payment integrator. `nanoExchangeRate` (a string) is the conversion rate from presentment to settlement currency, expressed in nano basis points. To get the rate, divide `nanoExchangeRate` by 10^13. Both fields are required if settlement and presentment currencies differ.\n"]]