1
0
Files
PayPal-PHP-Server-SDK/doc/models/net-amount-breakdown-item.md
2024-09-04 15:55:32 +00:00

1.4 KiB

Net Amount Breakdown Item

The net amount. Returned when the currency of the refund is different from the currency of the PayPal account where the merchant holds their funds.

Structure

NetAmountBreakdownItem

Fields

Name Type Tags Description Getter Setter
payableAmount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getPayableAmount(): ?Money setPayableAmount(?Money payableAmount): void
convertedAmount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getConvertedAmount(): ?Money setConvertedAmount(?Money convertedAmount): void
exchangeRate ?ExchangeRate Optional The exchange rate that determines the amount to convert from one currency to another currency. getExchangeRate(): ?ExchangeRate setExchangeRate(?ExchangeRate exchangeRate): void

Example (as JSON)

{
  "payable_amount": {
    "currency_code": "currency_code8",
    "value": "value4"
  },
  "converted_amount": {
    "currency_code": "currency_code0",
    "value": "value6"
  },
  "exchange_rate": {
    "source_currency": "source_currency4",
    "target_currency": "target_currency6",
    "value": "value6"
  }
}