Class: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/transaction.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#car_class_codeString

Code indicating the vehicle's class.

Returns:

  • (String)


592
# File 'lib/increase/models/transaction.rb', line 592

required :car_class_code, String

#checkout_dateString

Date the customer picked up the car or, in the case of a no-show or pre-pay transaction, the scheduled pick up date.

Returns:

  • (String)


597
# File 'lib/increase/models/transaction.rb', line 597

required :checkout_date, String

#daily_rental_rate_amountInteger

Daily rate being charged for the vehicle.

Returns:

  • (Integer)


602
# File 'lib/increase/models/transaction.rb', line 602

required :daily_rental_rate_amount, Integer

#daily_rental_rate_currencyString

The ISO 4217 code for the daily rental rate.

Returns:

  • (String)


607
# File 'lib/increase/models/transaction.rb', line 607

required :daily_rental_rate_currency, String

#days_rentedInteger

Number of days the vehicle was rented.

Returns:

  • (Integer)


612
# File 'lib/increase/models/transaction.rb', line 612

required :days_rented, Integer

#extra_chargesSymbol

Additional charges (gas, late fee, etc.) being billed.

Returns:

  • (Symbol)


617
618
619
620
621
622
623
624
625
# File 'lib/increase/models/transaction.rb', line 617

required :extra_charges,
Increase::Enum.new(
  :no_extra_charge,
  :gas,
  :extra_mileage,
  :late_return,
  :one_way_service_fee,
  :parking_violation
)

#fuel_charges_amountInteger

Fuel charges for the vehicle.

Returns:

  • (Integer)


630
# File 'lib/increase/models/transaction.rb', line 630

required :fuel_charges_amount, Integer

#fuel_charges_currencyString

The ISO 4217 code for the fuel charges assessed.

Returns:

  • (String)


635
# File 'lib/increase/models/transaction.rb', line 635

required :fuel_charges_currency, String

#insurance_charges_amountInteger

Any insurance being charged for the vehicle.

Returns:

  • (Integer)


640
# File 'lib/increase/models/transaction.rb', line 640

required :insurance_charges_amount, Integer

#insurance_charges_currencyString

The ISO 4217 code for the insurance charges assessed.

Returns:

  • (String)


645
# File 'lib/increase/models/transaction.rb', line 645

required :insurance_charges_currency, String

#no_show_indicatorSymbol

An indicator that the cardholder is being billed for a reserved vehicle that was not actually rented (that is, a "no-show" charge).

Returns:

  • (Symbol)


650
# File 'lib/increase/models/transaction.rb', line 650

required :no_show_indicator, Increase::Enum.new(:not_applicable, :no_show_for_specialized_vehicle)

#one_way_drop_off_charges_amountInteger

Charges for returning the vehicle at a different location than where it was picked up.

Returns:

  • (Integer)


655
# File 'lib/increase/models/transaction.rb', line 655

required :one_way_drop_off_charges_amount, Integer

#one_way_drop_off_charges_currencyString

The ISO 4217 code for the one-way drop-off charges assessed.

Returns:

  • (String)


660
# File 'lib/increase/models/transaction.rb', line 660

required :one_way_drop_off_charges_currency, String

#renter_nameString

Name of the person renting the vehicle.

Returns:

  • (String)


665
# File 'lib/increase/models/transaction.rb', line 665

required :renter_name, String

#weekly_rental_rate_amountInteger

Weekly rate being charged for the vehicle.

Returns:

  • (Integer)


670
# File 'lib/increase/models/transaction.rb', line 670

required :weekly_rental_rate_amount, Integer

#weekly_rental_rate_currencyString

The ISO 4217 code for the weekly rental rate.

Returns:

  • (String)


675
# File 'lib/increase/models/transaction.rb', line 675

required :weekly_rental_rate_currency, String