Method: LockstepSdk::FinancialYearSettingModel#as_json

Defined in:
lib/lockstep_sdk/models/financial_year_setting_model.rb

#as_json(options = {}) ⇒ object

Returns This object as a JSON key-value structure.

Returns:

  • (object)

    This object as a JSON key-value structure



87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/lockstep_sdk/models/financial_year_setting_model.rb', line 87

def as_json(options={})
    {
        'financialYearSettingId' => @financial_year_setting_id,
        'groupKey' => @group_key,
        'appEnrollmentId' => @app_enrollment_id,
        'yearType' => @year_type,
        'totalPeriods' => @total_periods,
        'startDate' => @start_date,
        'endDate' => @end_date,
        'created' => @created,
        'createdUserId' => @created_user_id,
        'modified' => @modified,
        'modifiedUserId' => @modified_user_id,
    }
end