Module: SchemaOrg::Mixins::PaymentMethod
- Includes:
- Intangible
- Included in:
- PaymentCard, PaymentService, PaymentMethod
- Defined in:
- lib/schema_org/mixins/payment_method.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#payment_method_type ⇒ Object
The type of a payment method.
-
#payment_method_type=(value) ⇒ Object
The type of a payment method.
Methods included from 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=, #subject_of, #subject_of=, #url, #url=
Class Method Details
.schema_property_definitions ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/schema_org/mixins/payment_method.rb', line 11 def self.schema_property_definitions { payment_method_type: { schema_name: "paymentMethodType", schema_url: "https://schema.org/paymentMethodType", comment_lines: ["The type of a payment method."].freeze, ranges: ["PaymentMethodType"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze }.freeze end |
Instance Method Details
#payment_method_type ⇒ Object
The type of a payment method.
27 28 29 |
# File 'lib/schema_org/mixins/payment_method.rb', line 27 def payment_method_type read_property(:payment_method_type) end |
#payment_method_type=(value) ⇒ Object
The type of a payment method.
32 33 34 |
# File 'lib/schema_org/mixins/payment_method.rb', line 32 def payment_method_type=(value) write_property(:payment_method_type, value) end |