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_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.
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, attributes, collection_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
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.
300 301 302 |
# File 'lib/stbaldricks/entities/donation.rb', line 300 def amount @amount end |
#collected_at ⇒ Object
Returns the value of attribute collected_at.
408 409 410 |
# File 'lib/stbaldricks/entities/donation.rb', line 408 def collected_at @collected_at end |
#created_at ⇒ Object
Returns the value of attribute created_at.
409 410 411 |
# File 'lib/stbaldricks/entities/donation.rb', line 409 def created_at @created_at end |
#display_name ⇒ Object
Returns the value of attribute display_name.
302 303 304 |
# File 'lib/stbaldricks/entities/donation.rb', line 302 def display_name @display_name end |
#fee_amount ⇒ Object
Returns the value of attribute fee_amount.
301 302 303 |
# File 'lib/stbaldricks/entities/donation.rb', line 301 def fee_amount @fee_amount end |
#foreign_beneficiary_country ⇒ Object
Returns the value of attribute foreign_beneficiary_country.
390 391 392 |
# File 'lib/stbaldricks/entities/donation.rb', line 390 def foreign_beneficiary_country @foreign_beneficiary_country end |
#how_created ⇒ Object
Returns the value of attribute how_created.
409 410 411 |
# File 'lib/stbaldricks/entities/donation.rb', line 409 def how_created @how_created end |
#id ⇒ Object
Returns the value of attribute id.
298 299 300 |
# File 'lib/stbaldricks/entities/donation.rb', line 298 def id @id end |
#is_thanked ⇒ Object
Returns the value of attribute is_thanked.
410 411 412 |
# File 'lib/stbaldricks/entities/donation.rb', line 410 def is_thanked @is_thanked end |
#is_unrecognized ⇒ Object
Returns the value of attribute is_unrecognized.
344 345 346 |
# File 'lib/stbaldricks/entities/donation.rb', line 344 def is_unrecognized @is_unrecognized end |
#modified_at ⇒ Object
Returns the value of attribute modified_at.
409 410 411 |
# File 'lib/stbaldricks/entities/donation.rb', line 409 def modified_at @modified_at end |
#modified_by ⇒ Object
Returns the value of attribute modified_by.
409 410 411 |
# File 'lib/stbaldricks/entities/donation.rb', line 409 def modified_by @modified_by end |
#promotional_code ⇒ Object
Returns the value of attribute promotional_code.
391 392 393 |
# File 'lib/stbaldricks/entities/donation.rb', line 391 def promotional_code @promotional_code end |
#special_donation_type ⇒ Object
Returns the value of attribute special_donation_type.
344 345 346 |
# File 'lib/stbaldricks/entities/donation.rb', line 344 def special_donation_type @special_donation_type end |
#status ⇒ Object
Returns the value of attribute status.
299 300 301 |
# File 'lib/stbaldricks/entities/donation.rb', line 299 def status @status end |