Class: OpenApiSDK::Operations::TrackSaleResponseBody

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/open_api_sdk/models/operations/tracksale_responsebody.rb

Overview

A sale was tracked.

Instance Method Summary collapse

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