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
,StripeObjectInterface
This is an object representing an offer of financing from Stripe Capital to a Connect subaccount.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.static class
This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
This 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.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 valuetrue
if the object exists in live mode or the valuefalse
if 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 current status of the offer.getType()
See financing_type.int
hashCode()
static FinancingOfferCollection
list
(FinancingOfferListParams params) Retrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollection
list
(FinancingOfferListParams params, RequestOptions options) Retrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollection
Retrieves the financing offers available for Connected accounts that belong to your platform.static FinancingOfferCollection
list
(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 FinancingOffer
Get the details of the financing offer.static FinancingOffer
retrieve
(String financingOffer, RequestOptions options) Get the details of the financing offer.static FinancingOffer
retrieve
(String financingOffer, FinancingOfferRetrieveParams params, RequestOptions options) Get the details of the financing offer.static FinancingOffer
Get the details of the financing offer.void
setAcceptedTerms
(FinancingOffer.AcceptedTerms acceptedTerms) This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.void
setAccount
(String account) The ID of the merchant associated with this financing object.void
setCreated
(Long created) Time at which the offer was created.void
setExpiresAfter
(BigDecimal expiresAfter) Time at which the offer expires.void
setFinancingType
(String financingType) The type of financing being offered.void
A unique identifier for the financing object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
The object type: financing_offer.void
setOfferedTerms
(FinancingOffer.OfferedTerms offeredTerms) This is an object representing the terms of an offer of financing from Stripe Capital to a Connected account.void
setProductType
(String productType) Financing product identifier.void
The current status of the offer.void
See financing_type.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
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. This is required to make the application accessible.- Throws:
StripeException
-
markDelivered
Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient. This is required to make the application accessible.- Throws:
StripeException
-
markDelivered
Acknowledges that platform has received and delivered the financing_offer to the intended merchant recipient. This is required to make the application accessible.- 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. This is required to make the application accessible.- 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. This is required to make the application accessible.- 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. This is required to make the application accessible.- 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
-
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. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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
. -
getStatus
The current status of the offer.One of
accepted
,canceled
,completed
,delivered
,expired
,fully_repaid
,paid_out
,rejected
, orundelivered
. -
getType
See financing_type.One of
cash_advance
, 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. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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
. -
setStatus
The current status of the offer.One of
accepted
,canceled
,completed
,delivered
,expired
,fully_repaid
,paid_out
,rejected
, orundelivered
. -
setType
See financing_type.One of
cash_advance
, orflex_loan
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
A unique identifier for the financing object.
-