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
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.voidsetSupplier(Supplier supplier) A supplier of carbon removal.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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()
-