Class: Increase::Models::Transaction::Source::CardSettlement::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)


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

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)


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

required :checkout_date, String

#daily_rental_rate_amountInteger

Daily rate being charged for the vehicle.

Returns:

  • (Integer)


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

required :daily_rental_rate_amount, Integer

#daily_rental_rate_currencyString

The ISO 4217 code for the daily rental rate.

Returns:

  • (String)


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

required :daily_rental_rate_currency, String

#days_rentedInteger

Number of days the vehicle was rented.

Returns:

  • (Integer)


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

required :days_rented, Integer

#extra_chargesSymbol

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

Returns:

  • (Symbol)


1164
1165
1166
1167
1168
1169
1170
1171
1172
# File 'lib/increase/models/transaction.rb', line 1164

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)


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

required :fuel_charges_amount, Integer

#fuel_charges_currencyString

The ISO 4217 code for the fuel charges assessed.

Returns:

  • (String)


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

required :fuel_charges_currency, String

#insurance_charges_amountInteger

Any insurance being charged for the vehicle.

Returns:

  • (Integer)


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

required :insurance_charges_amount, Integer

#insurance_charges_currencyString

The ISO 4217 code for the insurance charges assessed.

Returns:

  • (String)


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

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)


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

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)


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

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)


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

required :one_way_drop_off_charges_currency, String

#renter_nameString

Name of the person renting the vehicle.

Returns:

  • (String)


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

required :renter_name, String

#weekly_rental_rate_amountInteger

Weekly rate being charged for the vehicle.

Returns:

  • (Integer)


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

required :weekly_rental_rate_amount, Integer

#weekly_rental_rate_currencyString

The ISO 4217 code for the weekly rental rate.

Returns:

  • (String)


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

required :weekly_rental_rate_currency, String