Class MerchantReceivableBreakdown
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.MerchantReceivableBreakdown
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe exchange rate that determines the amount that is credited to the payee's PayPal account.The amount for this captured payment in the currency of the transaction.The net amount that the payee receives for this captured payment in their PayPal account.The applicable fee for this captured payment in the currency of the transaction.The applicable fee for this captured payment in the receivable currency.An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment.The net amount that is credited to the payee's PayPal account.void
setExchangeRate
(ExchangeRate exchangeRate) The exchange rate that determines the amount that is credited to the payee's PayPal account.void
setGrossAmount
(Money grossAmount) The amount for this captured payment in the currency of the transaction.void
setNetAmount
(Money netAmount) The net amount that the payee receives for this captured payment in their PayPal account.void
setPaypalFee
(Money paypalFee) The applicable fee for this captured payment in the currency of the transaction.void
setPaypalFeeInReceivableCurrency
(Money paypalFeeInReceivableCurrency) The applicable fee for this captured payment in the receivable currency.void
setPlatformFees
(List<PlatformFee> platformFees) An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment.void
setReceivableAmount
(Money receivableAmount) The net amount that is credited to the payee's PayPal account.
-
Constructor Details
-
MerchantReceivableBreakdown
public MerchantReceivableBreakdown()
-
-
Method Details
-
setGrossAmount
The amount for this captured payment in the currency of the transaction. -
setExchangeRate
The exchange rate that determines the amount that is credited to the payee's PayPal account. Returned when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. -
setNetAmount
The net amount that the payee receives for this captured payment in their PayPal account. The net amount is computed as gross_amount minus the paypal_fee minus the platform_fees. -
setPaypalFee
The applicable fee for this captured payment in the currency of the transaction. -
setPaypalFeeInReceivableCurrency
The applicable fee for this captured payment in the receivable currency. Returned only in cases the fee is charged in the receivable currency. Example 'CNY'. -
setPlatformFees
An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment. -
setReceivableAmount
The net amount that is credited to the payee's PayPal account. Returned only when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. The amount is computed as net_amount times exchange_rate. -
getGrossAmount
The amount for this captured payment in the currency of the transaction. -
getExchangeRate
The exchange rate that determines the amount that is credited to the payee's PayPal account. Returned when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. -
getNetAmount
The net amount that the payee receives for this captured payment in their PayPal account. The net amount is computed as gross_amount minus the paypal_fee minus the platform_fees. -
getPaypalFee
The applicable fee for this captured payment in the currency of the transaction. -
getPaypalFeeInReceivableCurrency
The applicable fee for this captured payment in the receivable currency. Returned only in cases the fee is charged in the receivable currency. Example 'CNY'. -
getPlatformFees
An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment. -
getReceivableAmount
The net amount that is credited to the payee's PayPal account. Returned only when the currency of the captured payment is different from the currency of the PayPal account where the payee wants to credit the funds. The amount is computed as net_amount times exchange_rate.
-