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