Class Transaction.PurchaseDetails.Fuel

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.issuing.Transaction.PurchaseDetails.Fuel
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Transaction.PurchaseDetails

public static class Transaction.PurchaseDetails.Fuel extends StripeObject
Whether a stopover is allowed on this flight.
  • Constructor Details

    • Fuel

      public Fuel()
  • Method Details

    • getType

      public String getType()
      The type of fuel that was purchased. One of diesel, unleaded_plus, unleaded_regular, unleaded_super, or other.
    • getUnit

      public String getUnit()
      The units for volume_decimal. One of liter, us_gallon, or other.
    • getUnitCostDecimal

      public BigDecimal getUnitCostDecimal()
      The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
    • getVolumeDecimal

      public BigDecimal getVolumeDecimal()
      The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
    • setType

      public void setType(String type)
      The type of fuel that was purchased. One of diesel, unleaded_plus, unleaded_regular, unleaded_super, or other.
    • setUnit

      public void setUnit(String unit)
      The units for volume_decimal. One of liter, us_gallon, or other.
    • setUnitCostDecimal

      public void setUnitCostDecimal(BigDecimal unitCostDecimal)
      The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
    • setVolumeDecimal

      public void setVolumeDecimal(BigDecimal volumeDecimal)
      The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
    • 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