Class: SBF::Client::FullDonation
- Inherits:
-
Donation
- Object
- BaseEntity
- TopLevelEntity
- Donation
- SBF::Client::FullDonation
- 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
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#collected_at ⇒ Object
Returns the value of attribute collected_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#fee_amount ⇒ Object
Returns the value of attribute fee_amount.
-
#foreign_beneficiary_country ⇒ Object
Returns the value of attribute foreign_beneficiary_country.
-
#how_created ⇒ Object
Returns the value of attribute how_created.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_send_card ⇒ Object
readonly
Returns the value of attribute is_send_card.
-
#is_thanked ⇒ Object
Returns the value of attribute is_thanked.
-
#is_unrecognized ⇒ Object
Returns the value of attribute is_unrecognized.
-
#modified_at ⇒ Object
Returns the value of attribute modified_at.
-
#modified_by ⇒ Object
Returns the value of attribute modified_by.
-
#promotional_code ⇒ Object
Returns the value of attribute promotional_code.
-
#special_donation_type ⇒ Object
Returns the value of attribute special_donation_type.
-
#status ⇒ Object
Returns the value of attribute status.
-
#year ⇒ Object
Returns the value of attribute year.
Attributes inherited from BaseEntity
Method Summary
Methods inherited from Donation
generate_special_donation_type
Methods included from Entities::DefaultCacheable
Methods inherited from TopLevelEntity
_endpoint, action, actions, blacklist_action, class_action, define_endpoint, endpoint, #endpoint, instance_action
Methods included from Entities::Cacheable
Methods inherited from BaseEntity
allow_instantiation?, attr_accessor, attr_reader, attr_writer, collection_attributes, defined_attributes, #destroyed?, #dirty_data, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, #error, inherited, #initialize, #keys_hash, #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?, #reload!, #reload_recursive, #rollback!, #to_hash, #to_json, #to_partial
Methods included from EntityResponseConcern
#add_errors, #data, #error?, #errors?, #errors_http_code=, #http_code, #success?
Constructor Details
This class inherits a constructor from SBF::Client::BaseEntity
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
304 305 306 |
# File 'lib/stbaldricks/entities/donation.rb', line 304 def amount @amount end |
#collected_at ⇒ Object
Returns the value of attribute collected_at.
427 428 429 |
# File 'lib/stbaldricks/entities/donation.rb', line 427 def collected_at @collected_at end |
#created_at ⇒ Object
Returns the value of attribute created_at.
428 429 430 |
# File 'lib/stbaldricks/entities/donation.rb', line 428 def created_at @created_at end |
#display_name ⇒ Object
Returns the value of attribute display_name.
306 307 308 |
# File 'lib/stbaldricks/entities/donation.rb', line 306 def display_name @display_name end |
#fee_amount ⇒ Object
Returns the value of attribute fee_amount.
305 306 307 |
# File 'lib/stbaldricks/entities/donation.rb', line 305 def fee_amount @fee_amount end |
#foreign_beneficiary_country ⇒ Object
Returns the value of attribute foreign_beneficiary_country.
398 399 400 |
# File 'lib/stbaldricks/entities/donation.rb', line 398 def foreign_beneficiary_country @foreign_beneficiary_country end |
#how_created ⇒ Object
Returns the value of attribute how_created.
428 429 430 |
# File 'lib/stbaldricks/entities/donation.rb', line 428 def how_created @how_created end |
#id ⇒ Object
Returns the value of attribute id.
302 303 304 |
# File 'lib/stbaldricks/entities/donation.rb', line 302 def id @id end |
#is_send_card ⇒ Object (readonly)
Returns the value of attribute is_send_card.
308 309 310 |
# File 'lib/stbaldricks/entities/donation.rb', line 308 def is_send_card @is_send_card end |
#is_thanked ⇒ Object
Returns the value of attribute is_thanked.
429 430 431 |
# File 'lib/stbaldricks/entities/donation.rb', line 429 def is_thanked @is_thanked end |
#is_unrecognized ⇒ Object
Returns the value of attribute is_unrecognized.
351 352 353 |
# File 'lib/stbaldricks/entities/donation.rb', line 351 def is_unrecognized @is_unrecognized end |
#modified_at ⇒ Object
Returns the value of attribute modified_at.
428 429 430 |
# File 'lib/stbaldricks/entities/donation.rb', line 428 def modified_at @modified_at end |
#modified_by ⇒ Object
Returns the value of attribute modified_by.
428 429 430 |
# File 'lib/stbaldricks/entities/donation.rb', line 428 def modified_by @modified_by end |
#promotional_code ⇒ Object
Returns the value of attribute promotional_code.
399 400 401 |
# File 'lib/stbaldricks/entities/donation.rb', line 399 def promotional_code @promotional_code end |
#special_donation_type ⇒ Object
Returns the value of attribute special_donation_type.
351 352 353 |
# File 'lib/stbaldricks/entities/donation.rb', line 351 def special_donation_type @special_donation_type end |
#status ⇒ Object
Returns the value of attribute status.
303 304 305 |
# File 'lib/stbaldricks/entities/donation.rb', line 303 def status @status end |
#year ⇒ Object
Returns the value of attribute year.
307 308 309 |
# File 'lib/stbaldricks/entities/donation.rb', line 307 def year @year end |