Class: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_payment.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)


982
# File 'lib/increase/models/card_payment.rb', line 982

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)


987
# File 'lib/increase/models/card_payment.rb', line 987

required :checkout_date, String

#daily_rental_rate_amountInteger

Daily rate being charged for the vehicle.

Returns:

  • (Integer)


992
# File 'lib/increase/models/card_payment.rb', line 992

required :daily_rental_rate_amount, Integer

#daily_rental_rate_currencyString

The ISO 4217 code for the daily rental rate.

Returns:

  • (String)


997
# File 'lib/increase/models/card_payment.rb', line 997

required :daily_rental_rate_currency, String

#days_rentedInteger

Number of days the vehicle was rented.

Returns:

  • (Integer)


1002
# File 'lib/increase/models/card_payment.rb', line 1002

required :days_rented, Integer

#extra_chargesSymbol

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

Returns:

  • (Symbol)


1007
1008
1009
1010
1011
1012
1013
1014
1015
# File 'lib/increase/models/card_payment.rb', line 1007

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)


1020
# File 'lib/increase/models/card_payment.rb', line 1020

required :fuel_charges_amount, Integer

#fuel_charges_currencyString

The ISO 4217 code for the fuel charges assessed.

Returns:

  • (String)


1025
# File 'lib/increase/models/card_payment.rb', line 1025

required :fuel_charges_currency, String

#insurance_charges_amountInteger

Any insurance being charged for the vehicle.

Returns:

  • (Integer)


1030
# File 'lib/increase/models/card_payment.rb', line 1030

required :insurance_charges_amount, Integer

#insurance_charges_currencyString

The ISO 4217 code for the insurance charges assessed.

Returns:

  • (String)


1035
# File 'lib/increase/models/card_payment.rb', line 1035

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)


1040
# File 'lib/increase/models/card_payment.rb', line 1040

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)


1045
# File 'lib/increase/models/card_payment.rb', line 1045

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)


1050
# File 'lib/increase/models/card_payment.rb', line 1050

required :one_way_drop_off_charges_currency, String

#renter_nameString

Name of the person renting the vehicle.

Returns:

  • (String)


1055
# File 'lib/increase/models/card_payment.rb', line 1055

required :renter_name, String

#weekly_rental_rate_amountInteger

Weekly rate being charged for the vehicle.

Returns:

  • (Integer)


1060
# File 'lib/increase/models/card_payment.rb', line 1060

required :weekly_rental_rate_amount, Integer

#weekly_rental_rate_currencyString

The ISO 4217 code for the weekly rental rate.

Returns:

  • (String)


1065
# File 'lib/increase/models/card_payment.rb', line 1065

required :weekly_rental_rate_currency, String