Sha256: b68fa1e469dd0cdd9308d1d943c883706de67b8897bb25d1379a4fb093513332

Contents?: true

Size: 788 Bytes

Versions: 3

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 [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
        define_property :amount, as: "amount", types: [
          "Number",
          "OpenActive::Models::Schema::MonetaryAmount",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/money_transfer.rb
openactive-0.2.1 lib/openactive/models/schema/money_transfer.rb
openactive-0.2.0 lib/openactive/models/schema/money_transfer.rb