Package com.stripe.model.climate
Class Order.DeliveryDetail
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.climate.Order.DeliveryDetail
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Order
The delivery of a specified quantity of carbon for an order.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Time 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.int
hashCode()
void
setDeliveredAt
(Long deliveredAt) Time at which the delivery occurred.void
setLocation
(Order.DeliveryDetail.Location location) Specific location of this delivery.void
setMetricTons
(String metricTons) Quantity of carbon removal supplied by this delivery.void
setRegistryUrl
(String registryUrl) Once retired, a URL to the registry entry for the tons from this delivery.void
setSupplier
(Supplier supplier) A supplier of carbon removal.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
DeliveryDetail
public DeliveryDetail()
-
-
Method Details
-
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()
-