Class: Stripe::Issuing::Transaction::PurchaseDetails
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Issuing::Transaction::PurchaseDetails
- Defined in:
- lib/stripe/resources/issuing/transaction.rb
Defined Under Namespace
Classes: Fleet, Flight, Fuel, Lodging, Receipt
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#fleet ⇒ Object
readonly
Fleet-specific information for transactions using Fleet cards.
-
#flight ⇒ Object
readonly
Information about the flight that was purchased with this transaction.
-
#fuel ⇒ Object
readonly
Information about fuel that was purchased with this transaction.
-
#lodging ⇒ Object
readonly
Information about lodging that was purchased with this transaction.
-
#receipt ⇒ Object
readonly
The line items in the purchase.
-
#reference ⇒ Object
readonly
A merchant-specific order number.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#fleet ⇒ Object (readonly)
Fleet-specific information for transactions using Fleet cards.
283 284 285 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 283 def fleet @fleet end |
#flight ⇒ Object (readonly)
Information about the flight that was purchased with this transaction.
285 286 287 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 285 def flight @flight end |
#fuel ⇒ Object (readonly)
Information about fuel that was purchased with this transaction.
287 288 289 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 287 def fuel @fuel end |
#lodging ⇒ Object (readonly)
Information about lodging that was purchased with this transaction.
289 290 291 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 289 def lodging @lodging end |
#receipt ⇒ Object (readonly)
The line items in the purchase.
291 292 293 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 291 def receipt @receipt end |
#reference ⇒ Object (readonly)
A merchant-specific order number.
293 294 295 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 293 def reference @reference end |
Class Method Details
.field_remappings ⇒ Object
305 306 307 |
# File 'lib/stripe/resources/issuing/transaction.rb', line 305 def self.field_remappings @field_remappings = {} end |