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

    • getIndustryProductCode

      public String getIndustryProductCode()
      Conexxus Payment System Product Code identifying the primary fuel product purchased.
    • getQuantityDecimal

      public BigDecimal getQuantityDecimal()
      The quantity of units of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
    • 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 quantity_decimal. One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, pound, 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.
    • setIndustryProductCode

      public void setIndustryProductCode(String industryProductCode)
      Conexxus Payment System Product Code identifying the primary fuel product purchased.
    • setQuantityDecimal

      public void setQuantityDecimal(BigDecimal quantityDecimal)
      The quantity of units of fuel that was dispensed, 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 quantity_decimal. One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, pound, 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.
    • 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