Class FinancingOffer.OfferedTerms

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.capital.FinancingOffer.OfferedTerms
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
FinancingOffer

public static class FinancingOffer.OfferedTerms extends StripeObject
This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account. This resource represents both the terms offered to the Connected account.
  • Constructor Details

    • OfferedTerms

      public OfferedTerms()
  • Method Details

    • getAdvanceAmount

      public Long getAdvanceAmount()
      Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000.
    • getCampaignType

      public String getCampaignType()
      Describes the type of user the offer is being extended to.

      One of newly_eligible_user, previously_eligible_user, or repeat_user.

    • getCurrency

      public String getCurrency()
      Currency that the financing offer is transacted in. For example, usd.
    • getFeeAmount

      public Long getFeeAmount()
      Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000.
    • getPreviousFinancingFeeDiscountRate

      public BigDecimal getPreviousFinancingFeeDiscountRate()
      Populated when the product_type of the financingoffer is refill. Represents the discount rate percentage on remaining fee on the existing loan. When the financing_offer is paid out, the previous_financing_fee_discount_amount will be computed as the multiple of this rate and the remaining fee.
    • getWithholdRate

      public BigDecimal getWithholdRate()
      Per-transaction rate at which Stripe will withhold funds to repay the financing.
    • setAdvanceAmount

      public void setAdvanceAmount(Long advanceAmount)
      Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000.
    • setCampaignType

      public void setCampaignType(String campaignType)
      Describes the type of user the offer is being extended to.

      One of newly_eligible_user, previously_eligible_user, or repeat_user.

    • setCurrency

      public void setCurrency(String currency)
      Currency that the financing offer is transacted in. For example, usd.
    • setFeeAmount

      public void setFeeAmount(Long feeAmount)
      Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000.
    • setPreviousFinancingFeeDiscountRate

      public void setPreviousFinancingFeeDiscountRate(BigDecimal previousFinancingFeeDiscountRate)
      Populated when the product_type of the financingoffer is refill. Represents the discount rate percentage on remaining fee on the existing loan. When the financing_offer is paid out, the previous_financing_fee_discount_amount will be computed as the multiple of this rate and the remaining fee.
    • setWithholdRate

      public void setWithholdRate(BigDecimal withholdRate)
      Per-transaction rate at which Stripe will withhold funds to repay the financing.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object