Class: Stripe::TestHelpers::Issuing::AuthorizationCaptureParams::PurchaseDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::AuthorizationCaptureParams::PurchaseDetails
- Defined in:
- lib/stripe/params/test_helpers/issuing/authorization_capture_params.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.
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 228 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.
216 217 218 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 216 def fleet @fleet end |
#flight ⇒ Object
Information about the flight that was purchased with this transaction.
218 219 220 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 218 def flight @flight end |
#fuel ⇒ Object
Information about fuel that was purchased with this transaction.
220 221 222 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 220 def fuel @fuel end |
#lodging ⇒ Object
Information about lodging that was purchased with this transaction.
222 223 224 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 222 def lodging @lodging end |
#receipt ⇒ Object
The line items in the purchase.
224 225 226 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 224 def receipt @receipt end |
#reference ⇒ Object
A merchant-specific order number.
226 227 228 |
# File 'lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb', line 226 def reference @reference end |