Package com.stripe.model.capital
Class FinancingOffer.AcceptedTerms
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.capital.FinancingOffer.AcceptedTerms
- 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 the terms accepted by the Connected account, which
may differ from those offered.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Amount of financing offered, in minor units.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
setCurrency
(String currency) Currency that the financing offer is transacted in.void
setFeeAmount
(Long feeAmount) Fixed fee amount, in minor units.void
setPreviousFinancingFeeDiscountAmount
(Long previousFinancingFeeDiscountAmount) 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, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AcceptedTerms
public AcceptedTerms()
-
-
Method Details
-
getAdvanceAmount
Amount of financing offered, in minor units. -
getCurrency
Currency that the financing offer is transacted in. For example,usd
. -
getFeeAmount
Fixed fee amount, in minor units. -
getPreviousFinancingFeeDiscountAmount
Populated when theproduct_type
of thefinancingoffer
isrefill
. Represents the discount amount on remaining premium for the existing loan at payout time. -
getWithholdRate
Per-transaction rate at which Stripe will withhold funds to repay the financing. -
setAdvanceAmount
Amount of financing offered, in minor units. -
setCurrency
Currency that the financing offer is transacted in. For example,usd
. -
setFeeAmount
Fixed fee amount, in minor units. -
setPreviousFinancingFeeDiscountAmount
Populated when theproduct_type
of thefinancingoffer
isrefill
. Represents the discount amount on remaining premium for the existing loan at payout time. -
setWithholdRate
Per-transaction rate at which Stripe will withhold funds to repay the financing. -
equals
-
canEqual
-
hashCode
public int hashCode()
-