lib/openactive/models/schema/invoice.rb in openactive-0.1.2 vs lib/openactive/models/schema/invoice.rb in openactive-0.2.0
- old
+ new
@@ -6,101 +6,111 @@
# @return [String]
def type
"schema:Invoice"
end
- # @return [OpenActive::Enums::Schema::PaymentStatusType,String,nil]
- define_property :payment_status, as: "paymentStatus", types: [
- "OpenActive::Enums::Schema::PaymentStatusType",
- "string",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :customer, as: "customer", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :billing_period, as: "billingPeriod", types: [
+ "DateInterval",
+ "URI",
"null",
]
- # @return [Date,DateTime,nil]
- define_property :payment_due_date, as: "paymentDueDate", types: [
- "Date",
+ # @return [OpenActive::Models::Schema::PriceSpecification,OpenActive::Models::Schema::MonetaryAmount,URI]
+ define_property :total_payment_due, as: "totalPaymentDue", types: [
+ "OpenActive::Models::Schema::PriceSpecification",
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
+ ]
+
+ # @return [DateTime,nil]
+ define_property :payment_due, as: "paymentDue", types: [
"DateTime",
"null",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person]
- define_property :broker, as: "broker", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [OpenActive::Models::Schema::PriceSpecification,OpenActive::Models::Schema::MonetaryAmount,URI]
+ define_property :minimum_payment_due, as: "minimumPaymentDue", types: [
+ "OpenActive::Models::Schema::PriceSpecification",
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person]
- define_property :provider, as: "provider", types: [
- "OpenActive::Models::Schema::Organization",
- "OpenActive::Models::Schema::Person",
+ # @return [String]
+ define_property :confirmation_number, as: "confirmationNumber", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::Order]
- define_property :references_order, as: "referencesOrder", types: [
- "OpenActive::Models::Schema::Order",
+ # @return [String,OpenActive::Models::Schema::PaymentStatusType,URI]
+ define_property :payment_status, as: "paymentStatus", types: [
+ "string",
+ "OpenActive::Models::Schema::PaymentStatusType",
+ "URI",
]
- # @return [ActiveSupport::Duration,nil]
- define_property :billing_period, as: "billingPeriod", types: [
- "DateInterval",
- "null",
+ # @return [String]
+ define_property :payment_method_id, as: "paymentMethodId", types: [
+ "string",
]
# @return [String]
define_property :account_id, as: "accountId", types: [
"string",
]
- # @return [OpenActive::Models::Schema::MonetaryAmount,OpenActive::Models::Schema::PriceSpecification]
- define_property :total_payment_due, as: "totalPaymentDue", types: [
- "OpenActive::Models::Schema::MonetaryAmount",
- "OpenActive::Models::Schema::PriceSpecification",
+ # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
+ define_property :broker, as: "broker", types: [
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::Organization",
+ "URI",
]
- # @return [OpenActive::Models::Schema::MonetaryAmount,OpenActive::Models::Schema::PriceSpecification]
- define_property :minimum_payment_due, as: "minimumPaymentDue", types: [
- "OpenActive::Models::Schema::MonetaryAmount",
- "OpenActive::Models::Schema::PriceSpecification",
+ # @return [OpenActive::Models::Schema::Order,URI]
+ define_property :references_order, as: "referencesOrder", types: [
+ "OpenActive::Models::Schema::Order",
+ "URI",
]
- # @return [String]
- define_property :payment_method_id, as: "paymentMethodId", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI]
+ define_property :provider, as: "provider", types: [
+ "OpenActive::Models::Schema::Organization",
+ "OpenActive::Models::Schema::Person",
+ "URI",
]
- # @return [OpenActive::Enums::Schema::PaymentMethod,nil]
- define_property :payment_method, as: "paymentMethod", types: [
- "OpenActive::Enums::Schema::PaymentMethod",
- "null",
- ]
-
# @return [Date,nil]
define_property :scheduled_payment_date, as: "scheduledPaymentDate", types: [
"Date",
"null",
]
- # @return [String]
- define_property :confirmation_number, as: "confirmationNumber", types: [
- "string",
- ]
-
- # @return [DateTime,nil]
- define_property :payment_due, as: "paymentDue", types: [
+ # @return [DateTime,Date,nil]
+ define_property :payment_due_date, as: "paymentDueDate", types: [
"DateTime",
+ "Date",
"null",
]
- # @return [String,OpenActive::Models::Schema::Thing]
+ # @return [OpenActive::Enums::Schema::PhysicalActivityCategory,String,URI,OpenActive::Models::Schema::Thing,nil]
define_property :category, as: "category", types: [
+ "OpenActive::Enums::Schema::PhysicalActivityCategory",
"string",
+ "URI",
"OpenActive::Models::Schema::Thing",
+ "null",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization]
- define_property :customer, as: "customer", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
+ # @return [OpenActive::Enums::Schema::PaymentMethod,nil]
+ define_property :payment_method, as: "paymentMethod", types: [
+ "OpenActive::Enums::Schema::PaymentMethod",
+ "null",
]
end
end
end
end