Method: LockstepSdk::AccountingProfileRequest#initialize
- Defined in:
- lib/lockstep_sdk/models/accounting_profile_request.rb
#initialize(params = {}) ⇒ AccountingProfileRequest
Initialize the AccountingProfileRequest using the provided prototype
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/lockstep_sdk/models/accounting_profile_request.rb', line 29 def initialize(params = {}) @accounting_profile_id = params.dig(:accounting_profile_id) @company_id = params.dig(:company_id) @group_key = params.dig(:group_key) @name = params.dig(:name) @type = params.dig(:type) @email_address = params.dig(:email_address) @phone = params.dig(:phone) @address1 = params.dig(:address1) @address2 = params.dig(:address2) @address3 = params.dig(:address3) @city = params.dig(:city) @region = params.dig(:region) @postal_code = params.dig(:postal_code) @country = params.dig(:country) @created = params.dig(:created) @created_user_id = params.dig(:created_user_id) @modified = params.dig(:modified) @modified_user_id = params.dig(:modified_user_id) @notes = params.dig(:notes) @attachments = params.dig(:attachments) @custom_field_definitions = params.dig(:custom_field_definitions) @custom_field_values = params.dig(:custom_field_values) @primary_contact_id = params.dig(:primary_contact_id) end |