Package com.stripe.model.capital
Class FinancingOffer.OfferedTerms
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.capital.FinancingOffer.OfferedTerms
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- FinancingOffer
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.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Amount of financing offered, in minor units.Describes the type of user the offer is being extended to.Currency that the financing offer is transacted in.Fixed fee amount, in minor units.Populated when theproduct_type
of thefinancingoffer
isrefill
.Per-transaction rate at which Stripe will withhold funds to repay the financing.int
hashCode()
void
setAdvanceAmount
(Long advanceAmount) Amount of financing offered, in minor units.void
setCampaignType
(String campaignType) Describes the type of user the offer is being extended to.void
setCurrency
(String currency) Currency that the financing offer is transacted in.void
setFeeAmount
(Long feeAmount) Fixed fee amount, in minor units.void
setPreviousFinancingFeeDiscountRate
(BigDecimal previousFinancingFeeDiscountRate) Populated when theproduct_type
of thefinancingoffer
isrefill
.void
setWithholdRate
(BigDecimal withholdRate) Per-transaction rate at which Stripe will withhold funds to repay the financing.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
OfferedTerms
public OfferedTerms()
-
-
Method Details
-
getAdvanceAmount
Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. -
getCampaignType
Describes the type of user the offer is being extended to.One of
newly_eligible_user
,previously_eligible_user
, orrepeat_user
. -
getCurrency
Currency that the financing offer is transacted in. For example,usd
. -
getFeeAmount
Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000. -
getPreviousFinancingFeeDiscountRate
Populated when theproduct_type
of thefinancingoffer
isrefill
. Represents the discount rate percentage on remaining fee on the existing loan. When thefinancing_offer
is paid out, theprevious_financing_fee_discount_amount
will be computed as the multiple of this rate and the remaining fee. -
getWithholdRate
Per-transaction rate at which Stripe will withhold funds to repay the financing. -
setAdvanceAmount
Amount of financing offered, in minor units. For example, $1,000 USD will be represented as 100000. -
setCampaignType
Describes the type of user the offer is being extended to.One of
newly_eligible_user
,previously_eligible_user
, orrepeat_user
. -
setCurrency
Currency that the financing offer is transacted in. For example,usd
. -
setFeeAmount
Fixed fee amount, in minor units. For example, $100 USD will be represented as 10000. -
setPreviousFinancingFeeDiscountRate
Populated when theproduct_type
of thefinancingoffer
isrefill
. Represents the discount rate percentage on remaining fee on the existing loan. When thefinancing_offer
is paid out, theprevious_financing_fee_discount_amount
will be computed as the multiple of this rate and the remaining fee. -
setWithholdRate
Per-transaction rate at which Stripe will withhold funds to repay the financing. -
equals
-
canEqual
-
hashCode
public int hashCode()
-