Class: SBF::Client::FullDonation

Inherits:
Donation show all
Defined in:
lib/stbaldricks/entities/donation.rb

Constant Summary

Constants inherited from TopLevelEntity

TopLevelEntity::DEFAULT_CLASS_ACTIONS, TopLevelEntity::DEFAULT_CRUD_ACTIONS, TopLevelEntity::DEFAULT_ENDPOINT, TopLevelEntity::DEFAULT_INSTANCE_ACTIONS

Constants inherited from BaseEntity

BaseEntity::ELSE

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#errors

Method Summary

Methods inherited from Donation

generate_special_donation_type

Methods included from Entities::DefaultCacheable

included

Methods inherited from TopLevelEntity

_endpoint, action, actions, blacklist_action, class_action, define_endpoint, endpoint, #endpoint, instance_action

Methods included from Entities::Cacheable

#cache_id, included

Methods inherited from BaseEntity

#add_errors, allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, #attributes=, collection_attributes, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, inherited, #initialize, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #to_hash, #to_json

Constructor Details

This class inherits a constructor from SBF::Client::BaseEntity

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



256
257
258
# File 'lib/stbaldricks/entities/donation.rb', line 256

def amount
  @amount
end

#collected_atObject

Returns the value of attribute collected_at.



364
365
366
# File 'lib/stbaldricks/entities/donation.rb', line 364

def collected_at
  @collected_at
end

#created_atObject

Returns the value of attribute created_at.



365
366
367
# File 'lib/stbaldricks/entities/donation.rb', line 365

def created_at
  @created_at
end

#display_nameObject

Returns the value of attribute display_name.



257
258
259
# File 'lib/stbaldricks/entities/donation.rb', line 257

def display_name
  @display_name
end

#foreign_beneficiary_countryObject

Returns the value of attribute foreign_beneficiary_country.



345
346
347
# File 'lib/stbaldricks/entities/donation.rb', line 345

def foreign_beneficiary_country
  @foreign_beneficiary_country
end

#how_createdObject

Returns the value of attribute how_created.



365
366
367
# File 'lib/stbaldricks/entities/donation.rb', line 365

def how_created
  @how_created
end

#idObject

Returns the value of attribute id.



254
255
256
# File 'lib/stbaldricks/entities/donation.rb', line 254

def id
  @id
end

#is_thankedObject

Returns the value of attribute is_thanked.



366
367
368
# File 'lib/stbaldricks/entities/donation.rb', line 366

def is_thanked
  @is_thanked
end

#is_unrecognizedObject

Returns the value of attribute is_unrecognized.



299
300
301
# File 'lib/stbaldricks/entities/donation.rb', line 299

def is_unrecognized
  @is_unrecognized
end

#modified_atObject

Returns the value of attribute modified_at.



365
366
367
# File 'lib/stbaldricks/entities/donation.rb', line 365

def modified_at
  @modified_at
end

#modified_byObject

Returns the value of attribute modified_by.



365
366
367
# File 'lib/stbaldricks/entities/donation.rb', line 365

def modified_by
  @modified_by
end

#promotional_codeObject

Returns the value of attribute promotional_code.



346
347
348
# File 'lib/stbaldricks/entities/donation.rb', line 346

def promotional_code
  @promotional_code
end

#special_donation_typeObject

Returns the value of attribute special_donation_type.



299
300
301
# File 'lib/stbaldricks/entities/donation.rb', line 299

def special_donation_type
  @special_donation_type
end

#statusObject

Returns the value of attribute status.



255
256
257
# File 'lib/stbaldricks/entities/donation.rb', line 255

def status
  @status
end