Class: OpenApiSDK::Operations::TrackSaleResponseBody
- Inherits:
-
Utils::FieldAugmented
- Object
- Utils::FieldAugmented
- OpenApiSDK::Operations::TrackSaleResponseBody
- Extended by:
- T::Sig
- Defined in:
- lib/open_api_sdk/models/operations/tracksale_responsebody.rb
Overview
A sale was tracked.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil, customer_id: nil, event_name: nil, invoice_id: nil, metadata: nil, payment_processor: nil) ⇒ TrackSaleResponseBody
constructor
A new instance of TrackSaleResponseBody.
Methods included from MetadataFields
#field, #fields, included, #marshal_json, #marshal_single
Constructor Details
#initialize(amount: nil, currency: nil, customer_id: nil, event_name: nil, invoice_id: nil, metadata: nil, payment_processor: nil) ⇒ TrackSaleResponseBody
Returns a new instance of TrackSaleResponseBody.
31 32 33 34 35 36 37 38 39 |
# File 'lib/open_api_sdk/models/operations/tracksale_responsebody.rb', line 31 def initialize(amount: nil, currency: nil, customer_id: nil, event_name: nil, invoice_id: nil, metadata: nil, payment_processor: nil) @amount = amount @currency = currency @customer_id = customer_id @event_name = event_name @invoice_id = invoice_id @metadata = @payment_processor = payment_processor end |