Class: K2ConnectRuby::K2Entity::K2FinancialEntities::Destination::DestinationRequest

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kwargs) ⇒ DestinationRequest

Returns a new instance of DestinationRequest.



16
17
18
19
20
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 16

def initialize(kwargs)
  kwargs.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



10
11
12
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 10

def amount
  @amount
end

#descriptionObject

Returns the value of attribute description.



10
11
12
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 10

def description
  @description
end

#favouriteObject

Returns the value of attribute favourite.



10
11
12
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 10

def favourite
  @favourite
end

#nicknameObject

Returns the value of attribute nickname.



10
11
12
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 10

def nickname
  @nickname
end

#typeObject

Returns the value of attribute type.



10
11
12
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 10

def type
  @type
end

Instance Method Details

#destination_payloadObject



22
# File 'lib/k2-connect-ruby/k2_entity/k2_financial_entities/destination/destination_request.rb', line 22

def destination_payload; end