lib/postfinancecheckout-ruby-sdk/models/customer.rb in postfinancecheckout-ruby-sdk-3.3.0 vs lib/postfinancecheckout-ruby-sdk/models/customer.rb in postfinancecheckout-ruby-sdk-4.2.0
- old
+ new
@@ -18,40 +18,40 @@
require 'date'
module PostFinanceCheckout
#
class Customer
- # The created on date indicates the date on which the entity was stored into the database.
+ # The date and time when the object was created.
attr_accessor :created_on
- #
+ # The customer's ID in the merchant's system.
attr_accessor :customer_id
- #
+ # The customer's email address.
attr_accessor :email_address
- #
+ # The customer's family or last name.
attr_accessor :family_name
- #
+ # The customer's given or first name.
attr_accessor :given_name
- # The ID is the primary key of the entity. The ID identifies the entity uniquely.
+ # A unique identifier for the object.
attr_accessor :id
- #
+ # The language that is linked to the object.
attr_accessor :language
- # The linked space id holds the ID of the space to which the entity belongs to.
+ # The ID of the space this object belongs to.
attr_accessor :linked_space_id
- # Meta data allow to store additional data along the object.
+ # Allow to store additional information about the object.
attr_accessor :meta_data
- #
+ # The customer's preferred currency.
attr_accessor :preferred_currency
- # The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
+ # 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
{