=begin The PostFinance Checkout API allows an easy interaction with the PostFinance Checkout web service. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =end require 'date' module PostFinanceCheckout # class TransactionLineItemVersion # A unique identifier for the object. attr_accessor :id # The ID of the space this object belongs to. attr_accessor :linked_space_id # attr_accessor :linked_transaction # attr_accessor :amount # attr_accessor :created_by # The date and time when the object was created. attr_accessor :created_on # A client generated nonce which identifies the entity to be created. Subsequent creation requests with the same external ID will not create new entities but return the initially created entity instead. attr_accessor :external_id # attr_accessor :failed_on # attr_accessor :failure_reason # attr_accessor :labels # The language that is linked to the object. attr_accessor :language # attr_accessor :line_items # attr_accessor :next_update_on # The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. attr_accessor :planned_purge_date # attr_accessor :processing_on # attr_accessor :space_view_id # The object's current state. attr_accessor :state # attr_accessor :succeeded_on # attr_accessor :tax_amount # attr_accessor :timeout_on # attr_accessor :transaction # The version is used for optimistic locking and incremented whenever the object is updated. attr_accessor :version # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', :'linked_space_id' => :'linkedSpaceId', :'linked_transaction' => :'linkedTransaction', :'amount' => :'amount', :'created_by' => :'createdBy', :'created_on' => :'createdOn', :'external_id' => :'externalId', :'failed_on' => :'failedOn', :'failure_reason' => :'failureReason', :'labels' => :'labels', :'language' => :'language', :'line_items' => :'lineItems', :'next_update_on' => :'nextUpdateOn', :'planned_purge_date' => :'plannedPurgeDate', :'processing_on' => :'processingOn', :'space_view_id' => :'spaceViewId', :'state' => :'state', :'succeeded_on' => :'succeededOn', :'tax_amount' => :'taxAmount', :'timeout_on' => :'timeoutOn', :'transaction' => :'transaction', :'version' => :'version' } end # Attribute type mapping. def self.swagger_types { :'id' => :'Integer', :'linked_space_id' => :'Integer', :'linked_transaction' => :'Integer', :'amount' => :'Float', :'created_by' => :'Integer', :'created_on' => :'DateTime', :'external_id' => :'String', :'failed_on' => :'DateTime', :'failure_reason' => :'FailureReason', :'labels' => :'Array