Package com.stripe.model.climate
Class Supplier
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.climate.Supplier
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
A supplier of carbon removal.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
Unique identifier for the object.Link to a webpage to learn more about the supplier.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.The locations in which this supplier operates.getName()
Name of this carbon removal supplier.String representing the object’s type.The scientific pathway used for carbon removal.int
hashCode()
static SupplierCollection
list
(SupplierListParams params) Lists all available Climate supplier objects.static SupplierCollection
list
(SupplierListParams params, RequestOptions options) Lists all available Climate supplier objects.static SupplierCollection
Lists all available Climate supplier objects.static SupplierCollection
list
(Map<String, Object> params, RequestOptions options) Lists all available Climate supplier objects.static Supplier
Retrieves a Climate supplier object.static Supplier
retrieve
(String supplier, RequestOptions options) Retrieves a Climate supplier object.static Supplier
retrieve
(String supplier, SupplierRetrieveParams params, RequestOptions options) Retrieves a Climate supplier object.static Supplier
Retrieves a Climate supplier object.void
Unique identifier for the object.void
setInfoUrl
(String infoUrl) Link to a webpage to learn more about the supplier.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
setLocations
(List<Supplier.Location> locations) The locations in which this supplier operates.void
Name of this carbon removal supplier.void
String representing the object’s type.void
setRemovalPathway
(String removalPathway) The scientific pathway used for carbon removal.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setResponseGetter, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Supplier
public Supplier()
-
-
Method Details
-
list
Lists all available Climate supplier objects.- Throws:
StripeException
-
list
public static SupplierCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionLists all available Climate supplier objects.- Throws:
StripeException
-
list
Lists all available Climate supplier objects.- Throws:
StripeException
-
list
public static SupplierCollection list(SupplierListParams params, RequestOptions options) throws StripeException Lists all available Climate supplier objects.- Throws:
StripeException
-
retrieve
Retrieves a Climate supplier object.- Throws:
StripeException
-
retrieve
Retrieves a Climate supplier object.- Throws:
StripeException
-
retrieve
public static Supplier retrieve(String supplier, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a Climate supplier object.- Throws:
StripeException
-
retrieve
public static Supplier retrieve(String supplier, SupplierRetrieveParams params, RequestOptions options) throws StripeException Retrieves a Climate supplier object.- Throws:
StripeException
-
getInfoUrl
Link to a webpage to learn more about the supplier. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getLocations
The locations in which this supplier operates. -
getName
Name of this carbon removal supplier. -
getObject
String representing the object’s type. Objects of the same type share the same value.Equal to
climate.supplier
. -
getRemovalPathway
The scientific pathway used for carbon removal.One of
biomass_carbon_removal_and_storage
,direct_air_capture
, orenhanced_weathering
. -
setId
Unique identifier for the object. -
setInfoUrl
Link to a webpage to learn more about the supplier. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setLocations
The locations in which this supplier operates. -
setName
Name of this carbon removal supplier. -
setObject
String representing the object’s type. Objects of the same type share the same value.Equal to
climate.supplier
. -
setRemovalPathway
The scientific pathway used for carbon removal.One of
biomass_carbon_removal_and_storage
,direct_air_capture
, orenhanced_weathering
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-