Package com.stripe.model.capital
Class FinancingOffer
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.capital.FinancingOffer
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
This is an object representing an offer of financing from Stripe Capital to a Connect subaccount.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.static classThis is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.static classNested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThis is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.The ID of the merchant associated with this financing object.The time at which this financing offer was charged off, if applicable.Time at which the offer was created.Time at which the offer expires.The type of financing being offered.getId()A unique identifier for the financing object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.The object type: financing_offer.This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.Financing product identifier.The ID of the financing offer that replaced this offer.The ID of the financing offer that this offer is a replacement for.The current status of the offer.getType()See financing_type.inthashCode()static FinancingOfferCollectionlist(FinancingOfferListParams params) Retrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollectionlist(FinancingOfferListParams params, RequestOptions options) Retrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollectionRetrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollectionlist(Map<String, Object> params, RequestOptions options) Retrieves the financing offers available for Connected accounts that belong to your platform.Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.markDelivered(RequestOptions options) Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.markDelivered(FinancingOfferMarkDeliveredParams params, RequestOptions options) Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.markDelivered(Map<String, Object> params) Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.markDelivered(Map<String, Object> params, RequestOptions options) Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.static FinancingOfferGet the details of the financing offer.static FinancingOfferretrieve(String financingOffer, RequestOptions options) Get the details of the financing offer.static FinancingOfferretrieve(String financingOffer, FinancingOfferRetrieveParams params, RequestOptions options) Get the details of the financing offer.static FinancingOfferGet the details of the financing offer.voidsetAcceptedTerms(FinancingOffer.AcceptedTerms acceptedTerms) This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.voidsetAccount(String account) The ID of the merchant associated with this financing object.voidsetChargedOffAt(Long chargedOffAt) The time at which this financing offer was charged off, if applicable.voidsetCreated(Long created) Time at which the offer was created.voidsetExpiresAfter(BigDecimal expiresAfter) Time at which the offer expires.voidsetFinancingType(String financingType) The type of financing being offered.voidA unique identifier for the financing object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidThe object type: financing_offer.voidsetOfferedTerms(FinancingOffer.OfferedTerms offeredTerms) This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.voidsetProductType(String productType) Financing product identifier.voidsetReplacement(String replacement) The ID of the financing offer that replaced this offer.voidsetReplacementFor(String replacementFor) The ID of the financing offer that this offer is a replacement for.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe current status of the offer.voidSee financing_type.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
FinancingOffer
public FinancingOffer()
-
-
Method Details
-
list
Retrieves the financing offers available for Connected accounts that belong to your platform.- Throws:
StripeException
-
list
public static FinancingOfferCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the financing offers available for Connected accounts that belong to your platform.- Throws:
StripeException
-
list
Retrieves the financing offers available for Connected accounts that belong to your platform.- Throws:
StripeException
-
list
public static FinancingOfferCollection list(FinancingOfferListParams params, RequestOptions options) throws StripeException Retrieves the financing offers available for Connected accounts that belong to your platform.- Throws:
StripeException
-
markDelivered
Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
markDelivered
Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
markDelivered
Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
markDelivered
public FinancingOffer markDelivered(Map<String, Object> params, RequestOptions options) throws StripeExceptionAcknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
markDelivered
public FinancingOffer markDelivered(FinancingOfferMarkDeliveredParams params) throws StripeException Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
markDelivered
public FinancingOffer markDelivered(FinancingOfferMarkDeliveredParams params, RequestOptions options) throws StripeException Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient.- Throws:
StripeException
-
retrieve
Get the details of the financing offer.- Throws:
StripeException
-
retrieve
public static FinancingOffer retrieve(String financingOffer, RequestOptions options) throws StripeException Get the details of the financing offer.- Throws:
StripeException
-
retrieve
public static FinancingOffer retrieve(String financingOffer, Map<String, Object> params, RequestOptions options) throws StripeExceptionGet the details of the financing offer.- Throws:
StripeException
-
retrieve
public static FinancingOffer retrieve(String financingOffer, FinancingOfferRetrieveParams params, RequestOptions options) throws StripeException Get the details of the financing offer.- Throws:
StripeException
-
getTestHelpers
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAcceptedTerms
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. -
getAccount
The ID of the merchant associated with this financing object. -
getChargedOffAt
The time at which this financing offer was charged off, if applicable. Given in seconds since unix epoch. -
getCreated
Time at which the offer was created. Given in seconds since unix epoch. -
getExpiresAfter
Time at which the offer expires. Given in seconds since unix epoch. -
getFinancingType
The type of financing being offered.One of
cash_advance, orflex_loan. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
The object type: financing_offer.Equal to
capital.financing_offer. -
getOfferedTerms
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. -
getProductType
Financing product identifier.One of
refill, orstandard. -
getReplacement
The ID of the financing offer that replaced this offer. -
getReplacementFor
The ID of the financing offer that this offer is a replacement for. -
getStatus
The current status of the offer.One of
accepted,canceled,completed,delivered,expired,fully_repaid,paid_out,rejected,replaced, orundelivered. -
getType
See financing_type.One of
cash_advance,fixed_term_loan, orflex_loan. -
setAcceptedTerms
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. -
setAccount
The ID of the merchant associated with this financing object. -
setChargedOffAt
The time at which this financing offer was charged off, if applicable. Given in seconds since unix epoch. -
setCreated
Time at which the offer was created. Given in seconds since unix epoch. -
setExpiresAfter
Time at which the offer expires. Given in seconds since unix epoch. -
setFinancingType
The type of financing being offered.One of
cash_advance, orflex_loan. -
setId
A unique identifier for the financing object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
The object type: financing_offer.Equal to
capital.financing_offer. -
setOfferedTerms
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. -
setProductType
Financing product identifier.One of
refill, orstandard. -
setReplacement
The ID of the financing offer that replaced this offer. -
setReplacementFor
The ID of the financing offer that this offer is a replacement for. -
setStatus
The current status of the offer.One of
accepted,canceled,completed,delivered,expired,fully_repaid,paid_out,rejected,replaced, orundelivered. -
setType
See financing_type.One of
cash_advance,fixed_term_loan, orflex_loan. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
A unique identifier for the financing object.
-