Class: Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails::Receipt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionService::CreateUnlinkedRefundParams::PurchaseDetails::Receipt
- Defined in:
- lib/stripe/services/test_helpers/issuing/transaction_service.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Attribute for param field description.
-
#quantity ⇒ Object
Attribute for param field quantity.
-
#total ⇒ Object
Attribute for param field total.
-
#unit_cost ⇒ Object
Attribute for param field unit_cost.
Instance Method Summary collapse
-
#initialize(description: nil, quantity: nil, total: nil, unit_cost: nil) ⇒ Receipt
constructor
A new instance of Receipt.
Methods inherited from RequestParams
Constructor Details
#initialize(description: nil, quantity: nil, total: nil, unit_cost: nil) ⇒ Receipt
Returns a new instance of Receipt.
574 575 576 577 578 579 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 574 def initialize(description: nil, quantity: nil, total: nil, unit_cost: nil) @description = description @quantity = quantity @total = total @unit_cost = unit_cost end |
Instance Attribute Details
#description ⇒ Object
Attribute for param field description
566 567 568 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 566 def description @description end |
#quantity ⇒ Object
Attribute for param field quantity
568 569 570 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 568 def quantity @quantity end |
#total ⇒ Object
Attribute for param field total
570 571 572 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 570 def total @total end |
#unit_cost ⇒ Object
Attribute for param field unit_cost
572 573 574 |
# File 'lib/stripe/services/test_helpers/issuing/transaction_service.rb', line 572 def unit_cost @unit_cost end |