Class Authorization.Fuel

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

public static class Authorization.Fuel extends StripeObject
Amount of national Sales Tax or VAT included in the transaction amount. null if not reported by merchant or not subject to tax.
  • 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, other, unleaded_plus, unleaded_regular, or unleaded_super.

    • getUnit

      public String getUnit()
      The units for quantity_decimal.

      One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, other, pound, or us_gallon.

    • 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, other, unleaded_plus, unleaded_regular, or unleaded_super.

    • setUnit

      public void setUnit(String unit)
      The units for quantity_decimal.

      One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, other, pound, or us_gallon.

    • 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