Class Order.DeliveryDetail

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.climate.Order.DeliveryDetail
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Order

public static class Order.DeliveryDetail extends StripeObject
The delivery of a specified quantity of carbon for an order.
  • Constructor Details

    • DeliveryDetail

      public DeliveryDetail()
  • Method Details

    • getDeliveredAt

      public Long getDeliveredAt()
      Time at which the delivery occurred. Measured in seconds since the Unix epoch.
    • getLocation

      public Order.DeliveryDetail.Location getLocation()
      Specific location of this delivery.
    • getMetricTons

      public String getMetricTons()
      Quantity of carbon removal supplied by this delivery.
    • getRegistryUrl

      public String getRegistryUrl()
      Once retired, a URL to the registry entry for the tons from this delivery.
    • getSupplier

      public Supplier getSupplier()
      A supplier of carbon removal.
    • setDeliveredAt

      public void setDeliveredAt(Long deliveredAt)
      Time at which the delivery occurred. Measured in seconds since the Unix epoch.
    • setLocation

      public void setLocation(Order.DeliveryDetail.Location location)
      Specific location of this delivery.
    • setMetricTons

      public void setMetricTons(String metricTons)
      Quantity of carbon removal supplied by this delivery.
    • setRegistryUrl

      public void setRegistryUrl(String registryUrl)
      Once retired, a URL to the registry entry for the tons from this delivery.
    • setSupplier

      public void setSupplier(Supplier supplier)
      A supplier of carbon removal.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object