1
0
Files
PayPal-PHP-Server-SDK/doc/models/seller-payable-breakdown.md
Dani Kirby 6b43a4225b Beta Release 0.5.0 (#3)
* Automated commit message

* Automated commit message

* Automated commit message

* Automated commit message

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2024-09-09 12:10:34 -05:00

2.9 KiB

Seller Payable Breakdown

The breakdown of the refund.

Structure

SellerPayableBreakdown

Fields

Name Type Tags Description Getter Setter
grossAmount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getGrossAmount(): ?Money setGrossAmount(?Money grossAmount): void
paypalFee ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getPaypalFee(): ?Money setPaypalFee(?Money paypalFee): void
paypalFeeInReceivableCurrency ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getPaypalFeeInReceivableCurrency(): ?Money setPaypalFeeInReceivableCurrency(?Money paypalFeeInReceivableCurrency): void
netAmount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getNetAmount(): ?Money setNetAmount(?Money netAmount): void
netAmountInReceivableCurrency ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getNetAmountInReceivableCurrency(): ?Money setNetAmountInReceivableCurrency(?Money netAmountInReceivableCurrency): void
platformFees ?(PlatformFee[]) Optional An array of platform or partner fees, commissions, or brokerage fees for the refund.
Constraints: Minimum Items: 0, Maximum Items: 1
getPlatformFees(): ?array setPlatformFees(?array platformFees): void
netAmountBreakdown ?(NetAmountBreakdownItem[]) Optional An array of breakdown values for the net amount. Returned when the currency of the refund is different from the currency of the PayPal account where the payee holds their funds. getNetAmountBreakdown(): ?array setNetAmountBreakdown(?array netAmountBreakdown): void
totalRefundedAmount ?Money Optional The currency and amount for a financial transaction, such as a balance or payment due. getTotalRefundedAmount(): ?Money setTotalRefundedAmount(?Money totalRefundedAmount): void

Example (as JSON)

{
  "gross_amount": {
    "currency_code": "currency_code4",
    "value": "value0"
  },
  "paypal_fee": {
    "currency_code": "currency_code4",
    "value": "value2"
  },
  "paypal_fee_in_receivable_currency": {
    "currency_code": "currency_code2",
    "value": "value8"
  },
  "net_amount": {
    "currency_code": "currency_code6",
    "value": "value2"
  },
  "net_amount_in_receivable_currency": {
    "currency_code": "currency_code8",
    "value": "value4"
  }
}