Class: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails
- Inherits:
-
BaseModel
- Object
- BaseModel
- Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails
- Defined in:
- lib/increase/models/card_payment.rb
Defined Under Namespace
Classes: CarRental, Lodging, Travel
Instance Attribute Summary collapse
-
#car_rental ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental
Fields specific to car rentals.
-
#customer_reference_identifier ⇒ String
An identifier from the merchant for the customer or consumer.
-
#local_tax_amount ⇒ Integer
The state or provincial tax amount in minor units.
-
#local_tax_currency ⇒ String
The ISO 4217 code for the local tax assessed.
-
#lodging ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging
Fields specific to lodging.
-
#national_tax_amount ⇒ Integer
The national tax amount in minor units.
-
#national_tax_currency ⇒ String
The ISO 4217 code for the local tax assessed.
-
#purchase_identifier ⇒ String
An identifier from the merchant for the purchase to the issuer and cardholder.
-
#purchase_identifier_format ⇒ Symbol
The format of the purchase identifier.
-
#travel ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel
Fields specific to travel.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#car_rental ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental
Fields specific to car rentals.
1508 1509 |
# File 'lib/increase/models/card_payment.rb', line 1508 required :car_rental, -> { Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental } |
#customer_reference_identifier ⇒ String
An identifier from the merchant for the customer or consumer.
1514 |
# File 'lib/increase/models/card_payment.rb', line 1514 required :customer_reference_identifier, String |
#local_tax_amount ⇒ Integer
The state or provincial tax amount in minor units.
1519 |
# File 'lib/increase/models/card_payment.rb', line 1519 required :local_tax_amount, Integer |
#local_tax_currency ⇒ String
The ISO 4217 code for the local tax assessed.
1524 |
# File 'lib/increase/models/card_payment.rb', line 1524 required :local_tax_currency, String |
#lodging ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging
Fields specific to lodging.
1529 |
# File 'lib/increase/models/card_payment.rb', line 1529 required :lodging, -> { Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging } |
#national_tax_amount ⇒ Integer
The national tax amount in minor units.
1534 |
# File 'lib/increase/models/card_payment.rb', line 1534 required :national_tax_amount, Integer |
#national_tax_currency ⇒ String
The ISO 4217 code for the local tax assessed.
1539 |
# File 'lib/increase/models/card_payment.rb', line 1539 required :national_tax_currency, String |
#purchase_identifier ⇒ String
An identifier from the merchant for the purchase to the issuer and cardholder.
1544 |
# File 'lib/increase/models/card_payment.rb', line 1544 required :purchase_identifier, String |
#purchase_identifier_format ⇒ Symbol
The format of the purchase identifier.
1549 1550 1551 1552 1553 1554 1555 1556 |
# File 'lib/increase/models/card_payment.rb', line 1549 required :purchase_identifier_format, Increase::Enum.new( :free_text, :order_number, :rental_agreement_number, :hotel_folio_number, :invoice_number ) |
#travel ⇒ Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel
Fields specific to travel.
1561 |
# File 'lib/increase/models/card_payment.rb', line 1561 required :travel, -> { Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel } |