Sha256: 16aee44e38e73e1e51cc429bcd5e892940206e86b27113b74ad2a166f811c57b

Contents?: true

Size: 788 Bytes

Versions: 1

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 [OpenActive::Models::Schema::BankOrCreditUnion,String,URI]
        define_property :beneficiary_bank, as: "beneficiaryBank", types: [
          "OpenActive::Models::Schema::BankOrCreditUnion",
          "string",
          "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

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/money_transfer.rb