Sha256: efe4603e633bcca65bfe78104535b0260caafded48b46f38cb11ba8effa6b4ac

Contents?: true

Size: 788 Bytes

Versions: 2

Compression:

Stored size: 788 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class MoneyTransfer < ::OpenActive::Models::Schema::TransferAction
        # @!attribute type
        # @return [String]
        def type
          "schema:MoneyTransfer"
        end

        # @return [String,OpenActive::Models::Schema::BankOrCreditUnion,URI]
        define_property :beneficiary_bank, as: "beneficiaryBank", types: [
          "string",
          "OpenActive::Models::Schema::BankOrCreditUnion",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil]
        define_property :amount, as: "amount", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
          "Number",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/money_transfer.rb
openactive-0.4.0 lib/openactive/models/schema/money_transfer.rb