Class: Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Receipt
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TestHelpers::Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetails::Receipt
- Defined in:
- lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.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.
251 252 253 254 255 256 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 251 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
243 244 245 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 243 def description @description end |
#quantity ⇒ Object
Attribute for param field quantity
245 246 247 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 245 def quantity @quantity end |
#total ⇒ Object
Attribute for param field total
247 248 249 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 247 def total @total end |
#unit_cost ⇒ Object
Attribute for param field unit_cost
249 250 251 |
# File 'lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb', line 249 def unit_cost @unit_cost end |