Class: Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails
- Defined in:
- lib/stripe/services/test_helpers/issuing/transaction_service.rb
Defined Under Namespace
Classes: Fleet, Flight, Fuel, Lodging, Receipt
Instance Attribute Summary collapse
-
#fleet ⇒ Object
Fleet-specific information for transactions using Fleet cards.
-
#flight ⇒ Object
Information about the flight that was purchased with this transaction.
-
#fuel ⇒ Object
Information about fuel that was purchased with this transaction.
-
#lodging ⇒ Object
Information about lodging that was purchased with this transaction.
-
#receipt ⇒ Object
The line items in the purchase.
-
#reference ⇒ Object
A merchant-specific order number.
Instance Method Summary collapse
-
#initialize(fleet: nil, flight: nil, fuel: nil, lodging: nil, receipt: nil, reference: nil) ⇒ PurchaseDetails
constructor
A new instance of PurchaseDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(fleet: nil, flight: nil, fuel: nil, lodging: nil, receipt: nil, reference: nil) ⇒ PurchaseDetails
Returns a new instance of PurchaseDetails.
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 594 def initialize( fleet: nil, flight: nil, fuel: nil, lodging: nil, receipt: nil, reference: nil ) @fleet = fleet @flight = flight @fuel = fuel @lodging = lodging @receipt = receipt @reference = reference end |
Instance Attribute Details
#fleet ⇒ Object
Fleet-specific information for transactions using Fleet cards.
582 583 584 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 582 def fleet @fleet end |
#flight ⇒ Object
Information about the flight that was purchased with this transaction.
584 585 586 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 584 def flight @flight end |
#fuel ⇒ Object
Information about fuel that was purchased with this transaction.
586 587 588 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 586 def fuel @fuel end |
#lodging ⇒ Object
Information about lodging that was purchased with this transaction.
588 589 590 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 588 def lodging @lodging end |
#receipt ⇒ Object
The line items in the purchase.
590 591 592 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 590 def receipt @receipt end |
#reference ⇒ Object
A merchant-specific order number.
592 593 594 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 592 def reference @reference end |