Package com.stripe.model.climate
Class Order.DeliveryDetail
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.climate.Order.DeliveryDetail
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Order
The delivery of a specified quantity of carbon for an order.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Location, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTime at which the delivery occurred.Specific location of this delivery.Quantity of carbon removal supplied by this delivery.Once retired, a URL to the registry entry for the tons from this delivery.A supplier of carbon removal.inthashCode()voidsetDeliveredAt(Long deliveredAt) Time at which the delivery occurred.voidsetLocation(Order.DeliveryDetail.Location location) Specific location of this delivery.voidsetMetricTons(String metricTons) Quantity of carbon removal supplied by this delivery.voidsetRegistryUrl(String registryUrl) Once retired, a URL to the registry entry for the tons from this delivery.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidsetSupplier(Supplier supplier) A supplier of carbon removal.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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
-
DeliveryDetail
public DeliveryDetail()
-
-
Method Details
-
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- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getDeliveredAt
Time at which the delivery occurred. Measured in seconds since the Unix epoch. -
getLocation
Specific location of this delivery. -
getMetricTons
Quantity of carbon removal supplied by this delivery. -
getRegistryUrl
Once retired, a URL to the registry entry for the tons from this delivery. -
getSupplier
A supplier of carbon removal. -
setDeliveredAt
Time at which the delivery occurred. Measured in seconds since the Unix epoch. -
setLocation
Specific location of this delivery. -
setMetricTons
Quantity of carbon removal supplied by this delivery. -
setRegistryUrl
Once retired, a URL to the registry entry for the tons from this delivery. -
setSupplier
A supplier of carbon removal. -
equals
-
canEqual
-
hashCode
public int hashCode()
-