Class MerchantReceivableBreakdown

java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.orders.MerchantReceivableBreakdown
All Implemented Interfaces:
Serializable

public class MerchantReceivableBreakdown extends Object implements Serializable
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • MerchantReceivableBreakdown

      public MerchantReceivableBreakdown()
  • Method Details

    • setGrossAmount

      public void setGrossAmount(Money grossAmount)
      The amount for this captured payment in the currency of the transaction.
    • setExchangeRate

      public void setExchangeRate(ExchangeRate exchangeRate)
      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

      public void setNetAmount(Money netAmount)
      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

      public void setPaypalFee(Money paypalFee)
      The applicable fee for this captured payment in the currency of the transaction.
    • setPaypalFeeInReceivableCurrency

      public void setPaypalFeeInReceivableCurrency(Money paypalFeeInReceivableCurrency)
      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

      public void setPlatformFees(List<PlatformFee> platformFees)
      An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment.
    • setReceivableAmount

      public void setReceivableAmount(Money receivableAmount)
      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

      public Money getGrossAmount()
      The amount for this captured payment in the currency of the transaction.
    • getExchangeRate

      public ExchangeRate 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

      public Money 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

      public Money getPaypalFee()
      The applicable fee for this captured payment in the currency of the transaction.
    • getPaypalFeeInReceivableCurrency

      public Money 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

      public List<PlatformFee> getPlatformFees()
      An array of platform or partner fees, commissions, or brokerage fees that associated with the captured payment.
    • getReceivableAmount

      public Money 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.