Sha256: 7ddf807e53c485143254bf33234a8d765bee61fa2d0d656502f5280d3f8b47ef
Contents?: true
Size: 1.74 KB
Versions: 3
Compression:
Stored size: 1.74 KB
Contents
module OpenActive module Models # # EARLY RELEASE NOTICE: This class represents a draft that is designed to inform the OpenActive specification work with implementation feedback. IT IS STILL SUBJECT TO CHANGE, as the [Customer Accounts proposal](https://github.com/openactive/customer-accounts) evolves. # # This type is derived from https://schema.org/Thing, which means that any of this type's properties within schema.org may also be used. class CustomerAccount < ::OpenActive::Models::Schema::Thing # @!attribute type # @return [String] def type "CustomerAccount" end # @return [String] define_property :identifier, as: "identifier", types: [ "string", ] # @return [Array<OpenActive::Models::Barcode>] define_property :access_pass, as: "accessPass", types: [ "OpenActive::Models::Barcode[]", ] # @return [String] define_property :account_number, as: "accountNumber", types: [ "string", ] # @return [OpenActive::Models::Organization,OpenActive::Models::Person] define_property :customer, as: "customer", types: [ "OpenActive::Models::Organization", "OpenActive::Models::Person", ] # @return [Array<OpenActive::Models::Entitlement>] define_property :entitlement, as: "entitlement", types: [ "OpenActive::Models::Entitlement[]", ] # @return [Boolean,nil] define_property :has_hidden_entitlements, as: "hasHiddenEntitlements", types: [ "bool", "null", ] # @return [Array<OpenActive::Models::Action>] define_property :outstanding_action, as: "outstandingAction", types: [ "OpenActive::Models::Action[]", ] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/models/customer_account.rb |
openactive-0.4.0 | lib/openactive/models/customer_account.rb |
openactive-0.3.0 | lib/openactive/models/customer_account.rb |