View Source Stripe.Climate.Supplier (stripity_stripe v3.2.0)
A supplier of carbon removal.
Summary
Types
@type t() :: %Stripe.Climate.Supplier{ id: binary(), info_url: binary(), livemode: boolean(), locations: term(), name: binary(), object: binary(), removal_pathway: binary() }
The climate.supplier type.
idUnique identifier for the object.info_urlLink to a webpage to learn more about the supplier.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.locationsThe locations in which this supplier operates.nameName of this carbon removal supplier.objectString representing the object’s type. Objects of the same type share the same value.removal_pathwayThe scientific pathway used for carbon removal.
Functions
@spec list( params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Lists all available Climate supplier objects.
Details
- Method: 
get - Path: 
/v1/climate/suppliers 
@spec retrieve( supplier :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves a Climate supplier object.
Details
- Method: 
get - Path: 
/v1/climate/suppliers/{supplier}