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 ClassesModifier and TypeClassDescriptionstatic classFor more details about Location, please refer to the API Reference.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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Unique identifier for the object.Link to a webpage to learn more about the supplier.Has the valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()static SupplierCollectionlist(SupplierListParams params) Lists all available Climate supplier objects.static SupplierCollectionlist(SupplierListParams params, RequestOptions options) Lists all available Climate supplier objects.static SupplierCollectionLists all available Climate supplier objects.static SupplierCollectionlist(Map<String, Object> params, RequestOptions options) Lists all available Climate supplier objects.static SupplierRetrieves a Climate supplier object.static Supplierretrieve(String supplier, RequestOptions options) Retrieves a Climate supplier object.static Supplierretrieve(String supplier, SupplierRetrieveParams params, RequestOptions options) Retrieves a Climate supplier object.static SupplierRetrieves a Climate supplier object.voidUnique identifier for the object.voidsetInfoUrl(String infoUrl) Link to a webpage to learn more about the supplier.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLocations(List<Supplier.Location> locations) The locations in which this supplier operates.voidName of this carbon removal supplier.voidString representing the object’s type.voidsetRemovalPathway(String removalPathway) The scientific pathway used for carbon removal.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, setResponseGetter, 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
-
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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-