Class: OpenActive::Models::Schema::Invoice

Inherits:
Intangible show all
Defined in:
lib/openactive/models/schema/invoice.rb

Instance Attribute Summary collapse

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#account_idString

Returns:

  • (String)


49
50
51
# File 'lib/openactive/models/schema/invoice.rb', line 49

def 
  @account_id
end

#billing_periodActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


43
44
45
# File 'lib/openactive/models/schema/invoice.rb', line 43

def billing_period
  @billing_period
end

#brokerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



26
27
28
# File 'lib/openactive/models/schema/invoice.rb', line 26

def broker
  @broker
end

#categoryString, OpenActive::Models::Schema::Thing



94
95
96
# File 'lib/openactive/models/schema/invoice.rb', line 94

def category
  @category
end

#confirmation_numberString

Returns:

  • (String)


83
84
85
# File 'lib/openactive/models/schema/invoice.rb', line 83

def confirmation_number
  @confirmation_number
end

#customerOpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization



100
101
102
# File 'lib/openactive/models/schema/invoice.rb', line 100

def customer
  @customer
end

#minimum_payment_dueOpenActive::Models::Schema::MonetaryAmount, OpenActive::Models::Schema::PriceSpecification



60
61
62
# File 'lib/openactive/models/schema/invoice.rb', line 60

def minimum_payment_due
  @minimum_payment_due
end

#payment_dueDateTime?

Returns:

  • (DateTime, nil)


88
89
90
# File 'lib/openactive/models/schema/invoice.rb', line 88

def payment_due
  @payment_due
end

#payment_due_dateDate, ...

Returns:

  • (Date, DateTime, nil)


19
20
21
# File 'lib/openactive/models/schema/invoice.rb', line 19

def payment_due_date
  @payment_due_date
end

#payment_methodOpenActive::Enums::Schema::PaymentMethod?



71
72
73
# File 'lib/openactive/models/schema/invoice.rb', line 71

def payment_method
  @payment_method
end

#payment_method_idString

Returns:

  • (String)


66
67
68
# File 'lib/openactive/models/schema/invoice.rb', line 66

def payment_method_id
  @payment_method_id
end

#payment_statusOpenActive::Enums::Schema::PaymentStatusType, ...



12
13
14
# File 'lib/openactive/models/schema/invoice.rb', line 12

def payment_status
  @payment_status
end

#providerOpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person



32
33
34
# File 'lib/openactive/models/schema/invoice.rb', line 32

def provider
  @provider
end

#references_orderOpenActive::Models::Schema::Order



38
39
40
# File 'lib/openactive/models/schema/invoice.rb', line 38

def references_order
  @references_order
end

#scheduled_payment_dateDate?

Returns:

  • (Date, nil)


77
78
79
# File 'lib/openactive/models/schema/invoice.rb', line 77

def scheduled_payment_date
  @scheduled_payment_date
end

#total_payment_dueOpenActive::Models::Schema::MonetaryAmount, OpenActive::Models::Schema::PriceSpecification



54
55
56
# File 'lib/openactive/models/schema/invoice.rb', line 54

def total_payment_due
  @total_payment_due
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/invoice.rb', line 7

def type
  "schema:Invoice"
end