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

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

#amountObject

Returns the value of attribute amount.



304
305
306
# File 'lib/stbaldricks/entities/donation.rb', line 304

def amount
  @amount
end

#collected_atObject

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_atObject

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_nameObject

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_amountObject

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_countryObject

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_createdObject

Returns the value of attribute how_created.



428
429
430
# File 'lib/stbaldricks/entities/donation.rb', line 428

def how_created
  @how_created
end

#idObject

Returns the value of attribute id.



302
303
304
# File 'lib/stbaldricks/entities/donation.rb', line 302

def id
  @id
end

#is_send_cardObject (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_thankedObject

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_unrecognizedObject

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_atObject

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_byObject

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_codeObject

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_typeObject

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

#statusObject

Returns the value of attribute status.



303
304
305
# File 'lib/stbaldricks/entities/donation.rb', line 303

def status
  @status
end

#yearObject

Returns the value of attribute year.



307
308
309
# File 'lib/stbaldricks/entities/donation.rb', line 307

def year
  @year
end