Class: SchemaOrg::Invoice

Inherits:
Base
  • Object
show all
Includes:
Mixins::Invoice, _Invoice
Defined in:
lib/schema_org/types/invoice.rb,
sig/schema_org.rbs

Overview

https://schema.org/Invoice

A statement of the money due for goods or services; a bill.

Constant Summary collapse

SCHEMA_NAME =
"Invoice"
SCHEMA_TYPES =
[self, SchemaOrg::Intangible, SchemaOrg::Thing].freeze

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Mixins::Invoice

#account_id, #account_id=, #billing_period, #billing_period=, #broker, #broker=, #category, #category=, #confirmation_number, #confirmation_number=, #customer, #customer=, #minimum_payment_due, #minimum_payment_due=, #payment_due, #payment_due=, #payment_due_date, #payment_due_date=, #payment_method, #payment_method=, #payment_method_id, #payment_method_id=, #payment_status, #payment_status=, #provider, #provider=, #references_order, #references_order=, #scheduled_payment_date, #scheduled_payment_date=, schema_property_definitions, #total_payment_due, #total_payment_due=

Methods included from Mixins::Intangible

schema_property_definitions

Methods included from Mixins::Thing

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

Methods included from _Invoice

#account_id, #account_id=, #additional_type, #additional_type=, #alternate_name, #alternate_name=, #billing_period, #billing_period=, #broker, #broker=, #category, #category=, #confirmation_number, #confirmation_number=, #customer, #customer=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #minimum_payment_due, #minimum_payment_due=, #name, #name=, #owner, #owner=, #payment_due, #payment_due=, #payment_due_date, #payment_due_date=, #payment_method, #payment_method=, #payment_method_id, #payment_method_id=, #payment_status, #payment_status=, #potential_action, #potential_action=, #provider, #provider=, #references_order, #references_order=, #same_as, #same_as=, #scheduled_payment_date, #scheduled_payment_date=, #subject_of, #subject_of=, #total_payment_due, #total_payment_due=, #url, #url=

Class Method Details

.new(**properties) ⇒ Invoice

Parameters:

Returns:



30
31
32
# File 'lib/schema_org/types/invoice.rb', line 30

def new(**properties)
  super
end

.schema_nameString

Returns:

  • (String)


17
18
19
# File 'lib/schema_org/types/invoice.rb', line 17

def schema_name
  SCHEMA_NAME
end

.schema_type?(other_type) ⇒ Boolean

Parameters:

  • (Object)

Returns:



25
26
27
28
# File 'lib/schema_org/types/invoice.rb', line 25

def schema_type?(other_type)
  Base.schema_type_argument!(other_type)
  SCHEMA_TYPES.include?(other_type)
end

.schema_types::Array[::Class]

Returns:

  • (::Array[::Class])


21
22
23
# File 'lib/schema_org/types/invoice.rb', line 21

def schema_types
  SCHEMA_TYPES
end

Instance Method Details

#schema_type?Boolean

Parameters:

  • (Object)

Returns:



63245
# File 'sig/schema_org.rbs', line 63245

def schema_type?: (untyped) -> bool

#schema_types::Array[::Class]

Returns:

  • (::Array[::Class])


63244
# File 'sig/schema_org.rbs', line 63244

def schema_types: () -> ::Array[::Class]