Sha256: b1cd0abff3b6436db0f26250db42b80c4e5070d66834b2093cd4c11c6c5ef600

Contents?: true

Size: 902 Bytes

Versions: 6

Compression:

Stored size: 902 Bytes

Contents

module Unit
  class CustomerBankMigration < APIResource
    path '/migrations'

    attribute :from_bank, Types::String
    attribute :to_bank, Types::String
    attribute :idempotency_key, Types::String
    attribute :deadline, Types::Date
    attribute :balance_transfer_timing, Types::String # Optional. The timing of the balance transfer. Default is "NewAccountCreation"
    attribute :status, Types::String, readonly: true
    attribute :migration_url, Types::String, readonly: true
    attribute :created_at, Types::DateTime, readonly: true
    attribute :updated_at, Types::DateTime, readonly: true

    belongs_to :customer, class_name: 'Unit::IndividualCustomer'
    belongs_to :white_label_theme, class_name: 'Unit::WhiteLabelTheme'
    belongs_to :outreach_settings, class_name: 'Unit::OutreachSettings'

    include ResourceOperations::Create
    include ResourceOperations::Find
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
unit-ruby-0.9.0 lib/unit-ruby/customer_bank_migration.rb
unit-ruby-0.8.1 lib/unit-ruby/customer_bank_migration.rb
unit-ruby-0.8.0 lib/unit-ruby/customer_bank_migration.rb
unit-ruby-0.7.0 lib/unit-ruby/customer_bank_migration.rb
unit-ruby-0.6.0 lib/unit-ruby/customer_bank_migration.rb
unit-ruby-0.5.0 lib/unit-ruby/customer_bank_migration.rb