Method: LockstepSdk::AccountingProfileRequest#as_json
- Defined in:
- lib/lockstep_sdk/models/accounting_profile_request.rb
#as_json(options = {}) ⇒ object
Returns This object as a JSON key-value structure.
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/lockstep_sdk/models/accounting_profile_request.rb', line 149 def as_json(={}) { 'accountingProfileId' => @accounting_profile_id, 'companyId' => @company_id, 'groupKey' => @group_key, 'name' => @name, 'type' => @type, 'emailAddress' => @email_address, 'phone' => @phone, 'address1' => @address1, 'address2' => @address2, 'address3' => @address3, 'city' => @city, 'region' => @region, 'postalCode' => @postal_code, 'country' => @country, 'created' => @created, 'createdUserId' => @created_user_id, 'modified' => @modified, 'modifiedUserId' => @modified_user_id, 'notes' => @notes, 'attachments' => @attachments, 'customFieldDefinitions' => @custom_field_definitions, 'customFieldValues' => @custom_field_values, 'primaryContactId' => @primary_contact_id, } end |