buildium-ruby 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -3
- data/.github/workflows/publish.yml +2 -2
- data/.openapi-generator/FILES +200 -405
- data/.openapi-generator/templates/ruby-client/Gemfile.mustache +3 -0
- data/.openapi-generator/templates/ruby-client/gemspec.mustache +1 -3
- data/.openapi-generator/templates/ruby-client/rubocop.mustache +1 -1
- data/.rubocop.yml +1 -1
- data/.tool-versions +1 -0
- data/CUSTOMIZATIONS.md +4 -0
- data/DOCS.md +404 -112
- data/Gemfile +1 -7
- data/Gemfile.lock +9 -54
- data/README.md +2 -2
- data/bin/CUSTOMIZATIONS.md +4 -0
- data/bin/README.md +2 -2
- data/bin/config.yml +5 -2
- data/bin/rebuild.sh +15 -9
- data/bin/swagger.json +17251 -8723
- data/buildium-ruby.gemspec +2 -4
- data/docs/AccountingEntityMessage.md +3 -1
- data/docs/AccountingEntitySaveMessage.md +3 -1
- data/docs/{AssociationAppliancesApi.md → AppliancesApi.md} +41 -41
- data/docs/ApplicantMessage.md +2 -0
- data/docs/AppliedVendorCreditMessage.md +20 -0
- data/docs/AssociationMessage.md +3 -1
- data/docs/AssociationMeterReadingsApi.md +344 -0
- data/docs/AssociationOwnershipAccountSearchMessage.md +2 -0
- data/docs/AssociationPostMessage.md +3 -1
- data/docs/AssociationSearchMessage.md +5 -1
- data/docs/AssociationTaxInformationMessage.md +26 -0
- data/docs/AssociationsApi.md +204 -217
- data/docs/BankAccountCheckAccountingEntitySaveMessage.md +3 -1
- data/docs/BankAccountCheckFileMessage.md +28 -0
- data/docs/BankAccountDepositPostMessage.md +1 -1
- data/docs/BankAccountMessage.md +3 -1
- data/docs/BankAccountSearchMessage.md +3 -1
- data/docs/BankAccountTransferAccountingEntitySaveMessage.md +3 -1
- data/docs/BankAccountsApi.md +412 -0
- data/docs/BankLockboxDataAssociationMessage.md +22 -0
- data/docs/BankLockboxDataAssociationOwnerMessage.md +30 -0
- data/docs/BankLockboxDataMessage.md +20 -0
- data/docs/BankLockboxDataOwnershipAccountMessage.md +26 -0
- data/docs/BankLockboxDataSearchMessage.md +18 -0
- data/docs/BillPaymentAccountingEntityMessage.md +3 -1
- data/docs/BillPaymentMessage.md +4 -0
- data/docs/BillsApi.md +1059 -0
- data/docs/BoardMembersApi.md +417 -0
- data/docs/BudgetsApi.md +329 -0
- data/docs/CCPaymentsMessage.md +18 -0
- data/docs/CCPaymentsPutMessage.md +18 -0
- data/docs/CancellationToken.md +22 -0
- data/docs/CommunicationsApi.md +39 -39
- data/docs/ContactRequestsApi.md +347 -0
- data/docs/EFTPaymentsMessage.md +18 -0
- data/docs/EFTPaymentsPutMessage.md +18 -0
- data/docs/EPaySettingsMessage.md +22 -0
- data/docs/EPaySettingsPutMessage.md +22 -0
- data/docs/FileSharingAccountMessage.md +26 -0
- data/docs/FileSharingAccountPutMessage.md +26 -0
- data/docs/FileSharingAssociationMessage.md +20 -0
- data/docs/FileSharingAssociationOwnerMessage.md +18 -0
- data/docs/FileSharingAssociationOwnerPutMessage.md +18 -0
- data/docs/FileSharingAssociationPutMessage.md +20 -0
- data/docs/FileSharingAssociationUnitMessage.md +20 -0
- data/docs/FileSharingAssociationUnitPutMessage.md +20 -0
- data/docs/FileSharingCommitteeMessage.md +22 -0
- data/docs/FileSharingCommitteePutMessage.md +22 -0
- data/docs/FileSharingLeaseMessage.md +20 -0
- data/docs/FileSharingLeasePutMessage.md +20 -0
- data/docs/FileSharingMessage.md +40 -0
- data/docs/FileSharingOwnershipAccountMessage.md +20 -0
- data/docs/FileSharingOwnershipAccountPutMessage.md +20 -0
- data/docs/FileSharingPutMessage.md +40 -0
- data/docs/FileSharingRentalMessage.md +20 -0
- data/docs/FileSharingRentalOwnerMessage.md +18 -0
- data/docs/FileSharingRentalOwnerPutMessage.md +18 -0
- data/docs/FileSharingRentalPutMessage.md +20 -0
- data/docs/FileSharingRentalUnitMesage.md +20 -0
- data/docs/FileSharingRentalUnitPutMesage.md +20 -0
- data/docs/FileSharingTenantMessage.md +20 -0
- data/docs/FileSharingTenantPutMessage.md +20 -0
- data/docs/FileSharingVendorMessage.md +18 -0
- data/docs/FileSharingVendorPutMessage.md +18 -0
- data/docs/FilesApi.md +159 -3
- data/docs/GeneralJournalEntryLineSaveMessage.md +1 -1
- data/docs/GeneralLedgerApi.md +839 -0
- data/docs/GeneralLedgerEntryMessage.md +30 -0
- data/docs/GeneralLedgerMessage.md +26 -0
- data/docs/GeneralLedgerSearchMessage.md +28 -0
- data/docs/ImageReorderRequestPutMessage.md +18 -0
- data/docs/InsuredTenantMessage.md +24 -0
- data/docs/JournalLineMessage.md +3 -1
- data/docs/JsonPatchOperation.md +24 -0
- data/docs/LeaseAutoAllocatedPaymentPostMessage.md +30 -0
- data/docs/LeaseLedgerPaymentPutMessage.md +28 -0
- data/docs/LeasePostMessage.md +5 -1
- data/docs/LeaseRenewalSearchMessage.md +22 -0
- data/docs/LeaseRentMessage.md +1 -1
- data/docs/LeaseTenantMessage.md +3 -1
- data/docs/LeaseTransactionMessage.md +3 -1
- data/docs/LeaseTransactionsApi.md +1627 -0
- data/docs/LeasesApi.md +302 -1353
- data/docs/ListingEntityFilePostMessage.md +22 -0
- data/docs/ListingsApi.md +5 -5
- data/docs/MeterReadingDetailMessage.md +28 -0
- data/docs/MeterReadingDetailPutMessage.md +24 -0
- data/docs/MeterReadingDetailsDeleteSearchMessage.md +20 -0
- data/docs/MeterReadingDetailsMessage.md +22 -0
- data/docs/MeterReadingDetailsPutMessage.md +22 -0
- data/docs/MeterReadingDetailsPutSearchMessage.md +20 -0
- data/docs/MeterReadingDetailsSearchMessage.md +20 -0
- data/docs/MeterReadingMessage.md +26 -0
- data/docs/MeterReadingSearchMessage.md +22 -0
- data/docs/MultipleBillPaymentsPostMessage.md +26 -0
- data/docs/OfflinePaymentsMessage.md +22 -0
- data/docs/OfflinePaymentsPutMessage.md +22 -0
- data/docs/OwnershipAccountAutoAllocatedPaymentPostMessage.md +30 -0
- data/docs/OwnershipAccountLedgerPaymentPutMessage.md +28 -0
- data/docs/OwnershipAccountTransactionMessage.md +2 -0
- data/docs/{AssociationOwnershipAccountsApi.md → OwnershipAccountTransactionsApi.md} +146 -644
- data/docs/OwnershipAccountsApi.md +667 -0
- data/docs/PropertyGroupsApi.md +1 -1
- data/docs/RentalImageMessage.md +26 -0
- data/docs/RentalImagePutMessage.md +20 -0
- data/docs/RentalMeterReadingsApi.md +344 -0
- data/docs/RentalOwnerContributionDataMessage.md +20 -0
- data/docs/RentalOwnerContributionDataPutMessage.md +20 -0
- data/docs/RentalOwnerContributionMessage.md +20 -0
- data/docs/RentalOwnerContributionPutMessage.md +20 -0
- data/docs/RentalOwnerContributionReminderMessage.md +20 -0
- data/docs/RentalOwnerContributionReminderPutMessage.md +20 -0
- data/docs/RentalOwnerRequestsApi.md +503 -0
- data/docs/RentalPropertiesApi.md +1123 -176
- data/docs/RentalPropertyPostMessage.md +1 -1
- data/docs/RentalUnitImageMessage.md +26 -0
- data/docs/RentalUnitImagePutMessage.md +20 -0
- data/docs/RentalUnitMessage.md +2 -2
- data/docs/RentalUnitsApi.md +639 -0
- data/docs/RentersInsurancePolicyMessage.md +32 -0
- data/docs/ResidentCenterApi.md +255 -0
- data/docs/ResidentRequestTaskPostMessage.md +5 -1
- data/docs/ResidentRequestsApi.md +349 -0
- data/docs/RetailCashPropertyMessage.md +24 -0
- data/docs/RetailCashUnitMessage.md +22 -0
- data/docs/RetailCashUserDataMessage.md +30 -0
- data/docs/RetailCashUserMessage.md +30 -0
- data/docs/RetailCashUserPutMessage.md +18 -0
- data/docs/RetailCashUsersSearchMessage.md +28 -0
- data/docs/SafeWaitHandle.md +20 -0
- data/docs/TasksApi.md +230 -1592
- data/docs/ToDoRequestsApi.md +347 -0
- data/docs/UnitEntityMessage.md +20 -0
- data/docs/VendorsApi.md +1 -1
- data/docs/VideoLinkRequestPostMessage.md +20 -0
- data/docs/WaitHandle.md +20 -0
- data/lib/buildium-ruby/api/administration_api.rb +1 -1
- data/lib/buildium-ruby/api/{association_appliances_api.rb → appliances_api.rb} +52 -52
- data/lib/buildium-ruby/api/applicants_api.rb +1 -1
- data/lib/buildium-ruby/api/association_meter_readings_api.rb +363 -0
- data/lib/buildium-ruby/api/association_owners_api.rb +1 -1
- data/lib/buildium-ruby/api/association_tenants_api.rb +1 -1
- data/lib/buildium-ruby/api/association_units_api.rb +1 -1
- data/lib/buildium-ruby/api/associations_api.rb +238 -284
- data/lib/buildium-ruby/api/bank_accounts_api.rb +387 -1
- data/lib/buildium-ruby/api/bills_api.rb +965 -0
- data/lib/buildium-ruby/api/board_members_api.rb +406 -0
- data/lib/buildium-ruby/api/budgets_api.rb +302 -0
- data/lib/buildium-ruby/api/client_leads_api.rb +1 -1
- data/lib/buildium-ruby/api/communications_api.rb +49 -49
- data/lib/buildium-ruby/api/contact_requests_api.rb +341 -0
- data/lib/buildium-ruby/api/files_api.rb +144 -7
- data/lib/buildium-ruby/api/general_ledger_api.rb +809 -0
- data/lib/buildium-ruby/api/lease_transactions_api.rb +1531 -0
- data/lib/buildium-ruby/api/leases_api.rb +193 -1191
- data/lib/buildium-ruby/api/listings_api.rb +5 -5
- data/lib/buildium-ruby/api/{association_ownership_accounts_api.rb → ownership_account_transactions_api.rb} +166 -613
- data/lib/buildium-ruby/api/ownership_accounts_api.rb +626 -0
- data/lib/buildium-ruby/api/property_groups_api.rb +3 -3
- data/lib/buildium-ruby/api/rental_appliances_api.rb +1 -1
- data/lib/buildium-ruby/api/rental_meter_readings_api.rb +363 -0
- data/lib/buildium-ruby/api/rental_owner_requests_api.rb +478 -0
- data/lib/buildium-ruby/api/rental_owners_api.rb +1 -1
- data/lib/buildium-ruby/api/rental_properties_api.rb +898 -54
- data/lib/buildium-ruby/api/rental_tenants_api.rb +1 -1
- data/lib/buildium-ruby/api/rental_units_api.rb +582 -1
- data/lib/buildium-ruby/api/resident_center_api.rb +242 -1
- data/lib/buildium-ruby/api/resident_requests_api.rb +344 -0
- data/lib/buildium-ruby/api/tasks_api.rb +345 -1624
- data/lib/buildium-ruby/api/to_do_requests_api.rb +341 -0
- data/lib/buildium-ruby/api/vendors_api.rb +3 -3
- data/lib/buildium-ruby/api/work_orders_api.rb +1 -1
- data/lib/buildium-ruby/api_client.rb +1 -1
- data/lib/buildium-ruby/api_error.rb +1 -1
- data/lib/buildium-ruby/configuration.rb +1 -1
- data/lib/buildium-ruby/models/account_info_message.rb +1 -1
- data/lib/buildium-ruby/models/accounting_entity_message.rb +14 -5
- data/lib/buildium-ruby/models/accounting_entity_save_message.rb +15 -5
- data/lib/buildium-ruby/models/accounting_lock_period_message.rb +1 -1
- data/lib/buildium-ruby/models/accounting_settings_message.rb +1 -1
- data/lib/buildium-ruby/models/address_message.rb +1 -1
- data/lib/buildium-ruby/models/all_tasks_message.rb +1 -1
- data/lib/buildium-ruby/models/announcement_message.rb +1 -1
- data/lib/buildium-ruby/models/announcement_post_message.rb +1 -1
- data/lib/buildium-ruby/models/announcement_search_message.rb +1 -1
- data/lib/buildium-ruby/models/announcement_sender_message.rb +1 -1
- data/lib/buildium-ruby/models/api_error_response.rb +1 -1
- data/lib/buildium-ruby/models/appliance_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_application_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_group_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_group_post_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_group_put_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_group_search_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_message.rb +46 -2
- data/lib/buildium-ruby/models/applicant_post_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_put_message.rb +1 -1
- data/lib/buildium-ruby/models/applicant_search_message.rb +1 -1
- data/lib/buildium-ruby/models/application_message.rb +1 -1
- data/lib/buildium-ruby/models/application_put_message.rb +1 -1
- data/lib/buildium-ruby/models/application_response_field_message.rb +3 -3
- data/lib/buildium-ruby/models/application_response_message.rb +3 -3
- data/lib/buildium-ruby/models/application_section_response_message.rb +1 -1
- data/lib/buildium-ruby/models/applied_vendor_credit_message.rb +228 -0
- data/lib/buildium-ruby/models/association_appliance_message.rb +1 -1
- data/lib/buildium-ruby/models/association_appliance_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_appliance_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_appliance_search_message.rb +1 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_message.rb +1 -1
- data/lib/buildium-ruby/models/association_appliance_service_history_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_board_member_message.rb +1 -1
- data/lib/buildium-ruby/models/association_board_member_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_board_member_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_board_member_search_message.rb +1 -1
- data/lib/buildium-ruby/models/association_message.rb +14 -5
- data/lib/buildium-ruby/models/association_owner_board_term_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_board_term_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_to_existing_ownership_account_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_owner_unit_occupancy_status_message.rb +1 -1
- data/lib/buildium-ruby/models/association_ownership_account_message.rb +1 -1
- data/lib/buildium-ruby/models/association_ownership_account_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_ownership_account_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_ownership_account_search_message.rb +14 -2
- data/lib/buildium-ruby/models/association_post_message.rb +14 -5
- data/lib/buildium-ruby/models/association_preferred_vendor_message.rb +1 -1
- data/lib/buildium-ruby/models/association_preferred_vendor_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_search_message.rb +29 -5
- data/lib/buildium-ruby/models/association_tax_information_message.rb +292 -0
- data/lib/buildium-ruby/models/association_tenant_message.rb +1 -1
- data/lib/buildium-ruby/models/association_tenant_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_tenant_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_unit_message.rb +1 -1
- data/lib/buildium-ruby/models/association_unit_put_message.rb +1 -1
- data/lib/buildium-ruby/models/association_unit_search_message.rb +1 -1
- data/lib/buildium-ruby/models/association_units_post_message.rb +1 -1
- data/lib/buildium-ruby/models/association_user_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_accounting_entity_save_message.rb +15 -5
- data/lib/buildium-ruby/models/bank_account_check_file_message.rb +268 -0
- data/lib/buildium-ruby/models/bank_account_check_line_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_line_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_payee_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_payee_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_put_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_check_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_deposit_line_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_deposit_line_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_deposit_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_deposit_post_message.rb +2 -2
- data/lib/buildium-ruby/models/bank_account_deposit_put_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_deposit_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_message.rb +15 -5
- data/lib/buildium-ruby/models/bank_account_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_put_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_quick_deposit_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_quick_deposit_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_quick_deposit_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_search_message.rb +17 -5
- data/lib/buildium-ruby/models/bank_account_transaction_message.rb +3 -3
- data/lib/buildium-ruby/models/bank_account_transaction_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_transfer_accounting_entity_save_message.rb +15 -5
- data/lib/buildium-ruby/models/bank_account_transfer_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_transfer_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_transfer_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_withdrawal_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_withdrawal_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_account_withdrawal_search_message.rb +1 -1
- data/lib/buildium-ruby/models/bank_lockbox_data_association_message.rb +238 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_association_owner_message.rb +314 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_message.rb +229 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_ownership_account_message.rb +293 -0
- data/lib/buildium-ruby/models/bank_lockbox_data_search_message.rb +220 -0
- data/lib/buildium-ruby/models/bill_file_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_line_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_line_put_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_markup_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_markup_save_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_payment_accounting_entity_message.rb +15 -5
- data/lib/buildium-ruby/models/bill_payment_line_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_payment_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_payment_message.rb +26 -2
- data/lib/buildium-ruby/models/bill_payment_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_post_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_put_message.rb +1 -1
- data/lib/buildium-ruby/models/bill_search_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_details_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_details_save_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_monthly_amounts_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_monthly_amounts_save_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_post_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_put_message.rb +1 -1
- data/lib/buildium-ruby/models/budget_search_message.rb +1 -1
- data/lib/buildium-ruby/models/cancellation_token.rb +235 -0
- data/lib/buildium-ruby/models/cc_payments_message.rb +219 -0
- data/lib/buildium-ruby/models/cc_payments_put_message.rb +224 -0
- data/lib/buildium-ruby/models/charge_recurring_transaction_post_message.rb +1 -1
- data/lib/buildium-ruby/models/charge_recurring_transaction_put_message.rb +1 -1
- data/lib/buildium-ruby/models/check_printing_info_message.rb +1 -1
- data/lib/buildium-ruby/models/check_printing_info_post_message.rb +1 -1
- data/lib/buildium-ruby/models/check_printing_info_put_message.rb +1 -1
- data/lib/buildium-ruby/models/client_lead_credit_request_message.rb +1 -1
- data/lib/buildium-ruby/models/client_lead_message.rb +1 -1
- data/lib/buildium-ruby/models/client_lead_search_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_detail_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_detail_phone_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_detail_save_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_detail_save_phone_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_info_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_request_task_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_request_task_post_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_request_task_put_message.rb +1 -1
- data/lib/buildium-ruby/models/contact_request_task_search_message.rb +1 -1
- data/lib/buildium-ruby/models/cosigner_message.rb +1 -1
- data/lib/buildium-ruby/models/created_by_user_message.rb +1 -1
- data/lib/buildium-ruby/models/credit_recurring_transaction_post_message.rb +1 -1
- data/lib/buildium-ruby/models/deposit_detail_message.rb +1 -1
- data/lib/buildium-ruby/models/e_pay_settings_message.rb +235 -0
- data/lib/buildium-ruby/models/e_pay_settings_put_message.rb +250 -0
- data/lib/buildium-ruby/models/eft_payments_message.rb +219 -0
- data/lib/buildium-ruby/models/eft_payments_put_message.rb +224 -0
- data/lib/buildium-ruby/models/electronic_payments_message.rb +1 -1
- data/lib/buildium-ruby/models/email_message.rb +1 -1
- data/lib/buildium-ruby/models/email_post_message.rb +1 -1
- data/lib/buildium-ruby/models/email_recipient_message.rb +1 -1
- data/lib/buildium-ruby/models/email_search_message.rb +1 -1
- data/lib/buildium-ruby/models/email_sender_message.rb +1 -1
- data/lib/buildium-ruby/models/emergency_contact_message.rb +1 -1
- data/lib/buildium-ruby/models/file_category_message.rb +1 -1
- data/lib/buildium-ruby/models/file_category_post_message.rb +1 -1
- data/lib/buildium-ruby/models/file_category_put_message.rb +1 -1
- data/lib/buildium-ruby/models/file_download_message.rb +1 -1
- data/lib/buildium-ruby/models/file_entity_message.rb +1 -1
- data/lib/buildium-ruby/models/file_message.rb +1 -1
- data/lib/buildium-ruby/models/file_name_post_message.rb +1 -1
- data/lib/buildium-ruby/models/file_put_message.rb +1 -1
- data/lib/buildium-ruby/models/file_search_message.rb +1 -1
- data/lib/buildium-ruby/models/file_sharing_account_message.rb +263 -0
- data/lib/buildium-ruby/models/file_sharing_account_put_message.rb +263 -0
- data/lib/buildium-ruby/models/file_sharing_association_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_association_owner_message.rb +219 -0
- data/lib/buildium-ruby/models/file_sharing_association_owner_put_message.rb +219 -0
- data/lib/buildium-ruby/models/file_sharing_association_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_association_unit_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_association_unit_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_committee_message.rb +239 -0
- data/lib/buildium-ruby/models/file_sharing_committee_put_message.rb +239 -0
- data/lib/buildium-ruby/models/file_sharing_lease_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_lease_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_message.rb +316 -0
- data/lib/buildium-ruby/models/file_sharing_ownership_account_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_ownership_account_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_put_message.rb +316 -0
- data/lib/buildium-ruby/models/file_sharing_rental_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_rental_owner_message.rb +219 -0
- data/lib/buildium-ruby/models/file_sharing_rental_owner_put_message.rb +219 -0
- data/lib/buildium-ruby/models/file_sharing_rental_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_rental_unit_mesage.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_rental_unit_put_mesage.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_tenant_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_tenant_put_message.rb +229 -0
- data/lib/buildium-ruby/models/file_sharing_vendor_message.rb +219 -0
- data/lib/buildium-ruby/models/file_sharing_vendor_put_message.rb +219 -0
- data/lib/buildium-ruby/models/file_upload_post_message.rb +1 -1
- data/lib/buildium-ruby/models/file_upload_ticket_message.rb +1 -1
- data/lib/buildium-ruby/models/general_journal_entry_line_save_message.rb +2 -2
- data/lib/buildium-ruby/models/general_journal_entry_post_message.rb +1 -1
- data/lib/buildium-ruby/models/general_journal_entry_put_message.rb +1 -1
- data/lib/buildium-ruby/models/general_ledger_entry_message.rb +311 -0
- data/lib/buildium-ruby/models/general_ledger_journal_line_message.rb +1 -1
- data/lib/buildium-ruby/models/general_ledger_journal_message.rb +1 -1
- data/lib/buildium-ruby/models/general_ledger_message.rb +260 -0
- data/lib/buildium-ruby/models/general_ledger_search_message.rb +336 -0
- data/lib/buildium-ruby/models/general_ledger_transaction_message.rb +1 -1
- data/lib/buildium-ruby/models/general_ledger_transaction_search_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_balance_item_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_balance_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_balance_search_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_post_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_account_put_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_accounts_search_message.rb +1 -1
- data/lib/buildium-ruby/models/gl_transaction_message_v1.rb +1 -1
- data/lib/buildium-ruby/models/image_reorder_request_put_message.rb +225 -0
- data/lib/buildium-ruby/models/insured_tenant_message.rb +248 -0
- data/lib/buildium-ruby/models/internal_transaction_status_message.rb +1 -1
- data/lib/buildium-ruby/models/journal_line_message.rb +15 -5
- data/lib/buildium-ruby/models/journal_message.rb +1 -1
- data/lib/buildium-ruby/models/json_patch_operation.rb +254 -0
- data/lib/buildium-ruby/models/last_updated_by_user_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_account_detail_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_auto_allocated_payment_post_message.rb +332 -0
- data/lib/buildium-ruby/models/lease_charge_line_save_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_charge_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_charge_put_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_charge_recurring_transaction_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_cosigner_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_credit_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_credit_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_deposit_withholding_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_line_save_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_payment_put_message.rb +319 -0
- data/lib/buildium-ruby/models/lease_ledger_refund_line_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_refund_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_nsf_charge_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_other_bank_charge_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_ledger_reverse_payment_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_move_out_data_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_move_out_data_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_outstanding_balance_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_outstanding_balance_search_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_post_message.rb +27 -8
- data/lib/buildium-ruby/models/lease_put_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_recurring_credit_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_recurring_payment_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_renewal_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_renewal_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_renewal_search_message.rb +272 -0
- data/lib/buildium-ruby/models/lease_rent_charge_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_rent_charge_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_rent_message.rb +2 -2
- data/lib/buildium-ruby/models/lease_rent_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_search_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_security_deposit_post_message.rb +1 -1
- data/lib/buildium-ruby/models/lease_tenant_message.rb +15 -5
- data/lib/buildium-ruby/models/lease_transaction_message.rb +47 -3
- data/lib/buildium-ruby/models/lease_transaction_search_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_contact_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_contact_save_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_entity_file_post_message.rb +248 -0
- data/lib/buildium-ruby/models/listing_file_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_property_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_put_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_search_message.rb +1 -1
- data/lib/buildium-ruby/models/listing_unit_message.rb +1 -1
- data/lib/buildium-ruby/models/lock_period_settings_global_message.rb +1 -1
- data/lib/buildium-ruby/models/lock_period_settings_overrides_message.rb +1 -1
- data/lib/buildium-ruby/models/logged_by_staff_user_message.rb +1 -1
- data/lib/buildium-ruby/models/lookup_message.rb +1 -1
- data/lib/buildium-ruby/models/mailing_template_message.rb +1 -1
- data/lib/buildium-ruby/models/meter_reading_detail_message.rb +268 -0
- data/lib/buildium-ruby/models/meter_reading_detail_put_message.rb +263 -0
- data/lib/buildium-ruby/models/meter_reading_details_delete_search_message.rb +272 -0
- data/lib/buildium-ruby/models/meter_reading_details_message.rb +274 -0
- data/lib/buildium-ruby/models/meter_reading_details_put_message.rb +289 -0
- data/lib/buildium-ruby/models/meter_reading_details_put_search_message.rb +262 -0
- data/lib/buildium-ruby/models/meter_reading_details_search_message.rb +272 -0
- data/lib/buildium-ruby/models/meter_reading_message.rb +292 -0
- data/lib/buildium-ruby/models/meter_reading_search_message.rb +272 -0
- data/lib/buildium-ruby/models/multiple_bill_payments_post_message.rb +277 -0
- data/lib/buildium-ruby/models/note_message.rb +1 -1
- data/lib/buildium-ruby/models/note_post_message.rb +1 -1
- data/lib/buildium-ruby/models/note_put_message.rb +1 -1
- data/lib/buildium-ruby/models/note_search_message.rb +1 -1
- data/lib/buildium-ruby/models/offline_payments_message.rb +239 -0
- data/lib/buildium-ruby/models/offline_payments_put_message.rb +249 -0
- data/lib/buildium-ruby/models/outstanding_balances_line_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_auto_allocated_payment_post_message.rb +332 -0
- data/lib/buildium-ruby/models/ownership_account_charge_recurring_transaction_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_credit_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_credit_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_deposit_withholding_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_put_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_lines_save_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_charge_put_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_line_save_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_ledger_payment_put_message.rb +320 -0
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_outstanding_balance_search_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_credit_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_recurring_payment_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_refund_line_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_refund_lines_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_refund_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_refund_post_message.rb +1 -1
- data/lib/buildium-ruby/models/ownership_account_transaction_message.rb +46 -2
- data/lib/buildium-ruby/models/paid_by_message.rb +1 -1
- data/lib/buildium-ruby/models/participant_message.rb +1 -1
- data/lib/buildium-ruby/models/participant_resource_message.rb +1 -1
- data/lib/buildium-ruby/models/payee_message.rb +1 -1
- data/lib/buildium-ruby/models/payment_detail_message.rb +1 -1
- data/lib/buildium-ruby/models/payment_recurring_transaction_post_message.rb +1 -1
- data/lib/buildium-ruby/models/payment_transactions_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_participant_post_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_participant_unit_agreement_post_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_post_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_put_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_log_search_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_number_message.rb +1 -1
- data/lib/buildium-ruby/models/phone_numbers_message.rb +1 -1
- data/lib/buildium-ruby/models/property_group_message.rb +1 -1
- data/lib/buildium-ruby/models/property_group_post_message.rb +1 -1
- data/lib/buildium-ruby/models/property_group_put_message.rb +1 -1
- data/lib/buildium-ruby/models/property_group_search_message.rb +1 -1
- data/lib/buildium-ruby/models/property_manager_message.rb +1 -1
- data/lib/buildium-ruby/models/property_message.rb +1 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_message.rb +1 -1
- data/lib/buildium-ruby/models/recurring_transaction_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/recurring_transaction_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_search_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_appliance_service_history_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_features_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_features_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_image_message.rb +292 -0
- data/lib/buildium-ruby/models/rental_image_put_message.rb +233 -0
- data/lib/buildium-ruby/models/rental_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_contribution_data_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_data_put_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_put_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_contribution_reminder_put_message.rb +229 -0
- data/lib/buildium-ruby/models/rental_owner_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_request_task_search_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owner_tax_information_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_owners_search_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_preferred_vendor_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_preferred_vendor_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_property_post_message.rb +2 -2
- data/lib/buildium-ruby/models/rental_property_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_property_unit_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_search_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_tenant_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_tenant_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_tenant_renewal_post_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_unit_features_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_unit_features_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_unit_image_message.rb +292 -0
- data/lib/buildium-ruby/models/rental_unit_image_put_message.rb +233 -0
- data/lib/buildium-ruby/models/rental_unit_message.rb +3 -3
- data/lib/buildium-ruby/models/rental_unit_put_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_unit_search_message.rb +1 -1
- data/lib/buildium-ruby/models/rental_units_post_message.rb +1 -1
- data/lib/buildium-ruby/models/renters_insurance_policy_message.rb +324 -0
- data/lib/buildium-ruby/models/requested_by_user_entity_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_center_user_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_center_user_reference_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_center_user_search_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_request_task_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_request_task_post_message.rb +25 -5
- data/lib/buildium-ruby/models/resident_request_task_put_message.rb +1 -1
- data/lib/buildium-ruby/models/resident_request_task_search_message.rb +1 -1
- data/lib/buildium-ruby/models/retail_cash_property_message.rb +282 -0
- data/lib/buildium-ruby/models/retail_cash_unit_message.rb +238 -0
- data/lib/buildium-ruby/models/retail_cash_user_data_message.rb +312 -0
- data/lib/buildium-ruby/models/retail_cash_user_message.rb +274 -0
- data/lib/buildium-ruby/models/retail_cash_user_put_message.rb +223 -0
- data/lib/buildium-ruby/models/retail_cash_users_search_message.rb +304 -0
- data/lib/buildium-ruby/models/safe_wait_handle.rb +226 -0
- data/lib/buildium-ruby/models/save_address_message.rb +1 -1
- data/lib/buildium-ruby/models/save_emergency_contact_message.rb +1 -1
- data/lib/buildium-ruby/models/task_category_message.rb +1 -1
- data/lib/buildium-ruby/models/task_category_put_message.rb +1 -1
- data/lib/buildium-ruby/models/task_category_response_message.rb +1 -1
- data/lib/buildium-ruby/models/task_category_save_message.rb +1 -1
- data/lib/buildium-ruby/models/task_history_file_message.rb +1 -1
- data/lib/buildium-ruby/models/task_history_file_upload_post_message.rb +1 -1
- data/lib/buildium-ruby/models/task_history_message.rb +1 -1
- data/lib/buildium-ruby/models/task_history_put_message.rb +1 -1
- data/lib/buildium-ruby/models/task_history_user_message.rb +1 -1
- data/lib/buildium-ruby/models/task_search_message.rb +1 -1
- data/lib/buildium-ruby/models/task_sub_category_message.rb +1 -1
- data/lib/buildium-ruby/models/tax_information_post_message.rb +1 -1
- data/lib/buildium-ruby/models/tax_information_save_message.rb +1 -1
- data/lib/buildium-ruby/models/tenant_message.rb +1 -1
- data/lib/buildium-ruby/models/tenant_search_message.rb +1 -1
- data/lib/buildium-ruby/models/to_do_task_message.rb +1 -1
- data/lib/buildium-ruby/models/to_do_task_post_message.rb +1 -1
- data/lib/buildium-ruby/models/to_do_task_put_message.rb +1 -1
- data/lib/buildium-ruby/models/to_do_task_search_message.rb +1 -1
- data/lib/buildium-ruby/models/undeposited_funds_message.rb +1 -1
- data/lib/buildium-ruby/models/unit_agreement_message.rb +1 -1
- data/lib/buildium-ruby/models/unit_entity_message.rb +229 -0
- data/lib/buildium-ruby/models/user_message.rb +1 -1
- data/lib/buildium-ruby/models/user_role_message.rb +1 -1
- data/lib/buildium-ruby/models/user_search_message.rb +1 -1
- data/lib/buildium-ruby/models/vehicle_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_category_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_category_save_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_credit_line_item_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_credit_line_item_post_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_credit_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_credit_post_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_insurance_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_insurance_save_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_post_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_put_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_refund_line_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_refund_line_post_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_refund_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_refund_post_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_search_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_tax_information_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_transaction_message.rb +1 -1
- data/lib/buildium-ruby/models/vendor_transaction_search_message.rb +1 -1
- data/lib/buildium-ruby/models/video_link_request_post_message.rb +238 -0
- data/lib/buildium-ruby/models/wait_handle.rb +226 -0
- data/lib/buildium-ruby/models/work_order_entry_contact_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_entry_contact_resource_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_line_item_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_line_item_save_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_post_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_put_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_search_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_task_message.rb +1 -1
- data/lib/buildium-ruby/models/work_order_task_post_message.rb +1 -1
- data/lib/buildium-ruby/version.rb +2 -2
- data/lib/buildium-ruby.rb +101 -4
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +206 -826
- data/docs/AccountingApi.md +0 -2041
- data/lib/buildium-ruby/api/accounting_api.rb +0 -1855
- data/spec/api/accounting_api_spec.rb +0 -383
- data/spec/api/administration_api_spec.rb +0 -114
- data/spec/api/applicants_api_spec.rb +0 -294
- data/spec/api/association_appliances_api_spec.rb +0 -141
- data/spec/api/association_owners_api_spec.rb +0 -195
- data/spec/api/association_ownership_accounts_api_spec.rb +0 -385
- data/spec/api/association_tenants_api_spec.rb +0 -153
- data/spec/api/association_units_api_spec.rb +0 -147
- data/spec/api/associations_api_spec.rb +0 -248
- data/spec/api/bank_accounts_api_spec.rb +0 -420
- data/spec/api/client_leads_api_spec.rb +0 -66
- data/spec/api/communications_api_spec.rb +0 -248
- data/spec/api/files_api_spec.rb +0 -156
- data/spec/api/leases_api_spec.rb +0 -529
- data/spec/api/listings_api_spec.rb +0 -139
- data/spec/api/property_groups_api_spec.rb +0 -88
- data/spec/api/rental_appliances_api_spec.rb +0 -141
- data/spec/api/rental_owners_api_spec.rb +0 -151
- data/spec/api/rental_properties_api_spec.rb +0 -205
- data/spec/api/rental_tenants_api_spec.rb +0 -154
- data/spec/api/rental_units_api_spec.rb +0 -172
- data/spec/api/resident_center_api_spec.rb +0 -54
- data/spec/api/tasks_api_spec.rb +0 -493
- data/spec/api/vendors_api_spec.rb +0 -275
- data/spec/api/work_orders_api_spec.rb +0 -105
- data/spec/models/account_info_message_spec.rb +0 -58
- data/spec/models/accounting_entity_message_spec.rb +0 -50
- data/spec/models/accounting_entity_save_message_spec.rb +0 -44
- data/spec/models/accounting_lock_period_message_spec.rb +0 -46
- data/spec/models/accounting_settings_message_spec.rb +0 -72
- data/spec/models/address_message_spec.rb +0 -74
- data/spec/models/all_tasks_message_spec.rb +0 -130
- data/spec/models/announcement_message_spec.rb +0 -74
- data/spec/models/announcement_post_message_spec.rb +0 -64
- data/spec/models/announcement_search_message_spec.rb +0 -62
- data/spec/models/announcement_sender_message_spec.rb +0 -46
- data/spec/models/api_error_response_spec.rb +0 -46
- data/spec/models/appliance_message_spec.rb +0 -58
- data/spec/models/applicant_application_message_spec.rb +0 -56
- data/spec/models/applicant_group_message_spec.rb +0 -62
- data/spec/models/applicant_group_post_message_spec.rb +0 -40
- data/spec/models/applicant_group_put_message_spec.rb +0 -50
- data/spec/models/applicant_group_search_message_spec.rb +0 -66
- data/spec/models/applicant_message_spec.rb +0 -88
- data/spec/models/applicant_post_message_spec.rb +0 -64
- data/spec/models/applicant_put_message_spec.rb +0 -58
- data/spec/models/applicant_search_message_spec.rb +0 -84
- data/spec/models/application_message_spec.rb +0 -62
- data/spec/models/application_put_message_spec.rb +0 -38
- data/spec/models/application_response_field_message_spec.rb +0 -60
- data/spec/models/application_response_message_spec.rb +0 -50
- data/spec/models/application_section_response_message_spec.rb +0 -34
- data/spec/models/association_appliance_message_spec.rb +0 -76
- data/spec/models/association_appliance_post_message_spec.rb +0 -76
- data/spec/models/association_appliance_put_message_spec.rb +0 -64
- data/spec/models/association_appliance_search_message_spec.rb +0 -40
- data/spec/models/association_appliance_service_history_message_spec.rb +0 -56
- data/spec/models/association_appliance_service_history_post_message_spec.rb +0 -50
- data/spec/models/association_board_member_message_spec.rb +0 -92
- data/spec/models/association_board_member_post_message_spec.rb +0 -56
- data/spec/models/association_board_member_put_message_spec.rb +0 -50
- data/spec/models/association_board_member_search_message_spec.rb +0 -60
- data/spec/models/association_message_spec.rb +0 -100
- data/spec/models/association_owner_board_term_message_spec.rb +0 -68
- data/spec/models/association_owner_board_term_post_message_spec.rb +0 -50
- data/spec/models/association_owner_message_spec.rb +0 -144
- data/spec/models/association_owner_post_message_spec.rb +0 -116
- data/spec/models/association_owner_put_message_spec.rb +0 -98
- data/spec/models/association_owner_to_existing_ownership_account_post_message_spec.rb +0 -128
- data/spec/models/association_owner_unit_occupancy_put_message_spec.rb +0 -34
- data/spec/models/association_owner_unit_occupancy_status_message_spec.rb +0 -40
- data/spec/models/association_ownership_account_message_spec.rb +0 -90
- data/spec/models/association_ownership_account_post_message_spec.rb +0 -80
- data/spec/models/association_ownership_account_put_message_spec.rb +0 -34
- data/spec/models/association_ownership_account_search_message_spec.rb +0 -72
- data/spec/models/association_post_message_spec.rb +0 -76
- data/spec/models/association_preferred_vendor_message_spec.rb +0 -82
- data/spec/models/association_preferred_vendor_put_message_spec.rb +0 -34
- data/spec/models/association_put_message_spec.rb +0 -82
- data/spec/models/association_search_message_spec.rb +0 -56
- data/spec/models/association_tenant_message_spec.rb +0 -112
- data/spec/models/association_tenant_post_message_spec.rb +0 -106
- data/spec/models/association_tenant_put_message_spec.rb +0 -94
- data/spec/models/association_unit_message_spec.rb +0 -84
- data/spec/models/association_unit_put_message_spec.rb +0 -66
- data/spec/models/association_unit_search_message_spec.rb +0 -46
- data/spec/models/association_units_post_message_spec.rb +0 -72
- data/spec/models/association_user_search_message_spec.rb +0 -86
- data/spec/models/bank_account_check_accounting_entity_save_message_spec.rb +0 -44
- data/spec/models/bank_account_check_line_message_spec.rb +0 -64
- data/spec/models/bank_account_check_line_save_message_spec.rb +0 -58
- data/spec/models/bank_account_check_message_spec.rb +0 -70
- data/spec/models/bank_account_check_payee_message_spec.rb +0 -50
- data/spec/models/bank_account_check_payee_save_message_spec.rb +0 -44
- data/spec/models/bank_account_check_post_message_spec.rb +0 -58
- data/spec/models/bank_account_check_put_message_spec.rb +0 -58
- data/spec/models/bank_account_check_search_message_spec.rb +0 -40
- data/spec/models/bank_account_deposit_line_message_spec.rb +0 -64
- data/spec/models/bank_account_deposit_line_save_message_spec.rb +0 -58
- data/spec/models/bank_account_deposit_message_spec.rb +0 -64
- data/spec/models/bank_account_deposit_post_message_spec.rb +0 -52
- data/spec/models/bank_account_deposit_put_message_spec.rb +0 -46
- data/spec/models/bank_account_deposit_search_message_spec.rb +0 -40
- data/spec/models/bank_account_message_spec.rb +0 -104
- data/spec/models/bank_account_post_message_spec.rb +0 -78
- data/spec/models/bank_account_put_message_spec.rb +0 -78
- data/spec/models/bank_account_quick_deposit_message_spec.rb +0 -64
- data/spec/models/bank_account_quick_deposit_save_message_spec.rb +0 -58
- data/spec/models/bank_account_quick_deposit_search_message_spec.rb +0 -40
- data/spec/models/bank_account_search_message_spec.rb +0 -44
- data/spec/models/bank_account_transaction_message_spec.rb +0 -96
- data/spec/models/bank_account_transaction_search_message_spec.rb +0 -56
- data/spec/models/bank_account_transfer_accounting_entity_save_message_spec.rb +0 -44
- data/spec/models/bank_account_transfer_message_spec.rb +0 -64
- data/spec/models/bank_account_transfer_save_message_spec.rb +0 -58
- data/spec/models/bank_account_transfer_search_message_spec.rb +0 -40
- data/spec/models/bank_account_withdrawal_message_spec.rb +0 -64
- data/spec/models/bank_account_withdrawal_save_message_spec.rb +0 -58
- data/spec/models/bank_account_withdrawal_search_message_spec.rb +0 -40
- data/spec/models/bill_file_message_spec.rb +0 -64
- data/spec/models/bill_line_message_spec.rb +0 -64
- data/spec/models/bill_line_post_message_spec.rb +0 -58
- data/spec/models/bill_line_put_message_spec.rb +0 -64
- data/spec/models/bill_markup_message_spec.rb +0 -44
- data/spec/models/bill_markup_save_message_spec.rb +0 -44
- data/spec/models/bill_message_spec.rb +0 -92
- data/spec/models/bill_payment_accounting_entity_message_spec.rb +0 -44
- data/spec/models/bill_payment_line_message_spec.rb +0 -46
- data/spec/models/bill_payment_line_post_message_spec.rb +0 -40
- data/spec/models/bill_payment_message_spec.rb +0 -64
- data/spec/models/bill_payment_post_message_spec.rb +0 -58
- data/spec/models/bill_post_message_spec.rb +0 -70
- data/spec/models/bill_put_message_spec.rb +0 -64
- data/spec/models/bill_search_message_spec.rb +0 -88
- data/spec/models/budget_details_message_spec.rb +0 -56
- data/spec/models/budget_details_save_message_spec.rb +0 -40
- data/spec/models/budget_message_spec.rb +0 -64
- data/spec/models/budget_monthly_amounts_message_spec.rb +0 -100
- data/spec/models/budget_monthly_amounts_save_message_spec.rb +0 -100
- data/spec/models/budget_post_message_spec.rb +0 -62
- data/spec/models/budget_put_message_spec.rb +0 -40
- data/spec/models/budget_search_message_spec.rb +0 -46
- data/spec/models/charge_recurring_transaction_post_message_spec.rb +0 -84
- data/spec/models/charge_recurring_transaction_put_message_spec.rb +0 -90
- data/spec/models/check_printing_info_message_spec.rb +0 -122
- data/spec/models/check_printing_info_post_message_spec.rb +0 -122
- data/spec/models/check_printing_info_put_message_spec.rb +0 -122
- data/spec/models/client_lead_credit_request_message_spec.rb +0 -60
- data/spec/models/client_lead_message_spec.rb +0 -102
- data/spec/models/client_lead_search_message_spec.rb +0 -66
- data/spec/models/contact_detail_message_spec.rb +0 -52
- data/spec/models/contact_detail_phone_message_spec.rb +0 -46
- data/spec/models/contact_detail_save_message_spec.rb +0 -52
- data/spec/models/contact_detail_save_phone_message_spec.rb +0 -46
- data/spec/models/contact_info_message_spec.rb +0 -52
- data/spec/models/contact_request_task_message_spec.rb +0 -114
- data/spec/models/contact_request_task_post_message_spec.rb +0 -102
- data/spec/models/contact_request_task_put_message_spec.rb +0 -102
- data/spec/models/contact_request_task_search_message_spec.rb +0 -112
- data/spec/models/cosigner_message_spec.rb +0 -92
- data/spec/models/created_by_user_message_spec.rb +0 -52
- data/spec/models/credit_recurring_transaction_post_message_spec.rb +0 -100
- data/spec/models/deposit_detail_message_spec.rb +0 -40
- data/spec/models/electronic_payments_message_spec.rb +0 -76
- data/spec/models/email_message_spec.rb +0 -52
- data/spec/models/email_post_message_spec.rb +0 -70
- data/spec/models/email_recipient_message_spec.rb +0 -62
- data/spec/models/email_search_message_spec.rb +0 -58
- data/spec/models/email_sender_message_spec.rb +0 -52
- data/spec/models/emergency_contact_message_spec.rb +0 -52
- data/spec/models/file_category_message_spec.rb +0 -46
- data/spec/models/file_category_post_message_spec.rb +0 -34
- data/spec/models/file_category_put_message_spec.rb +0 -34
- data/spec/models/file_download_message_spec.rb +0 -34
- data/spec/models/file_entity_message_spec.rb +0 -50
- data/spec/models/file_message_spec.rb +0 -82
- data/spec/models/file_name_post_message_spec.rb +0 -34
- data/spec/models/file_put_message_spec.rb +0 -46
- data/spec/models/file_search_message_spec.rb +0 -74
- data/spec/models/file_upload_post_message_spec.rb +0 -68
- data/spec/models/file_upload_ticket_message_spec.rb +0 -46
- data/spec/models/general_journal_entry_line_save_message_spec.rb +0 -56
- data/spec/models/general_journal_entry_post_message_spec.rb +0 -52
- data/spec/models/general_journal_entry_put_message_spec.rb +0 -52
- data/spec/models/general_ledger_journal_line_message_spec.rb +0 -64
- data/spec/models/general_ledger_journal_message_spec.rb +0 -40
- data/spec/models/general_ledger_transaction_message_spec.rb +0 -98
- data/spec/models/general_ledger_transaction_search_message_spec.rb +0 -62
- data/spec/models/gl_account_balance_item_message_spec.rb +0 -40
- data/spec/models/gl_account_balance_message_spec.rb +0 -46
- data/spec/models/gl_account_balance_search_message_spec.rb +0 -66
- data/spec/models/gl_account_message_spec.rb +0 -130
- data/spec/models/gl_account_post_message_spec.rb +0 -84
- data/spec/models/gl_account_put_message_spec.rb +0 -84
- data/spec/models/gl_accounts_search_message_spec.rb +0 -38
- data/spec/models/gl_transaction_message_v1_spec.rb +0 -58
- data/spec/models/internal_transaction_status_message_spec.rb +0 -46
- data/spec/models/journal_line_message_spec.rb +0 -64
- data/spec/models/journal_message_spec.rb +0 -40
- data/spec/models/last_updated_by_user_message_spec.rb +0 -58
- data/spec/models/lease_account_detail_message_spec.rb +0 -40
- data/spec/models/lease_charge_line_save_message_spec.rb +0 -46
- data/spec/models/lease_charge_post_message_spec.rb +0 -46
- data/spec/models/lease_charge_put_message_spec.rb +0 -46
- data/spec/models/lease_charge_recurring_transaction_message_spec.rb +0 -108
- data/spec/models/lease_cosigner_post_message_spec.rb +0 -80
- data/spec/models/lease_ledger_credit_line_post_message_spec.rb +0 -40
- data/spec/models/lease_ledger_credit_post_message_spec.rb +0 -62
- data/spec/models/lease_ledger_deposit_withholding_line_post_message_spec.rb +0 -40
- data/spec/models/lease_ledger_deposit_withholding_post_message_spec.rb +0 -52
- data/spec/models/lease_ledger_payment_line_save_message_spec.rb +0 -40
- data/spec/models/lease_ledger_payment_post_message_spec.rb +0 -74
- data/spec/models/lease_ledger_refund_line_message_spec.rb +0 -40
- data/spec/models/lease_ledger_refund_line_post_message_spec.rb +0 -40
- data/spec/models/lease_ledger_refund_message_spec.rb +0 -82
- data/spec/models/lease_ledger_refund_post_message_spec.rb +0 -70
- data/spec/models/lease_ledger_reverse_payment_nsf_charge_post_message_spec.rb +0 -40
- data/spec/models/lease_ledger_reverse_payment_other_bank_charge_post_message_spec.rb +0 -40
- data/spec/models/lease_ledger_reverse_payment_post_message_spec.rb +0 -52
- data/spec/models/lease_message_spec.rb +0 -170
- data/spec/models/lease_move_out_data_message_spec.rb +0 -46
- data/spec/models/lease_move_out_data_post_message_spec.rb +0 -46
- data/spec/models/lease_outstanding_balance_message_spec.rb +0 -100
- data/spec/models/lease_outstanding_balance_search_message_spec.rb +0 -90
- data/spec/models/lease_post_message_spec.rb +0 -98
- data/spec/models/lease_put_message_spec.rb +0 -68
- data/spec/models/lease_recurring_credit_message_spec.rb +0 -124
- data/spec/models/lease_recurring_payment_message_spec.rb +0 -118
- data/spec/models/lease_renewal_message_spec.rb +0 -84
- data/spec/models/lease_renewal_post_message_spec.rb +0 -98
- data/spec/models/lease_rent_charge_message_spec.rb +0 -70
- data/spec/models/lease_rent_charge_post_message_spec.rb +0 -52
- data/spec/models/lease_rent_message_spec.rb +0 -86
- data/spec/models/lease_rent_post_message_spec.rb +0 -44
- data/spec/models/lease_search_message_spec.rb +0 -108
- data/spec/models/lease_security_deposit_post_message_spec.rb +0 -40
- data/spec/models/lease_tenant_message_spec.rb +0 -44
- data/spec/models/lease_transaction_message_spec.rb +0 -82
- data/spec/models/lease_transaction_search_message_spec.rb +0 -50
- data/spec/models/listing_contact_message_spec.rb +0 -58
- data/spec/models/listing_contact_save_message_spec.rb +0 -52
- data/spec/models/listing_file_message_spec.rb +0 -50
- data/spec/models/listing_message_spec.rb +0 -88
- data/spec/models/listing_property_message_spec.rb +0 -90
- data/spec/models/listing_put_message_spec.rb +0 -64
- data/spec/models/listing_search_message_spec.rb +0 -44
- data/spec/models/listing_unit_message_spec.rb +0 -100
- data/spec/models/lock_period_settings_global_message_spec.rb +0 -34
- data/spec/models/lock_period_settings_overrides_message_spec.rb +0 -40
- data/spec/models/logged_by_staff_user_message_spec.rb +0 -52
- data/spec/models/lookup_message_spec.rb +0 -40
- data/spec/models/mailing_template_message_spec.rb +0 -56
- data/spec/models/note_message_spec.rb +0 -46
- data/spec/models/note_post_message_spec.rb +0 -34
- data/spec/models/note_put_message_spec.rb +0 -34
- data/spec/models/note_search_message_spec.rb +0 -46
- data/spec/models/outstanding_balances_line_message_spec.rb +0 -40
- data/spec/models/ownership_account_charge_recurring_transaction_message_spec.rb +0 -108
- data/spec/models/ownership_account_credit_line_post_message_spec.rb +0 -40
- data/spec/models/ownership_account_credit_post_message_spec.rb +0 -62
- data/spec/models/ownership_account_deposit_withholding_line_post_message_spec.rb +0 -40
- data/spec/models/ownership_account_deposit_withholding_post_message_spec.rb +0 -52
- data/spec/models/ownership_account_ledger_charge_lines_put_message_spec.rb +0 -46
- data/spec/models/ownership_account_ledger_charge_lines_save_message_spec.rb +0 -40
- data/spec/models/ownership_account_ledger_charge_post_message_spec.rb +0 -46
- data/spec/models/ownership_account_ledger_charge_put_message_spec.rb +0 -46
- data/spec/models/ownership_account_ledger_payment_line_save_message_spec.rb +0 -40
- data/spec/models/ownership_account_ledger_payment_post_message_spec.rb +0 -74
- data/spec/models/ownership_account_outstanding_balance_message_spec.rb +0 -88
- data/spec/models/ownership_account_outstanding_balance_search_message_spec.rb +0 -70
- data/spec/models/ownership_account_recurring_credit_message_spec.rb +0 -124
- data/spec/models/ownership_account_recurring_payment_message_spec.rb +0 -118
- data/spec/models/ownership_account_refund_line_message_spec.rb +0 -40
- data/spec/models/ownership_account_refund_lines_post_message_spec.rb +0 -40
- data/spec/models/ownership_account_refund_message_spec.rb +0 -82
- data/spec/models/ownership_account_refund_post_message_spec.rb +0 -70
- data/spec/models/ownership_account_transaction_message_spec.rb +0 -82
- data/spec/models/paid_by_message_spec.rb +0 -40
- data/spec/models/participant_message_spec.rb +0 -46
- data/spec/models/participant_resource_message_spec.rb +0 -44
- data/spec/models/payee_message_spec.rb +0 -56
- data/spec/models/payment_detail_message_spec.rb +0 -56
- data/spec/models/payment_recurring_transaction_post_message_spec.rb +0 -94
- data/spec/models/payment_transactions_message_spec.rb +0 -46
- data/spec/models/phone_log_message_spec.rb +0 -64
- data/spec/models/phone_log_participant_post_message_spec.rb +0 -50
- data/spec/models/phone_log_participant_unit_agreement_post_message_spec.rb +0 -44
- data/spec/models/phone_log_post_message_spec.rb +0 -52
- data/spec/models/phone_log_put_message_spec.rb +0 -46
- data/spec/models/phone_log_search_message_spec.rb +0 -84
- data/spec/models/phone_number_message_spec.rb +0 -44
- data/spec/models/phone_numbers_message_spec.rb +0 -52
- data/spec/models/property_group_message_spec.rb +0 -58
- data/spec/models/property_group_post_message_spec.rb +0 -46
- data/spec/models/property_group_put_message_spec.rb +0 -46
- data/spec/models/property_group_search_message_spec.rb +0 -40
- data/spec/models/property_manager_message_spec.rb +0 -76
- data/spec/models/property_message_spec.rb +0 -50
- data/spec/models/recurring_transaction_line_message_spec.rb +0 -40
- data/spec/models/recurring_transaction_line_post_message_spec.rb +0 -40
- data/spec/models/recurring_transaction_message_spec.rb +0 -112
- data/spec/models/rental_appliance_message_spec.rb +0 -76
- data/spec/models/rental_appliance_post_message_spec.rb +0 -76
- data/spec/models/rental_appliance_put_message_spec.rb +0 -64
- data/spec/models/rental_appliance_search_message_spec.rb +0 -40
- data/spec/models/rental_appliance_service_history_message_spec.rb +0 -56
- data/spec/models/rental_appliance_service_history_post_message_spec.rb +0 -50
- data/spec/models/rental_features_message_spec.rb +0 -48
- data/spec/models/rental_features_put_message_spec.rb +0 -48
- data/spec/models/rental_message_spec.rb +0 -108
- data/spec/models/rental_owner_message_spec.rb +0 -118
- data/spec/models/rental_owner_post_message_spec.rb +0 -112
- data/spec/models/rental_owner_put_message_spec.rb +0 -106
- data/spec/models/rental_owner_request_task_message_spec.rb +0 -114
- data/spec/models/rental_owner_request_task_post_message_spec.rb +0 -102
- data/spec/models/rental_owner_request_task_put_message_spec.rb +0 -96
- data/spec/models/rental_owner_request_task_search_message_spec.rb +0 -112
- data/spec/models/rental_owner_tax_information_message_spec.rb +0 -68
- data/spec/models/rental_owners_search_message_spec.rb +0 -74
- data/spec/models/rental_preferred_vendor_message_spec.rb +0 -82
- data/spec/models/rental_preferred_vendor_put_message_spec.rb +0 -34
- data/spec/models/rental_property_post_message_spec.rb +0 -92
- data/spec/models/rental_property_put_message_spec.rb +0 -80
- data/spec/models/rental_property_unit_post_message_spec.rb +0 -78
- data/spec/models/rental_search_message_spec.rb +0 -88
- data/spec/models/rental_tenant_post_message_spec.rb +0 -110
- data/spec/models/rental_tenant_put_message_spec.rb +0 -104
- data/spec/models/rental_tenant_renewal_post_message_spec.rb +0 -104
- data/spec/models/rental_unit_features_message_spec.rb +0 -38
- data/spec/models/rental_unit_features_put_message_spec.rb +0 -38
- data/spec/models/rental_unit_message_spec.rb +0 -108
- data/spec/models/rental_unit_put_message_spec.rb +0 -78
- data/spec/models/rental_unit_search_message_spec.rb +0 -46
- data/spec/models/rental_units_post_message_spec.rb +0 -84
- data/spec/models/requested_by_user_entity_message_spec.rb +0 -68
- data/spec/models/resident_center_user_message_spec.rb +0 -56
- data/spec/models/resident_center_user_reference_message_spec.rb +0 -62
- data/spec/models/resident_center_user_search_message_spec.rb +0 -66
- data/spec/models/resident_request_task_message_spec.rb +0 -144
- data/spec/models/resident_request_task_post_message_spec.rb +0 -114
- data/spec/models/resident_request_task_put_message_spec.rb +0 -84
- data/spec/models/resident_request_task_search_message_spec.rb +0 -118
- data/spec/models/save_address_message_spec.rb +0 -74
- data/spec/models/save_emergency_contact_message_spec.rb +0 -52
- data/spec/models/task_category_message_spec.rb +0 -52
- data/spec/models/task_category_put_message_spec.rb +0 -34
- data/spec/models/task_category_response_message_spec.rb +0 -52
- data/spec/models/task_category_save_message_spec.rb +0 -34
- data/spec/models/task_history_file_message_spec.rb +0 -64
- data/spec/models/task_history_file_upload_post_message_spec.rb +0 -34
- data/spec/models/task_history_message_spec.rb +0 -112
- data/spec/models/task_history_put_message_spec.rb +0 -34
- data/spec/models/task_history_user_message_spec.rb +0 -52
- data/spec/models/task_search_message_spec.rb +0 -128
- data/spec/models/task_sub_category_message_spec.rb +0 -40
- data/spec/models/tax_information_post_message_spec.rb +0 -62
- data/spec/models/tax_information_save_message_spec.rb +0 -68
- data/spec/models/tenant_message_spec.rb +0 -128
- data/spec/models/tenant_search_message_spec.rb +0 -96
- data/spec/models/to_do_task_message_spec.rb +0 -108
- data/spec/models/to_do_task_post_message_spec.rb +0 -96
- data/spec/models/to_do_task_put_message_spec.rb +0 -96
- data/spec/models/to_do_task_search_message_spec.rb +0 -112
- data/spec/models/undeposited_funds_message_spec.rb +0 -34
- data/spec/models/unit_agreement_message_spec.rb +0 -50
- data/spec/models/user_message_spec.rb +0 -104
- data/spec/models/user_role_message_spec.rb +0 -52
- data/spec/models/user_search_message_spec.rb +0 -66
- data/spec/models/vehicle_message_spec.rb +0 -52
- data/spec/models/vendor_category_message_spec.rb +0 -46
- data/spec/models/vendor_category_save_message_spec.rb +0 -34
- data/spec/models/vendor_credit_line_item_message_spec.rb +0 -58
- data/spec/models/vendor_credit_line_item_post_message_spec.rb +0 -52
- data/spec/models/vendor_credit_message_spec.rb +0 -58
- data/spec/models/vendor_credit_post_message_spec.rb +0 -52
- data/spec/models/vendor_insurance_message_spec.rb +0 -46
- data/spec/models/vendor_insurance_save_message_spec.rb +0 -46
- data/spec/models/vendor_message_spec.rb +0 -130
- data/spec/models/vendor_post_message_spec.rb +0 -118
- data/spec/models/vendor_put_message_spec.rb +0 -118
- data/spec/models/vendor_refund_line_message_spec.rb +0 -58
- data/spec/models/vendor_refund_line_post_message_spec.rb +0 -52
- data/spec/models/vendor_refund_message_spec.rb +0 -74
- data/spec/models/vendor_refund_post_message_spec.rb +0 -68
- data/spec/models/vendor_search_message_spec.rb +0 -84
- data/spec/models/vendor_tax_information_message_spec.rb +0 -68
- data/spec/models/vendor_transaction_message_spec.rb +0 -68
- data/spec/models/vendor_transaction_search_message_spec.rb +0 -62
- data/spec/models/work_order_entry_contact_message_spec.rb +0 -40
- data/spec/models/work_order_entry_contact_resource_message_spec.rb +0 -44
- data/spec/models/work_order_line_item_message_spec.rb +0 -52
- data/spec/models/work_order_line_item_save_message_spec.rb +0 -52
- data/spec/models/work_order_message_spec.rb +0 -110
- data/spec/models/work_order_post_message_spec.rb +0 -98
- data/spec/models/work_order_put_message_spec.rb +0 -86
- data/spec/models/work_order_search_message_spec.rb +0 -158
- data/spec/models/work_order_task_message_spec.rb +0 -88
- data/spec/models/work_order_task_post_message_spec.rb +0 -78
@@ -0,0 +1,1531 @@
|
|
1
|
+
=begin
|
2
|
+
#Open API, powered by Buildium
|
3
|
+
|
4
|
+
# # Introduction ### Welcome! Welcome to Buildium’s API—a powerful, RESTful programming interface that lets you leverage valuable Buildium data. Using HTTP requests, you can create integrations with applications that specialize in accounting, lead tracking, and more. Enjoy greater flexibility, transparency, and control over your business! ### What's in this Guide? This guide is full of simple, easy-to-follow instructions that’ll help you use Buildium’s API like a pro. Topics include: * choosing the right resources for your use case * making HTTP requests to any resource * understanding data and response codes <br /> # Getting Started Excited to get going? We’ll walk you through the setup process. > **Note:** To take advantage of the Buildium Open API you must have a <a target=\"_blank\" href=\"https://www.buildium.com/pricing/\">**Premium Subscription**</a>. ## Account Configuration Before you can use Buildium’s API, you’ll need to make some tweaks to your account settings. <br /> ### Enabling the API In order to start creating your keys and making requests, you’ll need to enable the API. > **Tip:** You’ll need an administrator user role with access to ***Application settings*** to set things up properly. <br /> **Let's Begin!** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Application settings***. 3. Under ***System preferences***, click ***Api settings***. A modal will appear. 4. Click the ***Open API*** toggle to turn it on. Then click ***Save***. <video width=\"100%\" autoplay loop muted> <source src=\"enable_open_api.mp4\" type=\"video/mp4\" /> </video> Congratulations! Your account's enabled. Now, you’re ready to start managing API keys. <br /> <br /> If you are having issues enabling the API within your account you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## API Keys Account-level API keys authenticate every request and keep things secure. API keys have two components: a “client ID” and a “secret”. * **Client IDs** are similar to usernames. They’re used to identify your Buildium account and are safe to share. * **Secrets** are similar to passwords. They must be kept confidential. Whenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code. > **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)! ## Creating API Keys Now that the Open APi is enabled, you’ll be able to create API keys. You’re almost there! > **Tip:** You’ll need an administrator user role to complete this step, too. <br /> **How to create an API key** 1. Sign in to your [Buildium](https://signin.managebuilding.com/manager/public/authentication/login?ReturnUrl=%2Fmanager%2F) account from your browser. 2. Open the ***Settings*** menu and click ***Developer Tools***. The page will open automatically. 3. Click the ***Create API Key*** button. A modal will appear. 4. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request. Once finished, click **Next**. 5. Now, choose which pieces of Buildium data you want this API key to have access to by marking the corresponding checkboxes. Once finished, click **Next**. 6. You successfully created an API key! > **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch. <br /> <video width=\"100%\" autoplay loop muted> <source src=\"generate_open_api_key.mp4\" type=\"video/mp4\" /> </video> <br /> You have now successfully created an API key and have everything you need to send requests to the Buildium API! Before moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping your Keys Safe](#section/Getting-Started/Keeping-your-Keys-Safe) for an overview on securely storing your API keys. <br /> If you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance. <br /> ## Keeping API Keys Safe Based on their permissions, API keys could have full access to your account’s Buildium data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized. ### Recommended Practices - Avoid hard-coding client IDs and secrets inside source files. - Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms. - Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Buildium entities or to read-only access (GET resources only). - Avoid sharing client IDs and secrets across public, insecure platforms. - Establish a process to regularly recreate your client IDs and secrets from your Buildium account. <br /> <br /> ## How to Make a Request You’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes! > **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. <br /> ### Let's Get Started! #### Step 1: Get Your API Key If you haven't yet done so, obtain your API key client ID and secret from your Buildium account. Your API key is how the Buildium API authenticates requests and ensures only you can access your data. See [Getting Started](#section/Getting-Started) for a deeper dive into enabling the API and creating keys. #### Step 2: Install a HTTP client The Buildium API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Buildium API without writing code. We’ll use Postman for our example below to demonstrate sending an API request. #### Step 3: Make a Sample Request Let's dive in and make a simple request to get all the [Rental Properties](#operation/RentalsGetAllGLAccounts) response message now includes the property `IsBankAccount`. This is a boolean property that indicates whether the general ledger account is also a bank account. * A `Country` property has been added to all Address messages. This property contains an enumeration indicating the country of the address.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module Buildium
|
16
|
+
class LeaseTransactionsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Create a payment (auto allocated)
|
23
|
+
# Creates a payment on the lease ledger. Note that the recorded payment will be automatically allocated to the general ledger accounts based on the payment allocation settings. These settings can be found under the Settings > Application Settings > Residents page in your account. If you'd like to specify the GL accounts the payment should apply to, please use the <a href=\"#operation/CreatePayment\">Create a payment</a> endpoint. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
24
|
+
# @param lease_id [Integer]
|
25
|
+
# @param lease_auto_allocated_payment_post_message [LeaseAutoAllocatedPaymentPostMessage]
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [LeaseTransactionMessage]
|
28
|
+
def create_lease_auto_allocated_payment(lease_id, lease_auto_allocated_payment_post_message, opts = {})
|
29
|
+
data, _status_code, _headers = create_lease_auto_allocated_payment_with_http_info(lease_id, lease_auto_allocated_payment_post_message, opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Create a payment (auto allocated)
|
34
|
+
# Creates a payment on the lease ledger. Note that the recorded payment will be automatically allocated to the general ledger accounts based on the payment allocation settings. These settings can be found under the Settings &gt; Application Settings &gt; Residents page in your account. If you'd like to specify the GL accounts the payment should apply to, please use the <a href=\"#operation/CreatePayment\">Create a payment</a> endpoint. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
35
|
+
# @param lease_id [Integer]
|
36
|
+
# @param lease_auto_allocated_payment_post_message [LeaseAutoAllocatedPaymentPostMessage]
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
39
|
+
def create_lease_auto_allocated_payment_with_http_info(lease_id, lease_auto_allocated_payment_post_message, opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_auto_allocated_payment ...'
|
42
|
+
end
|
43
|
+
# verify the required parameter 'lease_id' is set
|
44
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_auto_allocated_payment"
|
46
|
+
end
|
47
|
+
# verify the required parameter 'lease_auto_allocated_payment_post_message' is set
|
48
|
+
if @api_client.config.client_side_validation && lease_auto_allocated_payment_post_message.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'lease_auto_allocated_payment_post_message' when calling LeaseTransactionsApi.create_lease_auto_allocated_payment"
|
50
|
+
end
|
51
|
+
# resource path
|
52
|
+
local_var_path = '/v1/leases/{leaseId}/autoallocatedpayments'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
53
|
+
|
54
|
+
# query parameters
|
55
|
+
query_params = opts[:query_params] || {}
|
56
|
+
|
57
|
+
# header parameters
|
58
|
+
header_params = opts[:header_params] || {}
|
59
|
+
# HTTP header 'Accept' (if needed)
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
61
|
+
# HTTP header 'Content-Type'
|
62
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
63
|
+
if !content_type.nil?
|
64
|
+
header_params['Content-Type'] = content_type
|
65
|
+
end
|
66
|
+
|
67
|
+
# form parameters
|
68
|
+
form_params = opts[:form_params] || {}
|
69
|
+
|
70
|
+
# http body (model)
|
71
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_auto_allocated_payment_post_message)
|
72
|
+
|
73
|
+
# return_type
|
74
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
75
|
+
|
76
|
+
# auth_names
|
77
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
78
|
+
|
79
|
+
new_options = opts.merge(
|
80
|
+
:operation => :"LeaseTransactionsApi.create_lease_auto_allocated_payment",
|
81
|
+
:header_params => header_params,
|
82
|
+
:query_params => query_params,
|
83
|
+
:form_params => form_params,
|
84
|
+
:body => post_body,
|
85
|
+
:auth_names => auth_names,
|
86
|
+
:return_type => return_type
|
87
|
+
)
|
88
|
+
|
89
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
90
|
+
if @api_client.config.debugging
|
91
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_auto_allocated_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
92
|
+
end
|
93
|
+
return data, status_code, headers
|
94
|
+
end
|
95
|
+
|
96
|
+
# Create a recurring charge
|
97
|
+
# Creates a recurring charge transaction that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
98
|
+
# @param lease_id [Integer]
|
99
|
+
# @param charge_recurring_transaction_post_message [ChargeRecurringTransactionPostMessage]
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [LeaseChargeRecurringTransactionMessage]
|
102
|
+
def create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message, opts = {})
|
103
|
+
data, _status_code, _headers = create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message, opts)
|
104
|
+
data
|
105
|
+
end
|
106
|
+
|
107
|
+
# Create a recurring charge
|
108
|
+
# Creates a recurring charge transaction that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
109
|
+
# @param lease_id [Integer]
|
110
|
+
# @param charge_recurring_transaction_post_message [ChargeRecurringTransactionPostMessage]
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Array<(LeaseChargeRecurringTransactionMessage, Integer, Hash)>] LeaseChargeRecurringTransactionMessage data, response status code and response headers
|
113
|
+
def create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message, opts = {})
|
114
|
+
if @api_client.config.debugging
|
115
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_charge_recurring_transaction ...'
|
116
|
+
end
|
117
|
+
# verify the required parameter 'lease_id' is set
|
118
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
119
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_charge_recurring_transaction"
|
120
|
+
end
|
121
|
+
# verify the required parameter 'charge_recurring_transaction_post_message' is set
|
122
|
+
if @api_client.config.client_side_validation && charge_recurring_transaction_post_message.nil?
|
123
|
+
fail ArgumentError, "Missing the required parameter 'charge_recurring_transaction_post_message' when calling LeaseTransactionsApi.create_lease_charge_recurring_transaction"
|
124
|
+
end
|
125
|
+
# resource path
|
126
|
+
local_var_path = '/v1/leases/{leaseId}/recurringcharges'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
127
|
+
|
128
|
+
# query parameters
|
129
|
+
query_params = opts[:query_params] || {}
|
130
|
+
|
131
|
+
# header parameters
|
132
|
+
header_params = opts[:header_params] || {}
|
133
|
+
# HTTP header 'Accept' (if needed)
|
134
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
135
|
+
# HTTP header 'Content-Type'
|
136
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
137
|
+
if !content_type.nil?
|
138
|
+
header_params['Content-Type'] = content_type
|
139
|
+
end
|
140
|
+
|
141
|
+
# form parameters
|
142
|
+
form_params = opts[:form_params] || {}
|
143
|
+
|
144
|
+
# http body (model)
|
145
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(charge_recurring_transaction_post_message)
|
146
|
+
|
147
|
+
# return_type
|
148
|
+
return_type = opts[:debug_return_type] || 'LeaseChargeRecurringTransactionMessage'
|
149
|
+
|
150
|
+
# auth_names
|
151
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
152
|
+
|
153
|
+
new_options = opts.merge(
|
154
|
+
:operation => :"LeaseTransactionsApi.create_lease_charge_recurring_transaction",
|
155
|
+
:header_params => header_params,
|
156
|
+
:query_params => query_params,
|
157
|
+
:form_params => form_params,
|
158
|
+
:body => post_body,
|
159
|
+
:auth_names => auth_names,
|
160
|
+
:return_type => return_type
|
161
|
+
)
|
162
|
+
|
163
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
164
|
+
if @api_client.config.debugging
|
165
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_charge_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
166
|
+
end
|
167
|
+
return data, status_code, headers
|
168
|
+
end
|
169
|
+
|
170
|
+
# Create a credit
|
171
|
+
# Creates a lease ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
172
|
+
# @param lease_id [Integer] The lease unique identifier.
|
173
|
+
# @param lease_ledger_credit_post_message [LeaseLedgerCreditPostMessage]
|
174
|
+
# @param [Hash] opts the optional parameters
|
175
|
+
# @return [LeaseTransactionMessage]
|
176
|
+
def create_lease_credit(lease_id, lease_ledger_credit_post_message, opts = {})
|
177
|
+
data, _status_code, _headers = create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message, opts)
|
178
|
+
data
|
179
|
+
end
|
180
|
+
|
181
|
+
# Create a credit
|
182
|
+
# Creates a lease ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
183
|
+
# @param lease_id [Integer] The lease unique identifier.
|
184
|
+
# @param lease_ledger_credit_post_message [LeaseLedgerCreditPostMessage]
|
185
|
+
# @param [Hash] opts the optional parameters
|
186
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
187
|
+
def create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message, opts = {})
|
188
|
+
if @api_client.config.debugging
|
189
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_credit ...'
|
190
|
+
end
|
191
|
+
# verify the required parameter 'lease_id' is set
|
192
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
193
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_credit"
|
194
|
+
end
|
195
|
+
# verify the required parameter 'lease_ledger_credit_post_message' is set
|
196
|
+
if @api_client.config.client_side_validation && lease_ledger_credit_post_message.nil?
|
197
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_credit_post_message' when calling LeaseTransactionsApi.create_lease_credit"
|
198
|
+
end
|
199
|
+
# resource path
|
200
|
+
local_var_path = '/v1/leases/{leaseId}/credits'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
201
|
+
|
202
|
+
# query parameters
|
203
|
+
query_params = opts[:query_params] || {}
|
204
|
+
|
205
|
+
# header parameters
|
206
|
+
header_params = opts[:header_params] || {}
|
207
|
+
# HTTP header 'Accept' (if needed)
|
208
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
209
|
+
# HTTP header 'Content-Type'
|
210
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
211
|
+
if !content_type.nil?
|
212
|
+
header_params['Content-Type'] = content_type
|
213
|
+
end
|
214
|
+
|
215
|
+
# form parameters
|
216
|
+
form_params = opts[:form_params] || {}
|
217
|
+
|
218
|
+
# http body (model)
|
219
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_credit_post_message)
|
220
|
+
|
221
|
+
# return_type
|
222
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
223
|
+
|
224
|
+
# auth_names
|
225
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
226
|
+
|
227
|
+
new_options = opts.merge(
|
228
|
+
:operation => :"LeaseTransactionsApi.create_lease_credit",
|
229
|
+
:header_params => header_params,
|
230
|
+
:query_params => query_params,
|
231
|
+
:form_params => form_params,
|
232
|
+
:body => post_body,
|
233
|
+
:auth_names => auth_names,
|
234
|
+
:return_type => return_type
|
235
|
+
)
|
236
|
+
|
237
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
238
|
+
if @api_client.config.debugging
|
239
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_credit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
240
|
+
end
|
241
|
+
return data, status_code, headers
|
242
|
+
end
|
243
|
+
|
244
|
+
# Create a recurring credit
|
245
|
+
# Creates a recurring credit transaction on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
246
|
+
# @param lease_id [Integer]
|
247
|
+
# @param credit_recurring_transaction_post_message [CreditRecurringTransactionPostMessage]
|
248
|
+
# @param [Hash] opts the optional parameters
|
249
|
+
# @return [LeaseRecurringCreditMessage]
|
250
|
+
def create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message, opts = {})
|
251
|
+
data, _status_code, _headers = create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message, opts)
|
252
|
+
data
|
253
|
+
end
|
254
|
+
|
255
|
+
# Create a recurring credit
|
256
|
+
# Creates a recurring credit transaction on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
257
|
+
# @param lease_id [Integer]
|
258
|
+
# @param credit_recurring_transaction_post_message [CreditRecurringTransactionPostMessage]
|
259
|
+
# @param [Hash] opts the optional parameters
|
260
|
+
# @return [Array<(LeaseRecurringCreditMessage, Integer, Hash)>] LeaseRecurringCreditMessage data, response status code and response headers
|
261
|
+
def create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message, opts = {})
|
262
|
+
if @api_client.config.debugging
|
263
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_credit_recurring_transaction ...'
|
264
|
+
end
|
265
|
+
# verify the required parameter 'lease_id' is set
|
266
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
267
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_credit_recurring_transaction"
|
268
|
+
end
|
269
|
+
# verify the required parameter 'credit_recurring_transaction_post_message' is set
|
270
|
+
if @api_client.config.client_side_validation && credit_recurring_transaction_post_message.nil?
|
271
|
+
fail ArgumentError, "Missing the required parameter 'credit_recurring_transaction_post_message' when calling LeaseTransactionsApi.create_lease_credit_recurring_transaction"
|
272
|
+
end
|
273
|
+
# resource path
|
274
|
+
local_var_path = '/v1/leases/{leaseId}/recurringcredits'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
275
|
+
|
276
|
+
# query parameters
|
277
|
+
query_params = opts[:query_params] || {}
|
278
|
+
|
279
|
+
# header parameters
|
280
|
+
header_params = opts[:header_params] || {}
|
281
|
+
# HTTP header 'Accept' (if needed)
|
282
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
283
|
+
# HTTP header 'Content-Type'
|
284
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
285
|
+
if !content_type.nil?
|
286
|
+
header_params['Content-Type'] = content_type
|
287
|
+
end
|
288
|
+
|
289
|
+
# form parameters
|
290
|
+
form_params = opts[:form_params] || {}
|
291
|
+
|
292
|
+
# http body (model)
|
293
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(credit_recurring_transaction_post_message)
|
294
|
+
|
295
|
+
# return_type
|
296
|
+
return_type = opts[:debug_return_type] || 'LeaseRecurringCreditMessage'
|
297
|
+
|
298
|
+
# auth_names
|
299
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
300
|
+
|
301
|
+
new_options = opts.merge(
|
302
|
+
:operation => :"LeaseTransactionsApi.create_lease_credit_recurring_transaction",
|
303
|
+
:header_params => header_params,
|
304
|
+
:query_params => query_params,
|
305
|
+
:form_params => form_params,
|
306
|
+
:body => post_body,
|
307
|
+
:auth_names => auth_names,
|
308
|
+
:return_type => return_type
|
309
|
+
)
|
310
|
+
|
311
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
312
|
+
if @api_client.config.debugging
|
313
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_credit_recurring_transaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
314
|
+
end
|
315
|
+
return data, status_code, headers
|
316
|
+
end
|
317
|
+
|
318
|
+
# Create a charge
|
319
|
+
# Creates a charge transaction on a specific lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
320
|
+
# @param lease_id [Integer]
|
321
|
+
# @param lease_charge_post_message [LeaseChargePostMessage]
|
322
|
+
# @param [Hash] opts the optional parameters
|
323
|
+
# @return [Array<LeaseTransactionMessage>]
|
324
|
+
def create_lease_ledger_charge(lease_id, lease_charge_post_message, opts = {})
|
325
|
+
data, _status_code, _headers = create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message, opts)
|
326
|
+
data
|
327
|
+
end
|
328
|
+
|
329
|
+
# Create a charge
|
330
|
+
# Creates a charge transaction on a specific lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
331
|
+
# @param lease_id [Integer]
|
332
|
+
# @param lease_charge_post_message [LeaseChargePostMessage]
|
333
|
+
# @param [Hash] opts the optional parameters
|
334
|
+
# @return [Array<(Array<LeaseTransactionMessage>, Integer, Hash)>] Array<LeaseTransactionMessage> data, response status code and response headers
|
335
|
+
def create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message, opts = {})
|
336
|
+
if @api_client.config.debugging
|
337
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_ledger_charge ...'
|
338
|
+
end
|
339
|
+
# verify the required parameter 'lease_id' is set
|
340
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
341
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_ledger_charge"
|
342
|
+
end
|
343
|
+
# verify the required parameter 'lease_charge_post_message' is set
|
344
|
+
if @api_client.config.client_side_validation && lease_charge_post_message.nil?
|
345
|
+
fail ArgumentError, "Missing the required parameter 'lease_charge_post_message' when calling LeaseTransactionsApi.create_lease_ledger_charge"
|
346
|
+
end
|
347
|
+
# resource path
|
348
|
+
local_var_path = '/v1/leases/{leaseId}/charges'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
349
|
+
|
350
|
+
# query parameters
|
351
|
+
query_params = opts[:query_params] || {}
|
352
|
+
|
353
|
+
# header parameters
|
354
|
+
header_params = opts[:header_params] || {}
|
355
|
+
# HTTP header 'Accept' (if needed)
|
356
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
357
|
+
# HTTP header 'Content-Type'
|
358
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
359
|
+
if !content_type.nil?
|
360
|
+
header_params['Content-Type'] = content_type
|
361
|
+
end
|
362
|
+
|
363
|
+
# form parameters
|
364
|
+
form_params = opts[:form_params] || {}
|
365
|
+
|
366
|
+
# http body (model)
|
367
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_charge_post_message)
|
368
|
+
|
369
|
+
# return_type
|
370
|
+
return_type = opts[:debug_return_type] || 'Array<LeaseTransactionMessage>'
|
371
|
+
|
372
|
+
# auth_names
|
373
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
374
|
+
|
375
|
+
new_options = opts.merge(
|
376
|
+
:operation => :"LeaseTransactionsApi.create_lease_ledger_charge",
|
377
|
+
:header_params => header_params,
|
378
|
+
:query_params => query_params,
|
379
|
+
:form_params => form_params,
|
380
|
+
:body => post_body,
|
381
|
+
:auth_names => auth_names,
|
382
|
+
:return_type => return_type
|
383
|
+
)
|
384
|
+
|
385
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
386
|
+
if @api_client.config.debugging
|
387
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_ledger_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
388
|
+
end
|
389
|
+
return data, status_code, headers
|
390
|
+
end
|
391
|
+
|
392
|
+
# Create a deposit withholding
|
393
|
+
# Withholds a resident deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Ledger</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting > General Ledger Accounts</span> - `View`
|
394
|
+
# @param lease_id [Integer]
|
395
|
+
# @param lease_ledger_deposit_withholding_post_message [LeaseLedgerDepositWithholdingPostMessage]
|
396
|
+
# @param [Hash] opts the optional parameters
|
397
|
+
# @return [LeaseTransactionMessage]
|
398
|
+
def create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message, opts = {})
|
399
|
+
data, _status_code, _headers = create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message, opts)
|
400
|
+
data
|
401
|
+
end
|
402
|
+
|
403
|
+
# Create a deposit withholding
|
404
|
+
# Withholds a resident deposit by reallocating the funds from a liability account to an income account to cover an expense(s). <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Ledger</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting &gt; General Ledger Accounts</span> - `View`
|
405
|
+
# @param lease_id [Integer]
|
406
|
+
# @param lease_ledger_deposit_withholding_post_message [LeaseLedgerDepositWithholdingPostMessage]
|
407
|
+
# @param [Hash] opts the optional parameters
|
408
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
409
|
+
def create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message, opts = {})
|
410
|
+
if @api_client.config.debugging
|
411
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_ledger_deposit_withholding ...'
|
412
|
+
end
|
413
|
+
# verify the required parameter 'lease_id' is set
|
414
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
415
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_ledger_deposit_withholding"
|
416
|
+
end
|
417
|
+
# verify the required parameter 'lease_ledger_deposit_withholding_post_message' is set
|
418
|
+
if @api_client.config.client_side_validation && lease_ledger_deposit_withholding_post_message.nil?
|
419
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_deposit_withholding_post_message' when calling LeaseTransactionsApi.create_lease_ledger_deposit_withholding"
|
420
|
+
end
|
421
|
+
# resource path
|
422
|
+
local_var_path = '/v1/leases/{leaseId}/applieddeposits'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
423
|
+
|
424
|
+
# query parameters
|
425
|
+
query_params = opts[:query_params] || {}
|
426
|
+
|
427
|
+
# header parameters
|
428
|
+
header_params = opts[:header_params] || {}
|
429
|
+
# HTTP header 'Accept' (if needed)
|
430
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
431
|
+
# HTTP header 'Content-Type'
|
432
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
433
|
+
if !content_type.nil?
|
434
|
+
header_params['Content-Type'] = content_type
|
435
|
+
end
|
436
|
+
|
437
|
+
# form parameters
|
438
|
+
form_params = opts[:form_params] || {}
|
439
|
+
|
440
|
+
# http body (model)
|
441
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_deposit_withholding_post_message)
|
442
|
+
|
443
|
+
# return_type
|
444
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
445
|
+
|
446
|
+
# auth_names
|
447
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
448
|
+
|
449
|
+
new_options = opts.merge(
|
450
|
+
:operation => :"LeaseTransactionsApi.create_lease_ledger_deposit_withholding",
|
451
|
+
:header_params => header_params,
|
452
|
+
:query_params => query_params,
|
453
|
+
:form_params => form_params,
|
454
|
+
:body => post_body,
|
455
|
+
:auth_names => auth_names,
|
456
|
+
:return_type => return_type
|
457
|
+
)
|
458
|
+
|
459
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
460
|
+
if @api_client.config.debugging
|
461
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_ledger_deposit_withholding\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
462
|
+
end
|
463
|
+
return data, status_code, headers
|
464
|
+
end
|
465
|
+
|
466
|
+
# Create a refund
|
467
|
+
# Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
468
|
+
# @param lease_id [Integer]
|
469
|
+
# @param lease_ledger_refund_post_message [LeaseLedgerRefundPostMessage]
|
470
|
+
# @param [Hash] opts the optional parameters
|
471
|
+
# @return [LeaseLedgerRefundMessage]
|
472
|
+
def create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message, opts = {})
|
473
|
+
data, _status_code, _headers = create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message, opts)
|
474
|
+
data
|
475
|
+
end
|
476
|
+
|
477
|
+
# Create a refund
|
478
|
+
# Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
479
|
+
# @param lease_id [Integer]
|
480
|
+
# @param lease_ledger_refund_post_message [LeaseLedgerRefundPostMessage]
|
481
|
+
# @param [Hash] opts the optional parameters
|
482
|
+
# @return [Array<(LeaseLedgerRefundMessage, Integer, Hash)>] LeaseLedgerRefundMessage data, response status code and response headers
|
483
|
+
def create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message, opts = {})
|
484
|
+
if @api_client.config.debugging
|
485
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_ledger_refund ...'
|
486
|
+
end
|
487
|
+
# verify the required parameter 'lease_id' is set
|
488
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
489
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_ledger_refund"
|
490
|
+
end
|
491
|
+
# verify the required parameter 'lease_ledger_refund_post_message' is set
|
492
|
+
if @api_client.config.client_side_validation && lease_ledger_refund_post_message.nil?
|
493
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_refund_post_message' when calling LeaseTransactionsApi.create_lease_ledger_refund"
|
494
|
+
end
|
495
|
+
# resource path
|
496
|
+
local_var_path = '/v1/leases/{leaseId}/refunds'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
497
|
+
|
498
|
+
# query parameters
|
499
|
+
query_params = opts[:query_params] || {}
|
500
|
+
|
501
|
+
# header parameters
|
502
|
+
header_params = opts[:header_params] || {}
|
503
|
+
# HTTP header 'Accept' (if needed)
|
504
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
505
|
+
# HTTP header 'Content-Type'
|
506
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
507
|
+
if !content_type.nil?
|
508
|
+
header_params['Content-Type'] = content_type
|
509
|
+
end
|
510
|
+
|
511
|
+
# form parameters
|
512
|
+
form_params = opts[:form_params] || {}
|
513
|
+
|
514
|
+
# http body (model)
|
515
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_refund_post_message)
|
516
|
+
|
517
|
+
# return_type
|
518
|
+
return_type = opts[:debug_return_type] || 'LeaseLedgerRefundMessage'
|
519
|
+
|
520
|
+
# auth_names
|
521
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
522
|
+
|
523
|
+
new_options = opts.merge(
|
524
|
+
:operation => :"LeaseTransactionsApi.create_lease_ledger_refund",
|
525
|
+
:header_params => header_params,
|
526
|
+
:query_params => query_params,
|
527
|
+
:form_params => form_params,
|
528
|
+
:body => post_body,
|
529
|
+
:auth_names => auth_names,
|
530
|
+
:return_type => return_type
|
531
|
+
)
|
532
|
+
|
533
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
534
|
+
if @api_client.config.debugging
|
535
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_ledger_refund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
536
|
+
end
|
537
|
+
return data, status_code, headers
|
538
|
+
end
|
539
|
+
|
540
|
+
# Create a recurring payment
|
541
|
+
# Creates a recurring payment that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View` `Edit`
|
542
|
+
# @param lease_id [Integer]
|
543
|
+
# @param payment_recurring_transaction_post_message [PaymentRecurringTransactionPostMessage]
|
544
|
+
# @param [Hash] opts the optional parameters
|
545
|
+
# @return [LeaseRecurringPaymentMessage]
|
546
|
+
def create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message, opts = {})
|
547
|
+
data, _status_code, _headers = create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message, opts)
|
548
|
+
data
|
549
|
+
end
|
550
|
+
|
551
|
+
# Create a recurring payment
|
552
|
+
# Creates a recurring payment that will post automatically on the specified lease ledger. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View` `Edit`
|
553
|
+
# @param lease_id [Integer]
|
554
|
+
# @param payment_recurring_transaction_post_message [PaymentRecurringTransactionPostMessage]
|
555
|
+
# @param [Hash] opts the optional parameters
|
556
|
+
# @return [Array<(LeaseRecurringPaymentMessage, Integer, Hash)>] LeaseRecurringPaymentMessage data, response status code and response headers
|
557
|
+
def create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message, opts = {})
|
558
|
+
if @api_client.config.debugging
|
559
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_recurring_payment ...'
|
560
|
+
end
|
561
|
+
# verify the required parameter 'lease_id' is set
|
562
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
563
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_recurring_payment"
|
564
|
+
end
|
565
|
+
# verify the required parameter 'payment_recurring_transaction_post_message' is set
|
566
|
+
if @api_client.config.client_side_validation && payment_recurring_transaction_post_message.nil?
|
567
|
+
fail ArgumentError, "Missing the required parameter 'payment_recurring_transaction_post_message' when calling LeaseTransactionsApi.create_lease_recurring_payment"
|
568
|
+
end
|
569
|
+
# resource path
|
570
|
+
local_var_path = '/v1/leases/{leaseId}/recurringpayments'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
571
|
+
|
572
|
+
# query parameters
|
573
|
+
query_params = opts[:query_params] || {}
|
574
|
+
|
575
|
+
# header parameters
|
576
|
+
header_params = opts[:header_params] || {}
|
577
|
+
# HTTP header 'Accept' (if needed)
|
578
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
579
|
+
# HTTP header 'Content-Type'
|
580
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
581
|
+
if !content_type.nil?
|
582
|
+
header_params['Content-Type'] = content_type
|
583
|
+
end
|
584
|
+
|
585
|
+
# form parameters
|
586
|
+
form_params = opts[:form_params] || {}
|
587
|
+
|
588
|
+
# http body (model)
|
589
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(payment_recurring_transaction_post_message)
|
590
|
+
|
591
|
+
# return_type
|
592
|
+
return_type = opts[:debug_return_type] || 'LeaseRecurringPaymentMessage'
|
593
|
+
|
594
|
+
# auth_names
|
595
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
596
|
+
|
597
|
+
new_options = opts.merge(
|
598
|
+
:operation => :"LeaseTransactionsApi.create_lease_recurring_payment",
|
599
|
+
:header_params => header_params,
|
600
|
+
:query_params => query_params,
|
601
|
+
:form_params => form_params,
|
602
|
+
:body => post_body,
|
603
|
+
:auth_names => auth_names,
|
604
|
+
:return_type => return_type
|
605
|
+
)
|
606
|
+
|
607
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
608
|
+
if @api_client.config.debugging
|
609
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_recurring_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
610
|
+
end
|
611
|
+
return data, status_code, headers
|
612
|
+
end
|
613
|
+
|
614
|
+
# Create a payment reversal
|
615
|
+
# Reverses a lease ledger payment. Note, this action can only be taken on a payment that has been deposited. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
616
|
+
# @param lease_id [Integer] The lease unique identifier.
|
617
|
+
# @param lease_ledger_reverse_payment_post_message [LeaseLedgerReversePaymentPostMessage]
|
618
|
+
# @param [Hash] opts the optional parameters
|
619
|
+
# @return [LeaseTransactionMessage]
|
620
|
+
def create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message, opts = {})
|
621
|
+
data, _status_code, _headers = create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message, opts)
|
622
|
+
data
|
623
|
+
end
|
624
|
+
|
625
|
+
# Create a payment reversal
|
626
|
+
# Reverses a lease ledger payment. Note, this action can only be taken on a payment that has been deposited. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit` <br /><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View` `Edit`
|
627
|
+
# @param lease_id [Integer] The lease unique identifier.
|
628
|
+
# @param lease_ledger_reverse_payment_post_message [LeaseLedgerReversePaymentPostMessage]
|
629
|
+
# @param [Hash] opts the optional parameters
|
630
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
631
|
+
def create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message, opts = {})
|
632
|
+
if @api_client.config.debugging
|
633
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_lease_reverse_payment ...'
|
634
|
+
end
|
635
|
+
# verify the required parameter 'lease_id' is set
|
636
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
637
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_lease_reverse_payment"
|
638
|
+
end
|
639
|
+
# verify the required parameter 'lease_ledger_reverse_payment_post_message' is set
|
640
|
+
if @api_client.config.client_side_validation && lease_ledger_reverse_payment_post_message.nil?
|
641
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_reverse_payment_post_message' when calling LeaseTransactionsApi.create_lease_reverse_payment"
|
642
|
+
end
|
643
|
+
# resource path
|
644
|
+
local_var_path = '/v1/leases/{leaseId}/reversepayments'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
645
|
+
|
646
|
+
# query parameters
|
647
|
+
query_params = opts[:query_params] || {}
|
648
|
+
|
649
|
+
# header parameters
|
650
|
+
header_params = opts[:header_params] || {}
|
651
|
+
# HTTP header 'Accept' (if needed)
|
652
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
653
|
+
# HTTP header 'Content-Type'
|
654
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
655
|
+
if !content_type.nil?
|
656
|
+
header_params['Content-Type'] = content_type
|
657
|
+
end
|
658
|
+
|
659
|
+
# form parameters
|
660
|
+
form_params = opts[:form_params] || {}
|
661
|
+
|
662
|
+
# http body (model)
|
663
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_reverse_payment_post_message)
|
664
|
+
|
665
|
+
# return_type
|
666
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
667
|
+
|
668
|
+
# auth_names
|
669
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
670
|
+
|
671
|
+
new_options = opts.merge(
|
672
|
+
:operation => :"LeaseTransactionsApi.create_lease_reverse_payment",
|
673
|
+
:header_params => header_params,
|
674
|
+
:query_params => query_params,
|
675
|
+
:form_params => form_params,
|
676
|
+
:body => post_body,
|
677
|
+
:auth_names => auth_names,
|
678
|
+
:return_type => return_type
|
679
|
+
)
|
680
|
+
|
681
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
682
|
+
if @api_client.config.debugging
|
683
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_lease_reverse_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
684
|
+
end
|
685
|
+
return data, status_code, headers
|
686
|
+
end
|
687
|
+
|
688
|
+
# Create a payment
|
689
|
+
# Creates a lease ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
690
|
+
# @param lease_id [Integer] The lease unique identifier.
|
691
|
+
# @param lease_ledger_payment_post_message [LeaseLedgerPaymentPostMessage]
|
692
|
+
# @param [Hash] opts the optional parameters
|
693
|
+
# @return [LeaseTransactionMessage]
|
694
|
+
def create_payment(lease_id, lease_ledger_payment_post_message, opts = {})
|
695
|
+
data, _status_code, _headers = create_payment_with_http_info(lease_id, lease_ledger_payment_post_message, opts)
|
696
|
+
data
|
697
|
+
end
|
698
|
+
|
699
|
+
# Create a payment
|
700
|
+
# Creates a lease ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
701
|
+
# @param lease_id [Integer] The lease unique identifier.
|
702
|
+
# @param lease_ledger_payment_post_message [LeaseLedgerPaymentPostMessage]
|
703
|
+
# @param [Hash] opts the optional parameters
|
704
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
705
|
+
def create_payment_with_http_info(lease_id, lease_ledger_payment_post_message, opts = {})
|
706
|
+
if @api_client.config.debugging
|
707
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.create_payment ...'
|
708
|
+
end
|
709
|
+
# verify the required parameter 'lease_id' is set
|
710
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
711
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.create_payment"
|
712
|
+
end
|
713
|
+
# verify the required parameter 'lease_ledger_payment_post_message' is set
|
714
|
+
if @api_client.config.client_side_validation && lease_ledger_payment_post_message.nil?
|
715
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_payment_post_message' when calling LeaseTransactionsApi.create_payment"
|
716
|
+
end
|
717
|
+
# resource path
|
718
|
+
local_var_path = '/v1/leases/{leaseId}/payments'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
719
|
+
|
720
|
+
# query parameters
|
721
|
+
query_params = opts[:query_params] || {}
|
722
|
+
|
723
|
+
# header parameters
|
724
|
+
header_params = opts[:header_params] || {}
|
725
|
+
# HTTP header 'Accept' (if needed)
|
726
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
727
|
+
# HTTP header 'Content-Type'
|
728
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
729
|
+
if !content_type.nil?
|
730
|
+
header_params['Content-Type'] = content_type
|
731
|
+
end
|
732
|
+
|
733
|
+
# form parameters
|
734
|
+
form_params = opts[:form_params] || {}
|
735
|
+
|
736
|
+
# http body (model)
|
737
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_payment_post_message)
|
738
|
+
|
739
|
+
# return_type
|
740
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
741
|
+
|
742
|
+
# auth_names
|
743
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
744
|
+
|
745
|
+
new_options = opts.merge(
|
746
|
+
:operation => :"LeaseTransactionsApi.create_payment",
|
747
|
+
:header_params => header_params,
|
748
|
+
:query_params => query_params,
|
749
|
+
:form_params => form_params,
|
750
|
+
:body => post_body,
|
751
|
+
:auth_names => auth_names,
|
752
|
+
:return_type => return_type
|
753
|
+
)
|
754
|
+
|
755
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
756
|
+
if @api_client.config.debugging
|
757
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#create_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
758
|
+
end
|
759
|
+
return data, status_code, headers
|
760
|
+
end
|
761
|
+
|
762
|
+
# Retrieve a recurring charge
|
763
|
+
# Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
764
|
+
# @param lease_id [Integer]
|
765
|
+
# @param transaction_id [Integer]
|
766
|
+
# @param [Hash] opts the optional parameters
|
767
|
+
# @return [LeaseChargeRecurringTransactionMessage]
|
768
|
+
def get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id, opts = {})
|
769
|
+
data, _status_code, _headers = get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id, opts)
|
770
|
+
data
|
771
|
+
end
|
772
|
+
|
773
|
+
# Retrieve a recurring charge
|
774
|
+
# Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
|
775
|
+
# @param lease_id [Integer]
|
776
|
+
# @param transaction_id [Integer]
|
777
|
+
# @param [Hash] opts the optional parameters
|
778
|
+
# @return [Array<(LeaseChargeRecurringTransactionMessage, Integer, Hash)>] LeaseChargeRecurringTransactionMessage data, response status code and response headers
|
779
|
+
def get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id, opts = {})
|
780
|
+
if @api_client.config.debugging
|
781
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_charge_recurring_transaction_by_id ...'
|
782
|
+
end
|
783
|
+
# verify the required parameter 'lease_id' is set
|
784
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
785
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_charge_recurring_transaction_by_id"
|
786
|
+
end
|
787
|
+
# verify the required parameter 'transaction_id' is set
|
788
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
789
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling LeaseTransactionsApi.get_lease_charge_recurring_transaction_by_id"
|
790
|
+
end
|
791
|
+
# resource path
|
792
|
+
local_var_path = '/v1/leases/{leaseId}/recurringcharges/{transactionId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
793
|
+
|
794
|
+
# query parameters
|
795
|
+
query_params = opts[:query_params] || {}
|
796
|
+
|
797
|
+
# header parameters
|
798
|
+
header_params = opts[:header_params] || {}
|
799
|
+
# HTTP header 'Accept' (if needed)
|
800
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
801
|
+
|
802
|
+
# form parameters
|
803
|
+
form_params = opts[:form_params] || {}
|
804
|
+
|
805
|
+
# http body (model)
|
806
|
+
post_body = opts[:debug_body]
|
807
|
+
|
808
|
+
# return_type
|
809
|
+
return_type = opts[:debug_return_type] || 'LeaseChargeRecurringTransactionMessage'
|
810
|
+
|
811
|
+
# auth_names
|
812
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
813
|
+
|
814
|
+
new_options = opts.merge(
|
815
|
+
:operation => :"LeaseTransactionsApi.get_lease_charge_recurring_transaction_by_id",
|
816
|
+
:header_params => header_params,
|
817
|
+
:query_params => query_params,
|
818
|
+
:form_params => form_params,
|
819
|
+
:body => post_body,
|
820
|
+
:auth_names => auth_names,
|
821
|
+
:return_type => return_type
|
822
|
+
)
|
823
|
+
|
824
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
825
|
+
if @api_client.config.debugging
|
826
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_charge_recurring_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
827
|
+
end
|
828
|
+
return data, status_code, headers
|
829
|
+
end
|
830
|
+
|
831
|
+
# Retrieve a refund
|
832
|
+
# Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
833
|
+
# @param lease_id [Integer]
|
834
|
+
# @param refund_id [Integer]
|
835
|
+
# @param [Hash] opts the optional parameters
|
836
|
+
# @return [LeaseLedgerRefundMessage]
|
837
|
+
def get_lease_ledger_refund_by_id(lease_id, refund_id, opts = {})
|
838
|
+
data, _status_code, _headers = get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id, opts)
|
839
|
+
data
|
840
|
+
end
|
841
|
+
|
842
|
+
# Retrieve a refund
|
843
|
+
# Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting &gt; Bank Accounts</span> - `View`
|
844
|
+
# @param lease_id [Integer]
|
845
|
+
# @param refund_id [Integer]
|
846
|
+
# @param [Hash] opts the optional parameters
|
847
|
+
# @return [Array<(LeaseLedgerRefundMessage, Integer, Hash)>] LeaseLedgerRefundMessage data, response status code and response headers
|
848
|
+
def get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id, opts = {})
|
849
|
+
if @api_client.config.debugging
|
850
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_ledger_refund_by_id ...'
|
851
|
+
end
|
852
|
+
# verify the required parameter 'lease_id' is set
|
853
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
854
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_ledger_refund_by_id"
|
855
|
+
end
|
856
|
+
# verify the required parameter 'refund_id' is set
|
857
|
+
if @api_client.config.client_side_validation && refund_id.nil?
|
858
|
+
fail ArgumentError, "Missing the required parameter 'refund_id' when calling LeaseTransactionsApi.get_lease_ledger_refund_by_id"
|
859
|
+
end
|
860
|
+
# resource path
|
861
|
+
local_var_path = '/v1/leases/{leaseId}/refunds/{refundId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'refundId' + '}', CGI.escape(refund_id.to_s))
|
862
|
+
|
863
|
+
# query parameters
|
864
|
+
query_params = opts[:query_params] || {}
|
865
|
+
|
866
|
+
# header parameters
|
867
|
+
header_params = opts[:header_params] || {}
|
868
|
+
# HTTP header 'Accept' (if needed)
|
869
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
870
|
+
|
871
|
+
# form parameters
|
872
|
+
form_params = opts[:form_params] || {}
|
873
|
+
|
874
|
+
# http body (model)
|
875
|
+
post_body = opts[:debug_body]
|
876
|
+
|
877
|
+
# return_type
|
878
|
+
return_type = opts[:debug_return_type] || 'LeaseLedgerRefundMessage'
|
879
|
+
|
880
|
+
# auth_names
|
881
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
882
|
+
|
883
|
+
new_options = opts.merge(
|
884
|
+
:operation => :"LeaseTransactionsApi.get_lease_ledger_refund_by_id",
|
885
|
+
:header_params => header_params,
|
886
|
+
:query_params => query_params,
|
887
|
+
:form_params => form_params,
|
888
|
+
:body => post_body,
|
889
|
+
:auth_names => auth_names,
|
890
|
+
:return_type => return_type
|
891
|
+
)
|
892
|
+
|
893
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
894
|
+
if @api_client.config.debugging
|
895
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_ledger_refund_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
896
|
+
end
|
897
|
+
return data, status_code, headers
|
898
|
+
end
|
899
|
+
|
900
|
+
# Retrieve a lease transaction
|
901
|
+
# Retrieves a specific lease transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
902
|
+
# @param lease_id [Integer]
|
903
|
+
# @param transaction_id [Integer]
|
904
|
+
# @param [Hash] opts the optional parameters
|
905
|
+
# @return [LeaseTransactionMessage]
|
906
|
+
def get_lease_ledger_transaction_by_id(lease_id, transaction_id, opts = {})
|
907
|
+
data, _status_code, _headers = get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id, opts)
|
908
|
+
data
|
909
|
+
end
|
910
|
+
|
911
|
+
# Retrieve a lease transaction
|
912
|
+
# Retrieves a specific lease transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View`
|
913
|
+
# @param lease_id [Integer]
|
914
|
+
# @param transaction_id [Integer]
|
915
|
+
# @param [Hash] opts the optional parameters
|
916
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
917
|
+
def get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id, opts = {})
|
918
|
+
if @api_client.config.debugging
|
919
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_ledger_transaction_by_id ...'
|
920
|
+
end
|
921
|
+
# verify the required parameter 'lease_id' is set
|
922
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
923
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_ledger_transaction_by_id"
|
924
|
+
end
|
925
|
+
# verify the required parameter 'transaction_id' is set
|
926
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
927
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling LeaseTransactionsApi.get_lease_ledger_transaction_by_id"
|
928
|
+
end
|
929
|
+
# resource path
|
930
|
+
local_var_path = '/v1/leases/{leaseId}/transactions/{transactionId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
931
|
+
|
932
|
+
# query parameters
|
933
|
+
query_params = opts[:query_params] || {}
|
934
|
+
|
935
|
+
# header parameters
|
936
|
+
header_params = opts[:header_params] || {}
|
937
|
+
# HTTP header 'Accept' (if needed)
|
938
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
939
|
+
|
940
|
+
# form parameters
|
941
|
+
form_params = opts[:form_params] || {}
|
942
|
+
|
943
|
+
# http body (model)
|
944
|
+
post_body = opts[:debug_body]
|
945
|
+
|
946
|
+
# return_type
|
947
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
948
|
+
|
949
|
+
# auth_names
|
950
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
951
|
+
|
952
|
+
new_options = opts.merge(
|
953
|
+
:operation => :"LeaseTransactionsApi.get_lease_ledger_transaction_by_id",
|
954
|
+
:header_params => header_params,
|
955
|
+
:query_params => query_params,
|
956
|
+
:form_params => form_params,
|
957
|
+
:body => post_body,
|
958
|
+
:auth_names => auth_names,
|
959
|
+
:return_type => return_type
|
960
|
+
)
|
961
|
+
|
962
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
963
|
+
if @api_client.config.debugging
|
964
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_ledger_transaction_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
965
|
+
end
|
966
|
+
return data, status_code, headers
|
967
|
+
end
|
968
|
+
|
969
|
+
# Retrieve all lease transactions
|
970
|
+
# Retrieves all the transactions for a specific lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
971
|
+
# @param lease_id [Integer]
|
972
|
+
# @param [Hash] opts the optional parameters
|
973
|
+
# @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
974
|
+
# @option opts [Date] :transactiondateto Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
975
|
+
# @option opts [Array<String>] :transactiontypes Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
|
976
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
977
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
978
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
979
|
+
# @return [Array<LeaseTransactionMessage>]
|
980
|
+
def get_lease_ledgers(lease_id, opts = {})
|
981
|
+
data, _status_code, _headers = get_lease_ledgers_with_http_info(lease_id, opts)
|
982
|
+
data
|
983
|
+
end
|
984
|
+
|
985
|
+
# Retrieve all lease transactions
|
986
|
+
# Retrieves all the transactions for a specific lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
|
987
|
+
# @param lease_id [Integer]
|
988
|
+
# @param [Hash] opts the optional parameters
|
989
|
+
# @option opts [Date] :transactiondatefrom Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
990
|
+
# @option opts [Date] :transactiondateto Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
991
|
+
# @option opts [Array<String>] :transactiontypes Filters results to any lease transaction whose lease transaction type matches the specified status. If no type is specified, lease transactions with any type will be returned.
|
992
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
993
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
994
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
995
|
+
# @return [Array<(Array<LeaseTransactionMessage>, Integer, Hash)>] Array<LeaseTransactionMessage> data, response status code and response headers
|
996
|
+
def get_lease_ledgers_with_http_info(lease_id, opts = {})
|
997
|
+
if @api_client.config.debugging
|
998
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_ledgers ...'
|
999
|
+
end
|
1000
|
+
# verify the required parameter 'lease_id' is set
|
1001
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1002
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_ledgers"
|
1003
|
+
end
|
1004
|
+
allowable_values = ["Bill", "Check", "Charge", "Payment", "Credit", "Refund", "ApplyDeposit", "ElectronicFundsTransfer", "Other", "Deposit", "GeneralJournalEntry", "OwnerContribution", "ReversePayment", "ReverseElectronicFundsTransfer", "VendorCredit", "RentalApplicationFeePayment", "ReverseRentalApplicationFeePayment", "ReverseOwnerContribution", "VendorRefund", "UnreversedPayment", "UnreversedElectronicFundsTransfer", "UnreversedOwnerContribution", "UnreversedRentalApplicationFeePayment"]
|
1005
|
+
if @api_client.config.client_side_validation && opts[:'transactiontypes'] && !opts[:'transactiontypes'].all? { |item| allowable_values.include?(item) }
|
1006
|
+
fail ArgumentError, "invalid value for \"transactiontypes\", must include one of #{allowable_values}"
|
1007
|
+
end
|
1008
|
+
# resource path
|
1009
|
+
local_var_path = '/v1/leases/{leaseId}/transactions'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
1010
|
+
|
1011
|
+
# query parameters
|
1012
|
+
query_params = opts[:query_params] || {}
|
1013
|
+
query_params[:'transactiondatefrom'] = opts[:'transactiondatefrom'] if !opts[:'transactiondatefrom'].nil?
|
1014
|
+
query_params[:'transactiondateto'] = opts[:'transactiondateto'] if !opts[:'transactiondateto'].nil?
|
1015
|
+
query_params[:'transactiontypes'] = @api_client.build_collection_param(opts[:'transactiontypes'], :multi) if !opts[:'transactiontypes'].nil?
|
1016
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
1017
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1018
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1019
|
+
|
1020
|
+
# header parameters
|
1021
|
+
header_params = opts[:header_params] || {}
|
1022
|
+
# HTTP header 'Accept' (if needed)
|
1023
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1024
|
+
|
1025
|
+
# form parameters
|
1026
|
+
form_params = opts[:form_params] || {}
|
1027
|
+
|
1028
|
+
# http body (model)
|
1029
|
+
post_body = opts[:debug_body]
|
1030
|
+
|
1031
|
+
# return_type
|
1032
|
+
return_type = opts[:debug_return_type] || 'Array<LeaseTransactionMessage>'
|
1033
|
+
|
1034
|
+
# auth_names
|
1035
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1036
|
+
|
1037
|
+
new_options = opts.merge(
|
1038
|
+
:operation => :"LeaseTransactionsApi.get_lease_ledgers",
|
1039
|
+
:header_params => header_params,
|
1040
|
+
:query_params => query_params,
|
1041
|
+
:form_params => form_params,
|
1042
|
+
:body => post_body,
|
1043
|
+
:auth_names => auth_names,
|
1044
|
+
:return_type => return_type
|
1045
|
+
)
|
1046
|
+
|
1047
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1048
|
+
if @api_client.config.debugging
|
1049
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_ledgers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1050
|
+
end
|
1051
|
+
return data, status_code, headers
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
# Retrieve all outstanding balances
|
1055
|
+
# Retrieves a list of leases that have outstanding balances. Leases with a zero or credit balance will not be returned in the results. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Outstanding Balances</span> - `View`
|
1056
|
+
# @param [Hash] opts the optional parameters
|
1057
|
+
# @option opts [String] :entitytype
|
1058
|
+
# @option opts [Integer] :entityid
|
1059
|
+
# @option opts [Array<String>] :leasestatuses
|
1060
|
+
# @option opts [Array<Integer>] :leaseids
|
1061
|
+
# @option opts [String] :pastdueemail
|
1062
|
+
# @option opts [String] :balanceduration
|
1063
|
+
# @option opts [String] :evictionstatus
|
1064
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1065
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1066
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
1067
|
+
# @return [Array<LeaseOutstandingBalanceMessage>]
|
1068
|
+
def get_lease_outstanding_balances(opts = {})
|
1069
|
+
data, _status_code, _headers = get_lease_outstanding_balances_with_http_info(opts)
|
1070
|
+
data
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# Retrieve all outstanding balances
|
1074
|
+
# Retrieves a list of leases that have outstanding balances. Leases with a zero or credit balance will not be returned in the results. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Outstanding Balances</span> - `View`
|
1075
|
+
# @param [Hash] opts the optional parameters
|
1076
|
+
# @option opts [String] :entitytype
|
1077
|
+
# @option opts [Integer] :entityid
|
1078
|
+
# @option opts [Array<String>] :leasestatuses
|
1079
|
+
# @option opts [Array<Integer>] :leaseids
|
1080
|
+
# @option opts [String] :pastdueemail
|
1081
|
+
# @option opts [String] :balanceduration
|
1082
|
+
# @option opts [String] :evictionstatus
|
1083
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1084
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1085
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
1086
|
+
# @return [Array<(Array<LeaseOutstandingBalanceMessage>, Integer, Hash)>] Array<LeaseOutstandingBalanceMessage> data, response status code and response headers
|
1087
|
+
def get_lease_outstanding_balances_with_http_info(opts = {})
|
1088
|
+
if @api_client.config.debugging
|
1089
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_outstanding_balances ...'
|
1090
|
+
end
|
1091
|
+
allowable_values = ["Rental", "RentalOwner"]
|
1092
|
+
if @api_client.config.client_side_validation && opts[:'entitytype'] && !allowable_values.include?(opts[:'entitytype'])
|
1093
|
+
fail ArgumentError, "invalid value for \"entitytype\", must be one of #{allowable_values}"
|
1094
|
+
end
|
1095
|
+
allowable_values = ["Active", "Past", "Future"]
|
1096
|
+
if @api_client.config.client_side_validation && opts[:'leasestatuses'] && !opts[:'leasestatuses'].all? { |item| allowable_values.include?(item) }
|
1097
|
+
fail ArgumentError, "invalid value for \"leasestatuses\", must include one of #{allowable_values}"
|
1098
|
+
end
|
1099
|
+
allowable_values = ["NoEmailAddress", "Sent"]
|
1100
|
+
if @api_client.config.client_side_validation && opts[:'pastdueemail'] && !allowable_values.include?(opts[:'pastdueemail'])
|
1101
|
+
fail ArgumentError, "invalid value for \"pastdueemail\", must be one of #{allowable_values}"
|
1102
|
+
end
|
1103
|
+
allowable_values = ["TotalBalance", "Balance0to30Days", "Balance31to60Days", "Balance61to90Days", "BalanceOver90Days"]
|
1104
|
+
if @api_client.config.client_side_validation && opts[:'balanceduration'] && !allowable_values.include?(opts[:'balanceduration'])
|
1105
|
+
fail ArgumentError, "invalid value for \"balanceduration\", must be one of #{allowable_values}"
|
1106
|
+
end
|
1107
|
+
allowable_values = ["NotEvictionPending", "EvictionPending"]
|
1108
|
+
if @api_client.config.client_side_validation && opts[:'evictionstatus'] && !allowable_values.include?(opts[:'evictionstatus'])
|
1109
|
+
fail ArgumentError, "invalid value for \"evictionstatus\", must be one of #{allowable_values}"
|
1110
|
+
end
|
1111
|
+
# resource path
|
1112
|
+
local_var_path = '/v1/leases/outstandingbalances'
|
1113
|
+
|
1114
|
+
# query parameters
|
1115
|
+
query_params = opts[:query_params] || {}
|
1116
|
+
query_params[:'entitytype'] = opts[:'entitytype'] if !opts[:'entitytype'].nil?
|
1117
|
+
query_params[:'entityid'] = opts[:'entityid'] if !opts[:'entityid'].nil?
|
1118
|
+
query_params[:'leasestatuses'] = @api_client.build_collection_param(opts[:'leasestatuses'], :multi) if !opts[:'leasestatuses'].nil?
|
1119
|
+
query_params[:'leaseids'] = @api_client.build_collection_param(opts[:'leaseids'], :multi) if !opts[:'leaseids'].nil?
|
1120
|
+
query_params[:'pastdueemail'] = opts[:'pastdueemail'] if !opts[:'pastdueemail'].nil?
|
1121
|
+
query_params[:'balanceduration'] = opts[:'balanceduration'] if !opts[:'balanceduration'].nil?
|
1122
|
+
query_params[:'evictionstatus'] = opts[:'evictionstatus'] if !opts[:'evictionstatus'].nil?
|
1123
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
1124
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1125
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1126
|
+
|
1127
|
+
# header parameters
|
1128
|
+
header_params = opts[:header_params] || {}
|
1129
|
+
# HTTP header 'Accept' (if needed)
|
1130
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1131
|
+
|
1132
|
+
# form parameters
|
1133
|
+
form_params = opts[:form_params] || {}
|
1134
|
+
|
1135
|
+
# http body (model)
|
1136
|
+
post_body = opts[:debug_body]
|
1137
|
+
|
1138
|
+
# return_type
|
1139
|
+
return_type = opts[:debug_return_type] || 'Array<LeaseOutstandingBalanceMessage>'
|
1140
|
+
|
1141
|
+
# auth_names
|
1142
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1143
|
+
|
1144
|
+
new_options = opts.merge(
|
1145
|
+
:operation => :"LeaseTransactionsApi.get_lease_outstanding_balances",
|
1146
|
+
:header_params => header_params,
|
1147
|
+
:query_params => query_params,
|
1148
|
+
:form_params => form_params,
|
1149
|
+
:body => post_body,
|
1150
|
+
:auth_names => auth_names,
|
1151
|
+
:return_type => return_type
|
1152
|
+
)
|
1153
|
+
|
1154
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1155
|
+
if @api_client.config.debugging
|
1156
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_outstanding_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1157
|
+
end
|
1158
|
+
return data, status_code, headers
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
# Retrieve a recurring credit
|
1162
|
+
# Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
1163
|
+
# @param lease_id [Integer]
|
1164
|
+
# @param transaction_id [Integer]
|
1165
|
+
# @param [Hash] opts the optional parameters
|
1166
|
+
# @return [LeaseRecurringCreditMessage]
|
1167
|
+
def get_lease_recurring_credit_by_id(lease_id, transaction_id, opts = {})
|
1168
|
+
data, _status_code, _headers = get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id, opts)
|
1169
|
+
data
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Retrieve a recurring credit
|
1173
|
+
# Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
|
1174
|
+
# @param lease_id [Integer]
|
1175
|
+
# @param transaction_id [Integer]
|
1176
|
+
# @param [Hash] opts the optional parameters
|
1177
|
+
# @return [Array<(LeaseRecurringCreditMessage, Integer, Hash)>] LeaseRecurringCreditMessage data, response status code and response headers
|
1178
|
+
def get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id, opts = {})
|
1179
|
+
if @api_client.config.debugging
|
1180
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_recurring_credit_by_id ...'
|
1181
|
+
end
|
1182
|
+
# verify the required parameter 'lease_id' is set
|
1183
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1184
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_recurring_credit_by_id"
|
1185
|
+
end
|
1186
|
+
# verify the required parameter 'transaction_id' is set
|
1187
|
+
if @api_client.config.client_side_validation && transaction_id.nil?
|
1188
|
+
fail ArgumentError, "Missing the required parameter 'transaction_id' when calling LeaseTransactionsApi.get_lease_recurring_credit_by_id"
|
1189
|
+
end
|
1190
|
+
# resource path
|
1191
|
+
local_var_path = '/v1/leases/{leaseId}/recurringcredits/{transactionId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'transactionId' + '}', CGI.escape(transaction_id.to_s))
|
1192
|
+
|
1193
|
+
# query parameters
|
1194
|
+
query_params = opts[:query_params] || {}
|
1195
|
+
|
1196
|
+
# header parameters
|
1197
|
+
header_params = opts[:header_params] || {}
|
1198
|
+
# HTTP header 'Accept' (if needed)
|
1199
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1200
|
+
|
1201
|
+
# form parameters
|
1202
|
+
form_params = opts[:form_params] || {}
|
1203
|
+
|
1204
|
+
# http body (model)
|
1205
|
+
post_body = opts[:debug_body]
|
1206
|
+
|
1207
|
+
# return_type
|
1208
|
+
return_type = opts[:debug_return_type] || 'LeaseRecurringCreditMessage'
|
1209
|
+
|
1210
|
+
# auth_names
|
1211
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1212
|
+
|
1213
|
+
new_options = opts.merge(
|
1214
|
+
:operation => :"LeaseTransactionsApi.get_lease_recurring_credit_by_id",
|
1215
|
+
:header_params => header_params,
|
1216
|
+
:query_params => query_params,
|
1217
|
+
:form_params => form_params,
|
1218
|
+
:body => post_body,
|
1219
|
+
:auth_names => auth_names,
|
1220
|
+
:return_type => return_type
|
1221
|
+
)
|
1222
|
+
|
1223
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1224
|
+
if @api_client.config.debugging
|
1225
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_recurring_credit_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1226
|
+
end
|
1227
|
+
return data, status_code, headers
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# Retrieve all recurring transactions
|
1231
|
+
# Retrieves all recurring transactions for a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
1232
|
+
# @param lease_id [Integer]
|
1233
|
+
# @param [Hash] opts the optional parameters
|
1234
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1235
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1236
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
1237
|
+
# @return [Array<RecurringTransactionMessage>]
|
1238
|
+
def get_lease_recurring_transactions(lease_id, opts = {})
|
1239
|
+
data, _status_code, _headers = get_lease_recurring_transactions_with_http_info(lease_id, opts)
|
1240
|
+
data
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# Retrieve all recurring transactions
|
1244
|
+
# Retrieves all recurring transactions for a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View`
|
1245
|
+
# @param lease_id [Integer]
|
1246
|
+
# @param [Hash] opts the optional parameters
|
1247
|
+
# @option opts [String] :orderby `orderby` indicates the field(s) and direction to sort the results in the response. See <a href=\"#section/API-Overview/Bulk-Request-Options\">Bulk Request Options</a> for more information.
|
1248
|
+
# @option opts [Integer] :offset `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1249
|
+
# @option opts [Integer] :limit `limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 1000 and the default is 50.
|
1250
|
+
# @return [Array<(Array<RecurringTransactionMessage>, Integer, Hash)>] Array<RecurringTransactionMessage> data, response status code and response headers
|
1251
|
+
def get_lease_recurring_transactions_with_http_info(lease_id, opts = {})
|
1252
|
+
if @api_client.config.debugging
|
1253
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_lease_recurring_transactions ...'
|
1254
|
+
end
|
1255
|
+
# verify the required parameter 'lease_id' is set
|
1256
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1257
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_lease_recurring_transactions"
|
1258
|
+
end
|
1259
|
+
# resource path
|
1260
|
+
local_var_path = '/v1/leases/{leaseId}/recurringtransactions'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s))
|
1261
|
+
|
1262
|
+
# query parameters
|
1263
|
+
query_params = opts[:query_params] || {}
|
1264
|
+
query_params[:'orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
1265
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1266
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1267
|
+
|
1268
|
+
# header parameters
|
1269
|
+
header_params = opts[:header_params] || {}
|
1270
|
+
# HTTP header 'Accept' (if needed)
|
1271
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1272
|
+
|
1273
|
+
# form parameters
|
1274
|
+
form_params = opts[:form_params] || {}
|
1275
|
+
|
1276
|
+
# http body (model)
|
1277
|
+
post_body = opts[:debug_body]
|
1278
|
+
|
1279
|
+
# return_type
|
1280
|
+
return_type = opts[:debug_return_type] || 'Array<RecurringTransactionMessage>'
|
1281
|
+
|
1282
|
+
# auth_names
|
1283
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1284
|
+
|
1285
|
+
new_options = opts.merge(
|
1286
|
+
:operation => :"LeaseTransactionsApi.get_lease_recurring_transactions",
|
1287
|
+
:header_params => header_params,
|
1288
|
+
:query_params => query_params,
|
1289
|
+
:form_params => form_params,
|
1290
|
+
:body => post_body,
|
1291
|
+
:auth_names => auth_names,
|
1292
|
+
:return_type => return_type
|
1293
|
+
)
|
1294
|
+
|
1295
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1296
|
+
if @api_client.config.debugging
|
1297
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_lease_recurring_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1298
|
+
end
|
1299
|
+
return data, status_code, headers
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Retrieve a recurring payment
|
1303
|
+
# Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
1304
|
+
# @param lease_id [Integer]
|
1305
|
+
# @param payment_id [Integer]
|
1306
|
+
# @param [Hash] opts the optional parameters
|
1307
|
+
# @return [LeaseRecurringPaymentMessage]
|
1308
|
+
def get_recurring_lease_payments_by_id(lease_id, payment_id, opts = {})
|
1309
|
+
data, _status_code, _headers = get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id, opts)
|
1310
|
+
data
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
# Retrieve a recurring payment
|
1314
|
+
# Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease Transactions</span> - `View`
|
1315
|
+
# @param lease_id [Integer]
|
1316
|
+
# @param payment_id [Integer]
|
1317
|
+
# @param [Hash] opts the optional parameters
|
1318
|
+
# @return [Array<(LeaseRecurringPaymentMessage, Integer, Hash)>] LeaseRecurringPaymentMessage data, response status code and response headers
|
1319
|
+
def get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id, opts = {})
|
1320
|
+
if @api_client.config.debugging
|
1321
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.get_recurring_lease_payments_by_id ...'
|
1322
|
+
end
|
1323
|
+
# verify the required parameter 'lease_id' is set
|
1324
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1325
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.get_recurring_lease_payments_by_id"
|
1326
|
+
end
|
1327
|
+
# verify the required parameter 'payment_id' is set
|
1328
|
+
if @api_client.config.client_side_validation && payment_id.nil?
|
1329
|
+
fail ArgumentError, "Missing the required parameter 'payment_id' when calling LeaseTransactionsApi.get_recurring_lease_payments_by_id"
|
1330
|
+
end
|
1331
|
+
# resource path
|
1332
|
+
local_var_path = '/v1/leases/{leaseId}/recurringpayments/{paymentId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'paymentId' + '}', CGI.escape(payment_id.to_s))
|
1333
|
+
|
1334
|
+
# query parameters
|
1335
|
+
query_params = opts[:query_params] || {}
|
1336
|
+
|
1337
|
+
# header parameters
|
1338
|
+
header_params = opts[:header_params] || {}
|
1339
|
+
# HTTP header 'Accept' (if needed)
|
1340
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1341
|
+
|
1342
|
+
# form parameters
|
1343
|
+
form_params = opts[:form_params] || {}
|
1344
|
+
|
1345
|
+
# http body (model)
|
1346
|
+
post_body = opts[:debug_body]
|
1347
|
+
|
1348
|
+
# return_type
|
1349
|
+
return_type = opts[:debug_return_type] || 'LeaseRecurringPaymentMessage'
|
1350
|
+
|
1351
|
+
# auth_names
|
1352
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1353
|
+
|
1354
|
+
new_options = opts.merge(
|
1355
|
+
:operation => :"LeaseTransactionsApi.get_recurring_lease_payments_by_id",
|
1356
|
+
:header_params => header_params,
|
1357
|
+
:query_params => query_params,
|
1358
|
+
:form_params => form_params,
|
1359
|
+
:body => post_body,
|
1360
|
+
:auth_names => auth_names,
|
1361
|
+
:return_type => return_type
|
1362
|
+
)
|
1363
|
+
|
1364
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1365
|
+
if @api_client.config.debugging
|
1366
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#get_recurring_lease_payments_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1367
|
+
end
|
1368
|
+
return data, status_code, headers
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# Update a charge
|
1372
|
+
# Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
1373
|
+
# @param lease_id [Integer]
|
1374
|
+
# @param charge_id [Integer]
|
1375
|
+
# @param lease_charge_put_message [LeaseChargePutMessage]
|
1376
|
+
# @param [Hash] opts the optional parameters
|
1377
|
+
# @return [LeaseTransactionMessage]
|
1378
|
+
def update_lease_charge(lease_id, charge_id, lease_charge_put_message, opts = {})
|
1379
|
+
data, _status_code, _headers = update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message, opts)
|
1380
|
+
data
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# Update a charge
|
1384
|
+
# Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
1385
|
+
# @param lease_id [Integer]
|
1386
|
+
# @param charge_id [Integer]
|
1387
|
+
# @param lease_charge_put_message [LeaseChargePutMessage]
|
1388
|
+
# @param [Hash] opts the optional parameters
|
1389
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
1390
|
+
def update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message, opts = {})
|
1391
|
+
if @api_client.config.debugging
|
1392
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.update_lease_charge ...'
|
1393
|
+
end
|
1394
|
+
# verify the required parameter 'lease_id' is set
|
1395
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1396
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.update_lease_charge"
|
1397
|
+
end
|
1398
|
+
# verify the required parameter 'charge_id' is set
|
1399
|
+
if @api_client.config.client_side_validation && charge_id.nil?
|
1400
|
+
fail ArgumentError, "Missing the required parameter 'charge_id' when calling LeaseTransactionsApi.update_lease_charge"
|
1401
|
+
end
|
1402
|
+
# verify the required parameter 'lease_charge_put_message' is set
|
1403
|
+
if @api_client.config.client_side_validation && lease_charge_put_message.nil?
|
1404
|
+
fail ArgumentError, "Missing the required parameter 'lease_charge_put_message' when calling LeaseTransactionsApi.update_lease_charge"
|
1405
|
+
end
|
1406
|
+
# resource path
|
1407
|
+
local_var_path = '/v1/leases/{leaseId}/charges/{chargeId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'chargeId' + '}', CGI.escape(charge_id.to_s))
|
1408
|
+
|
1409
|
+
# query parameters
|
1410
|
+
query_params = opts[:query_params] || {}
|
1411
|
+
|
1412
|
+
# header parameters
|
1413
|
+
header_params = opts[:header_params] || {}
|
1414
|
+
# HTTP header 'Accept' (if needed)
|
1415
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1416
|
+
# HTTP header 'Content-Type'
|
1417
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1418
|
+
if !content_type.nil?
|
1419
|
+
header_params['Content-Type'] = content_type
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# form parameters
|
1423
|
+
form_params = opts[:form_params] || {}
|
1424
|
+
|
1425
|
+
# http body (model)
|
1426
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_charge_put_message)
|
1427
|
+
|
1428
|
+
# return_type
|
1429
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
1430
|
+
|
1431
|
+
# auth_names
|
1432
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1433
|
+
|
1434
|
+
new_options = opts.merge(
|
1435
|
+
:operation => :"LeaseTransactionsApi.update_lease_charge",
|
1436
|
+
:header_params => header_params,
|
1437
|
+
:query_params => query_params,
|
1438
|
+
:form_params => form_params,
|
1439
|
+
:body => post_body,
|
1440
|
+
:auth_names => auth_names,
|
1441
|
+
:return_type => return_type
|
1442
|
+
)
|
1443
|
+
|
1444
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1445
|
+
if @api_client.config.debugging
|
1446
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#update_lease_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1447
|
+
end
|
1448
|
+
return data, status_code, headers
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# Update a payment
|
1452
|
+
# Updates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
1453
|
+
# @param lease_id [Integer]
|
1454
|
+
# @param payment_id [Integer]
|
1455
|
+
# @param lease_ledger_payment_put_message [LeaseLedgerPaymentPutMessage]
|
1456
|
+
# @param [Hash] opts the optional parameters
|
1457
|
+
# @return [LeaseTransactionMessage]
|
1458
|
+
def update_lease_ledger_payment(lease_id, payment_id, lease_ledger_payment_put_message, opts = {})
|
1459
|
+
data, _status_code, _headers = update_lease_ledger_payment_with_http_info(lease_id, payment_id, lease_ledger_payment_put_message, opts)
|
1460
|
+
data
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# Update a payment
|
1464
|
+
# Updates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals &gt; Lease transactions</span> - `View` `Edit`
|
1465
|
+
# @param lease_id [Integer]
|
1466
|
+
# @param payment_id [Integer]
|
1467
|
+
# @param lease_ledger_payment_put_message [LeaseLedgerPaymentPutMessage]
|
1468
|
+
# @param [Hash] opts the optional parameters
|
1469
|
+
# @return [Array<(LeaseTransactionMessage, Integer, Hash)>] LeaseTransactionMessage data, response status code and response headers
|
1470
|
+
def update_lease_ledger_payment_with_http_info(lease_id, payment_id, lease_ledger_payment_put_message, opts = {})
|
1471
|
+
if @api_client.config.debugging
|
1472
|
+
@api_client.config.logger.debug 'Calling API: LeaseTransactionsApi.update_lease_ledger_payment ...'
|
1473
|
+
end
|
1474
|
+
# verify the required parameter 'lease_id' is set
|
1475
|
+
if @api_client.config.client_side_validation && lease_id.nil?
|
1476
|
+
fail ArgumentError, "Missing the required parameter 'lease_id' when calling LeaseTransactionsApi.update_lease_ledger_payment"
|
1477
|
+
end
|
1478
|
+
# verify the required parameter 'payment_id' is set
|
1479
|
+
if @api_client.config.client_side_validation && payment_id.nil?
|
1480
|
+
fail ArgumentError, "Missing the required parameter 'payment_id' when calling LeaseTransactionsApi.update_lease_ledger_payment"
|
1481
|
+
end
|
1482
|
+
# verify the required parameter 'lease_ledger_payment_put_message' is set
|
1483
|
+
if @api_client.config.client_side_validation && lease_ledger_payment_put_message.nil?
|
1484
|
+
fail ArgumentError, "Missing the required parameter 'lease_ledger_payment_put_message' when calling LeaseTransactionsApi.update_lease_ledger_payment"
|
1485
|
+
end
|
1486
|
+
# resource path
|
1487
|
+
local_var_path = '/v1/leases/{leaseId}/payments/{paymentId}'.sub('{' + 'leaseId' + '}', CGI.escape(lease_id.to_s)).sub('{' + 'paymentId' + '}', CGI.escape(payment_id.to_s))
|
1488
|
+
|
1489
|
+
# query parameters
|
1490
|
+
query_params = opts[:query_params] || {}
|
1491
|
+
|
1492
|
+
# header parameters
|
1493
|
+
header_params = opts[:header_params] || {}
|
1494
|
+
# HTTP header 'Accept' (if needed)
|
1495
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1496
|
+
# HTTP header 'Content-Type'
|
1497
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1498
|
+
if !content_type.nil?
|
1499
|
+
header_params['Content-Type'] = content_type
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
# form parameters
|
1503
|
+
form_params = opts[:form_params] || {}
|
1504
|
+
|
1505
|
+
# http body (model)
|
1506
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lease_ledger_payment_put_message)
|
1507
|
+
|
1508
|
+
# return_type
|
1509
|
+
return_type = opts[:debug_return_type] || 'LeaseTransactionMessage'
|
1510
|
+
|
1511
|
+
# auth_names
|
1512
|
+
auth_names = opts[:debug_auth_names] || ['clientId', 'clientSecret']
|
1513
|
+
|
1514
|
+
new_options = opts.merge(
|
1515
|
+
:operation => :"LeaseTransactionsApi.update_lease_ledger_payment",
|
1516
|
+
:header_params => header_params,
|
1517
|
+
:query_params => query_params,
|
1518
|
+
:form_params => form_params,
|
1519
|
+
:body => post_body,
|
1520
|
+
:auth_names => auth_names,
|
1521
|
+
:return_type => return_type
|
1522
|
+
)
|
1523
|
+
|
1524
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1525
|
+
if @api_client.config.debugging
|
1526
|
+
@api_client.config.logger.debug "API called: LeaseTransactionsApi#update_lease_ledger_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1527
|
+
end
|
1528
|
+
return data, status_code, headers
|
1529
|
+
end
|
1530
|
+
end
|
1531
|
+
end
|