Class PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.PaymentDetails.CarRentalDatum.Total

public static class PaymentIntent.PaymentDetails.CarRentalDatum.Total.ExtraCharge extends StripeObject
For more details about ExtraCharge, please refer to the API Reference.
  • Constructor Details

    • ExtraCharge

      public ExtraCharge()
  • Method Details

    • getAmount

      public Long getAmount()
      Amount of the extra charge.
    • getType

      public String getType()
      Type of extra charge.

      One of extra_mileage, gas, gps, late_charge, one_way_drop_off, other, parking, phone, regular_mileage, or towing.

    • setAmount

      public void setAmount(Long amount)
      Amount of the extra charge.
    • setType

      public void setType(String type)
      Type of extra charge.

      One of extra_mileage, gas, gps, late_charge, one_way_drop_off, other, parking, phone, regular_mileage, or towing.

    • 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