lib/openactive/models/schema/money_transfer.rb in openactive-0.1.2 vs lib/openactive/models/schema/money_transfer.rb in openactive-0.2.0

- old
+ new

@@ -6,13 +6,22 @@ # @return [String] def type "schema:MoneyTransfer" end - # @return [OpenActive::Models::Schema::BankOrCreditUnion,String] + # @return [String,OpenActive::Models::Schema::BankOrCreditUnion,URI] define_property :beneficiary_bank, as: "beneficiaryBank", types: [ - "OpenActive::Models::Schema::BankOrCreditUnion", "string", + "OpenActive::Models::Schema::BankOrCreditUnion", + "URI", + ] + + # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil] + define_property :amount, as: "amount", types: [ + "Number", + "OpenActive::Models::Schema::MonetaryAmount", + "URI", + "null", ] end end end end