EventPresentmentDetails
Stay organized with collections
Save and categorize content based on your preferences.
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 2024-10-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 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."]]],[]]