=begin The WhiteLabelName API allows an easy interaction with the WhiteLabelName 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 WhiteLabelMachineName # class TokenVersion # attr_accessor :activated_on # attr_accessor :billing_address # The created on date indicates the date on which the entity was stored into the database. attr_accessor :created_on # attr_accessor :environment # The expires on date indicates when token version expires. Once this date is reached the token version is marked as obsolete. attr_accessor :expires_on # attr_accessor :icon_url # The ID is the primary key of the entity. The ID identifies the entity uniquely. attr_accessor :id # attr_accessor :labels # attr_accessor :language # The linked space id holds the ID of the space to which the entity belongs to. attr_accessor :linked_space_id # attr_accessor :name # attr_accessor :obsoleted_on # attr_accessor :payment_connector_configuration # The payment information hash set contains hashes of the payment information represented by this token version. attr_accessor :payment_information_hashes # attr_accessor :payment_method # attr_accessor :payment_method_brand # The planned purge date indicates when the entity is permanently removed. When the date is null the entity is not planned to be removed. attr_accessor :planned_purge_date # attr_accessor :processor_token # attr_accessor :shipping_address # attr_accessor :state # attr_accessor :token # The token version type determines what kind of token it is and by which payment connector the token can be processed by. attr_accessor :type # The version number indicates the version of the entity. The version is incremented whenever the entity is changed. attr_accessor :version # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'activated_on' => :'activatedOn', :'billing_address' => :'billingAddress', :'created_on' => :'createdOn', :'environment' => :'environment', :'expires_on' => :'expiresOn', :'icon_url' => :'iconUrl', :'id' => :'id', :'labels' => :'labels', :'language' => :'language', :'linked_space_id' => :'linkedSpaceId', :'name' => :'name', :'obsoleted_on' => :'obsoletedOn', :'payment_connector_configuration' => :'paymentConnectorConfiguration', :'payment_information_hashes' => :'paymentInformationHashes', :'payment_method' => :'paymentMethod', :'payment_method_brand' => :'paymentMethodBrand', :'planned_purge_date' => :'plannedPurgeDate', :'processor_token' => :'processorToken', :'shipping_address' => :'shippingAddress', :'state' => :'state', :'token' => :'token', :'type' => :'type', :'version' => :'version' } end # Attribute type mapping. def self.swagger_types { :'activated_on' => :'DateTime', :'billing_address' => :'Address', :'created_on' => :'DateTime', :'environment' => :'ChargeAttemptEnvironment', :'expires_on' => :'DateTime', :'icon_url' => :'String', :'id' => :'Integer', :'labels' => :'Array