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,1627 @@
|
|
1
|
+
# Buildium::LeaseTransactionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.buildium.com*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create_lease_auto_allocated_payment**](LeaseTransactionsApi.md#create_lease_auto_allocated_payment) | **POST** /v1/leases/{leaseId}/autoallocatedpayments | Create a payment (auto allocated) |
|
8
|
+
| [**create_lease_charge_recurring_transaction**](LeaseTransactionsApi.md#create_lease_charge_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcharges | Create a recurring charge |
|
9
|
+
| [**create_lease_credit**](LeaseTransactionsApi.md#create_lease_credit) | **POST** /v1/leases/{leaseId}/credits | Create a credit |
|
10
|
+
| [**create_lease_credit_recurring_transaction**](LeaseTransactionsApi.md#create_lease_credit_recurring_transaction) | **POST** /v1/leases/{leaseId}/recurringcredits | Create a recurring credit |
|
11
|
+
| [**create_lease_ledger_charge**](LeaseTransactionsApi.md#create_lease_ledger_charge) | **POST** /v1/leases/{leaseId}/charges | Create a charge |
|
12
|
+
| [**create_lease_ledger_deposit_withholding**](LeaseTransactionsApi.md#create_lease_ledger_deposit_withholding) | **POST** /v1/leases/{leaseId}/applieddeposits | Create a deposit withholding |
|
13
|
+
| [**create_lease_ledger_refund**](LeaseTransactionsApi.md#create_lease_ledger_refund) | **POST** /v1/leases/{leaseId}/refunds | Create a refund |
|
14
|
+
| [**create_lease_recurring_payment**](LeaseTransactionsApi.md#create_lease_recurring_payment) | **POST** /v1/leases/{leaseId}/recurringpayments | Create a recurring payment |
|
15
|
+
| [**create_lease_reverse_payment**](LeaseTransactionsApi.md#create_lease_reverse_payment) | **POST** /v1/leases/{leaseId}/reversepayments | Create a payment reversal |
|
16
|
+
| [**create_payment**](LeaseTransactionsApi.md#create_payment) | **POST** /v1/leases/{leaseId}/payments | Create a payment |
|
17
|
+
| [**get_lease_charge_recurring_transaction_by_id**](LeaseTransactionsApi.md#get_lease_charge_recurring_transaction_by_id) | **GET** /v1/leases/{leaseId}/recurringcharges/{transactionId} | Retrieve a recurring charge |
|
18
|
+
| [**get_lease_ledger_refund_by_id**](LeaseTransactionsApi.md#get_lease_ledger_refund_by_id) | **GET** /v1/leases/{leaseId}/refunds/{refundId} | Retrieve a refund |
|
19
|
+
| [**get_lease_ledger_transaction_by_id**](LeaseTransactionsApi.md#get_lease_ledger_transaction_by_id) | **GET** /v1/leases/{leaseId}/transactions/{transactionId} | Retrieve a lease transaction |
|
20
|
+
| [**get_lease_ledgers**](LeaseTransactionsApi.md#get_lease_ledgers) | **GET** /v1/leases/{leaseId}/transactions | Retrieve all lease transactions |
|
21
|
+
| [**get_lease_outstanding_balances**](LeaseTransactionsApi.md#get_lease_outstanding_balances) | **GET** /v1/leases/outstandingbalances | Retrieve all outstanding balances |
|
22
|
+
| [**get_lease_recurring_credit_by_id**](LeaseTransactionsApi.md#get_lease_recurring_credit_by_id) | **GET** /v1/leases/{leaseId}/recurringcredits/{transactionId} | Retrieve a recurring credit |
|
23
|
+
| [**get_lease_recurring_transactions**](LeaseTransactionsApi.md#get_lease_recurring_transactions) | **GET** /v1/leases/{leaseId}/recurringtransactions | Retrieve all recurring transactions |
|
24
|
+
| [**get_recurring_lease_payments_by_id**](LeaseTransactionsApi.md#get_recurring_lease_payments_by_id) | **GET** /v1/leases/{leaseId}/recurringpayments/{paymentId} | Retrieve a recurring payment |
|
25
|
+
| [**update_lease_charge**](LeaseTransactionsApi.md#update_lease_charge) | **PUT** /v1/leases/{leaseId}/charges/{chargeId} | Update a charge |
|
26
|
+
| [**update_lease_ledger_payment**](LeaseTransactionsApi.md#update_lease_ledger_payment) | **PUT** /v1/leases/{leaseId}/payments/{paymentId} | Update a payment |
|
27
|
+
|
28
|
+
|
29
|
+
## create_lease_auto_allocated_payment
|
30
|
+
|
31
|
+
> <LeaseTransactionMessage> create_lease_auto_allocated_payment(lease_id, lease_auto_allocated_payment_post_message)
|
32
|
+
|
33
|
+
Create a payment (auto allocated)
|
34
|
+
|
35
|
+
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`
|
36
|
+
|
37
|
+
### Examples
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
require 'time'
|
41
|
+
require 'buildium-ruby'
|
42
|
+
# setup authorization
|
43
|
+
Buildium.configure do |config|
|
44
|
+
# Configure API key authorization: clientId
|
45
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
46
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
47
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
48
|
+
|
49
|
+
# Configure API key authorization: clientSecret
|
50
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
51
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
52
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
53
|
+
end
|
54
|
+
|
55
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
56
|
+
lease_id = 56 # Integer |
|
57
|
+
lease_auto_allocated_payment_post_message = Buildium::LeaseAutoAllocatedPaymentPostMessage.new({date: Date.today, payment_method: 'Check', send_email_receipt: false, total_amount: 3.56}) # LeaseAutoAllocatedPaymentPostMessage |
|
58
|
+
|
59
|
+
begin
|
60
|
+
# Create a payment (auto allocated)
|
61
|
+
result = api_instance.create_lease_auto_allocated_payment(lease_id, lease_auto_allocated_payment_post_message)
|
62
|
+
p result
|
63
|
+
rescue Buildium::ApiError => e
|
64
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_auto_allocated_payment: #{e}"
|
65
|
+
end
|
66
|
+
```
|
67
|
+
|
68
|
+
#### Using the create_lease_auto_allocated_payment_with_http_info variant
|
69
|
+
|
70
|
+
This returns an Array which contains the response data, status code and headers.
|
71
|
+
|
72
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_auto_allocated_payment_with_http_info(lease_id, lease_auto_allocated_payment_post_message)
|
73
|
+
|
74
|
+
```ruby
|
75
|
+
begin
|
76
|
+
# Create a payment (auto allocated)
|
77
|
+
data, status_code, headers = api_instance.create_lease_auto_allocated_payment_with_http_info(lease_id, lease_auto_allocated_payment_post_message)
|
78
|
+
p status_code # => 2xx
|
79
|
+
p headers # => { ... }
|
80
|
+
p data # => <LeaseTransactionMessage>
|
81
|
+
rescue Buildium::ApiError => e
|
82
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_auto_allocated_payment_with_http_info: #{e}"
|
83
|
+
end
|
84
|
+
```
|
85
|
+
|
86
|
+
### Parameters
|
87
|
+
|
88
|
+
| Name | Type | Description | Notes |
|
89
|
+
| ---- | ---- | ----------- | ----- |
|
90
|
+
| **lease_id** | **Integer** | | |
|
91
|
+
| **lease_auto_allocated_payment_post_message** | [**LeaseAutoAllocatedPaymentPostMessage**](LeaseAutoAllocatedPaymentPostMessage.md) | | |
|
92
|
+
|
93
|
+
### Return type
|
94
|
+
|
95
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
96
|
+
|
97
|
+
### Authorization
|
98
|
+
|
99
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
100
|
+
|
101
|
+
### HTTP request headers
|
102
|
+
|
103
|
+
- **Content-Type**: application/json
|
104
|
+
- **Accept**: application/json
|
105
|
+
|
106
|
+
|
107
|
+
## create_lease_charge_recurring_transaction
|
108
|
+
|
109
|
+
> <LeaseChargeRecurringTransactionMessage> create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
|
110
|
+
|
111
|
+
Create a recurring charge
|
112
|
+
|
113
|
+
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`
|
114
|
+
|
115
|
+
### Examples
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
require 'time'
|
119
|
+
require 'buildium-ruby'
|
120
|
+
# setup authorization
|
121
|
+
Buildium.configure do |config|
|
122
|
+
# Configure API key authorization: clientId
|
123
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
124
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
125
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
126
|
+
|
127
|
+
# Configure API key authorization: clientSecret
|
128
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
129
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
130
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
131
|
+
end
|
132
|
+
|
133
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
134
|
+
lease_id = 56 # Integer |
|
135
|
+
charge_recurring_transaction_post_message = Buildium::ChargeRecurringTransactionPostMessage.new({gl_account_id: 37, amount: 3.56, first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # ChargeRecurringTransactionPostMessage |
|
136
|
+
|
137
|
+
begin
|
138
|
+
# Create a recurring charge
|
139
|
+
result = api_instance.create_lease_charge_recurring_transaction(lease_id, charge_recurring_transaction_post_message)
|
140
|
+
p result
|
141
|
+
rescue Buildium::ApiError => e
|
142
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_charge_recurring_transaction: #{e}"
|
143
|
+
end
|
144
|
+
```
|
145
|
+
|
146
|
+
#### Using the create_lease_charge_recurring_transaction_with_http_info variant
|
147
|
+
|
148
|
+
This returns an Array which contains the response data, status code and headers.
|
149
|
+
|
150
|
+
> <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
|
151
|
+
|
152
|
+
```ruby
|
153
|
+
begin
|
154
|
+
# Create a recurring charge
|
155
|
+
data, status_code, headers = api_instance.create_lease_charge_recurring_transaction_with_http_info(lease_id, charge_recurring_transaction_post_message)
|
156
|
+
p status_code # => 2xx
|
157
|
+
p headers # => { ... }
|
158
|
+
p data # => <LeaseChargeRecurringTransactionMessage>
|
159
|
+
rescue Buildium::ApiError => e
|
160
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_charge_recurring_transaction_with_http_info: #{e}"
|
161
|
+
end
|
162
|
+
```
|
163
|
+
|
164
|
+
### Parameters
|
165
|
+
|
166
|
+
| Name | Type | Description | Notes |
|
167
|
+
| ---- | ---- | ----------- | ----- |
|
168
|
+
| **lease_id** | **Integer** | | |
|
169
|
+
| **charge_recurring_transaction_post_message** | [**ChargeRecurringTransactionPostMessage**](ChargeRecurringTransactionPostMessage.md) | | |
|
170
|
+
|
171
|
+
### Return type
|
172
|
+
|
173
|
+
[**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
|
174
|
+
|
175
|
+
### Authorization
|
176
|
+
|
177
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
178
|
+
|
179
|
+
### HTTP request headers
|
180
|
+
|
181
|
+
- **Content-Type**: application/json
|
182
|
+
- **Accept**: application/json
|
183
|
+
|
184
|
+
|
185
|
+
## create_lease_credit
|
186
|
+
|
187
|
+
> <LeaseTransactionMessage> create_lease_credit(lease_id, lease_ledger_credit_post_message)
|
188
|
+
|
189
|
+
Create a credit
|
190
|
+
|
191
|
+
Creates a lease ledger credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
192
|
+
|
193
|
+
### Examples
|
194
|
+
|
195
|
+
```ruby
|
196
|
+
require 'time'
|
197
|
+
require 'buildium-ruby'
|
198
|
+
# setup authorization
|
199
|
+
Buildium.configure do |config|
|
200
|
+
# Configure API key authorization: clientId
|
201
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
202
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
203
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
204
|
+
|
205
|
+
# Configure API key authorization: clientSecret
|
206
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
207
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
208
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
209
|
+
end
|
210
|
+
|
211
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
212
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
213
|
+
lease_ledger_credit_post_message = Buildium::LeaseLedgerCreditPostMessage.new({date: Date.today, credit_type: 'WaiveUnpaid', lines: [Buildium::LeaseLedgerCreditLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerCreditPostMessage |
|
214
|
+
|
215
|
+
begin
|
216
|
+
# Create a credit
|
217
|
+
result = api_instance.create_lease_credit(lease_id, lease_ledger_credit_post_message)
|
218
|
+
p result
|
219
|
+
rescue Buildium::ApiError => e
|
220
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_credit: #{e}"
|
221
|
+
end
|
222
|
+
```
|
223
|
+
|
224
|
+
#### Using the create_lease_credit_with_http_info variant
|
225
|
+
|
226
|
+
This returns an Array which contains the response data, status code and headers.
|
227
|
+
|
228
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
|
229
|
+
|
230
|
+
```ruby
|
231
|
+
begin
|
232
|
+
# Create a credit
|
233
|
+
data, status_code, headers = api_instance.create_lease_credit_with_http_info(lease_id, lease_ledger_credit_post_message)
|
234
|
+
p status_code # => 2xx
|
235
|
+
p headers # => { ... }
|
236
|
+
p data # => <LeaseTransactionMessage>
|
237
|
+
rescue Buildium::ApiError => e
|
238
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_credit_with_http_info: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
### Parameters
|
243
|
+
|
244
|
+
| Name | Type | Description | Notes |
|
245
|
+
| ---- | ---- | ----------- | ----- |
|
246
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
247
|
+
| **lease_ledger_credit_post_message** | [**LeaseLedgerCreditPostMessage**](LeaseLedgerCreditPostMessage.md) | | |
|
248
|
+
|
249
|
+
### Return type
|
250
|
+
|
251
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
252
|
+
|
253
|
+
### Authorization
|
254
|
+
|
255
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
256
|
+
|
257
|
+
### HTTP request headers
|
258
|
+
|
259
|
+
- **Content-Type**: application/json
|
260
|
+
- **Accept**: application/json
|
261
|
+
|
262
|
+
|
263
|
+
## create_lease_credit_recurring_transaction
|
264
|
+
|
265
|
+
> <LeaseRecurringCreditMessage> create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
|
266
|
+
|
267
|
+
Create a recurring credit
|
268
|
+
|
269
|
+
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`
|
270
|
+
|
271
|
+
### Examples
|
272
|
+
|
273
|
+
```ruby
|
274
|
+
require 'time'
|
275
|
+
require 'buildium-ruby'
|
276
|
+
# setup authorization
|
277
|
+
Buildium.configure do |config|
|
278
|
+
# Configure API key authorization: clientId
|
279
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
280
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
281
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
282
|
+
|
283
|
+
# Configure API key authorization: clientSecret
|
284
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
285
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
286
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
287
|
+
end
|
288
|
+
|
289
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
290
|
+
lease_id = 56 # Integer |
|
291
|
+
credit_recurring_transaction_post_message = Buildium::CreditRecurringTransactionPostMessage.new({credit_type: 'WaiveUnpaid', post_days_in_advance: 37, frequency: 'Monthly', first_occurrence_date: Date.today}) # CreditRecurringTransactionPostMessage |
|
292
|
+
|
293
|
+
begin
|
294
|
+
# Create a recurring credit
|
295
|
+
result = api_instance.create_lease_credit_recurring_transaction(lease_id, credit_recurring_transaction_post_message)
|
296
|
+
p result
|
297
|
+
rescue Buildium::ApiError => e
|
298
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_credit_recurring_transaction: #{e}"
|
299
|
+
end
|
300
|
+
```
|
301
|
+
|
302
|
+
#### Using the create_lease_credit_recurring_transaction_with_http_info variant
|
303
|
+
|
304
|
+
This returns an Array which contains the response data, status code and headers.
|
305
|
+
|
306
|
+
> <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
|
307
|
+
|
308
|
+
```ruby
|
309
|
+
begin
|
310
|
+
# Create a recurring credit
|
311
|
+
data, status_code, headers = api_instance.create_lease_credit_recurring_transaction_with_http_info(lease_id, credit_recurring_transaction_post_message)
|
312
|
+
p status_code # => 2xx
|
313
|
+
p headers # => { ... }
|
314
|
+
p data # => <LeaseRecurringCreditMessage>
|
315
|
+
rescue Buildium::ApiError => e
|
316
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_credit_recurring_transaction_with_http_info: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
### Parameters
|
321
|
+
|
322
|
+
| Name | Type | Description | Notes |
|
323
|
+
| ---- | ---- | ----------- | ----- |
|
324
|
+
| **lease_id** | **Integer** | | |
|
325
|
+
| **credit_recurring_transaction_post_message** | [**CreditRecurringTransactionPostMessage**](CreditRecurringTransactionPostMessage.md) | | |
|
326
|
+
|
327
|
+
### Return type
|
328
|
+
|
329
|
+
[**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
|
330
|
+
|
331
|
+
### Authorization
|
332
|
+
|
333
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
334
|
+
|
335
|
+
### HTTP request headers
|
336
|
+
|
337
|
+
- **Content-Type**: application/json
|
338
|
+
- **Accept**: application/json
|
339
|
+
|
340
|
+
|
341
|
+
## create_lease_ledger_charge
|
342
|
+
|
343
|
+
> <Array<LeaseTransactionMessage>> create_lease_ledger_charge(lease_id, lease_charge_post_message)
|
344
|
+
|
345
|
+
Create a charge
|
346
|
+
|
347
|
+
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`
|
348
|
+
|
349
|
+
### Examples
|
350
|
+
|
351
|
+
```ruby
|
352
|
+
require 'time'
|
353
|
+
require 'buildium-ruby'
|
354
|
+
# setup authorization
|
355
|
+
Buildium.configure do |config|
|
356
|
+
# Configure API key authorization: clientId
|
357
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
358
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
359
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
360
|
+
|
361
|
+
# Configure API key authorization: clientSecret
|
362
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
363
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
364
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
365
|
+
end
|
366
|
+
|
367
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
368
|
+
lease_id = 56 # Integer |
|
369
|
+
lease_charge_post_message = Buildium::LeaseChargePostMessage.new # LeaseChargePostMessage |
|
370
|
+
|
371
|
+
begin
|
372
|
+
# Create a charge
|
373
|
+
result = api_instance.create_lease_ledger_charge(lease_id, lease_charge_post_message)
|
374
|
+
p result
|
375
|
+
rescue Buildium::ApiError => e
|
376
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_charge: #{e}"
|
377
|
+
end
|
378
|
+
```
|
379
|
+
|
380
|
+
#### Using the create_lease_ledger_charge_with_http_info variant
|
381
|
+
|
382
|
+
This returns an Array which contains the response data, status code and headers.
|
383
|
+
|
384
|
+
> <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
|
385
|
+
|
386
|
+
```ruby
|
387
|
+
begin
|
388
|
+
# Create a charge
|
389
|
+
data, status_code, headers = api_instance.create_lease_ledger_charge_with_http_info(lease_id, lease_charge_post_message)
|
390
|
+
p status_code # => 2xx
|
391
|
+
p headers # => { ... }
|
392
|
+
p data # => <Array<LeaseTransactionMessage>>
|
393
|
+
rescue Buildium::ApiError => e
|
394
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_charge_with_http_info: #{e}"
|
395
|
+
end
|
396
|
+
```
|
397
|
+
|
398
|
+
### Parameters
|
399
|
+
|
400
|
+
| Name | Type | Description | Notes |
|
401
|
+
| ---- | ---- | ----------- | ----- |
|
402
|
+
| **lease_id** | **Integer** | | |
|
403
|
+
| **lease_charge_post_message** | [**LeaseChargePostMessage**](LeaseChargePostMessage.md) | | |
|
404
|
+
|
405
|
+
### Return type
|
406
|
+
|
407
|
+
[**Array<LeaseTransactionMessage>**](LeaseTransactionMessage.md)
|
408
|
+
|
409
|
+
### Authorization
|
410
|
+
|
411
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
412
|
+
|
413
|
+
### HTTP request headers
|
414
|
+
|
415
|
+
- **Content-Type**: application/json
|
416
|
+
- **Accept**: application/json
|
417
|
+
|
418
|
+
|
419
|
+
## create_lease_ledger_deposit_withholding
|
420
|
+
|
421
|
+
> <LeaseTransactionMessage> create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
|
422
|
+
|
423
|
+
Create a deposit withholding
|
424
|
+
|
425
|
+
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`
|
426
|
+
|
427
|
+
### Examples
|
428
|
+
|
429
|
+
```ruby
|
430
|
+
require 'time'
|
431
|
+
require 'buildium-ruby'
|
432
|
+
# setup authorization
|
433
|
+
Buildium.configure do |config|
|
434
|
+
# Configure API key authorization: clientId
|
435
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
436
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
437
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
438
|
+
|
439
|
+
# Configure API key authorization: clientSecret
|
440
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
441
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
442
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
443
|
+
end
|
444
|
+
|
445
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
446
|
+
lease_id = 56 # Integer |
|
447
|
+
lease_ledger_deposit_withholding_post_message = Buildium::LeaseLedgerDepositWithholdingPostMessage.new({entry_date: Date.today, deposit_liability_gl_account_id: 37}) # LeaseLedgerDepositWithholdingPostMessage |
|
448
|
+
|
449
|
+
begin
|
450
|
+
# Create a deposit withholding
|
451
|
+
result = api_instance.create_lease_ledger_deposit_withholding(lease_id, lease_ledger_deposit_withholding_post_message)
|
452
|
+
p result
|
453
|
+
rescue Buildium::ApiError => e
|
454
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_deposit_withholding: #{e}"
|
455
|
+
end
|
456
|
+
```
|
457
|
+
|
458
|
+
#### Using the create_lease_ledger_deposit_withholding_with_http_info variant
|
459
|
+
|
460
|
+
This returns an Array which contains the response data, status code and headers.
|
461
|
+
|
462
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
|
463
|
+
|
464
|
+
```ruby
|
465
|
+
begin
|
466
|
+
# Create a deposit withholding
|
467
|
+
data, status_code, headers = api_instance.create_lease_ledger_deposit_withholding_with_http_info(lease_id, lease_ledger_deposit_withholding_post_message)
|
468
|
+
p status_code # => 2xx
|
469
|
+
p headers # => { ... }
|
470
|
+
p data # => <LeaseTransactionMessage>
|
471
|
+
rescue Buildium::ApiError => e
|
472
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_deposit_withholding_with_http_info: #{e}"
|
473
|
+
end
|
474
|
+
```
|
475
|
+
|
476
|
+
### Parameters
|
477
|
+
|
478
|
+
| Name | Type | Description | Notes |
|
479
|
+
| ---- | ---- | ----------- | ----- |
|
480
|
+
| **lease_id** | **Integer** | | |
|
481
|
+
| **lease_ledger_deposit_withholding_post_message** | [**LeaseLedgerDepositWithholdingPostMessage**](LeaseLedgerDepositWithholdingPostMessage.md) | | |
|
482
|
+
|
483
|
+
### Return type
|
484
|
+
|
485
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
486
|
+
|
487
|
+
### Authorization
|
488
|
+
|
489
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
490
|
+
|
491
|
+
### HTTP request headers
|
492
|
+
|
493
|
+
- **Content-Type**: application/json
|
494
|
+
- **Accept**: application/json
|
495
|
+
|
496
|
+
|
497
|
+
## create_lease_ledger_refund
|
498
|
+
|
499
|
+
> <LeaseLedgerRefundMessage> create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
|
500
|
+
|
501
|
+
Create a refund
|
502
|
+
|
503
|
+
Creates a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View` `Edit`
|
504
|
+
|
505
|
+
### Examples
|
506
|
+
|
507
|
+
```ruby
|
508
|
+
require 'time'
|
509
|
+
require 'buildium-ruby'
|
510
|
+
# setup authorization
|
511
|
+
Buildium.configure do |config|
|
512
|
+
# Configure API key authorization: clientId
|
513
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
514
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
515
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
516
|
+
|
517
|
+
# Configure API key authorization: clientSecret
|
518
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
519
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
520
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
521
|
+
end
|
522
|
+
|
523
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
524
|
+
lease_id = 56 # Integer |
|
525
|
+
lease_ledger_refund_post_message = Buildium::LeaseLedgerRefundPostMessage.new({date: Date.today, payee_user_ids: [37], bank_account_id: 37, address: Buildium::SaveAddressMessage.new({address_line1: 'address_line1_example', country: 'UnitedStates'}), lines: [Buildium::LeaseLedgerRefundLinePostMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerRefundPostMessage |
|
526
|
+
|
527
|
+
begin
|
528
|
+
# Create a refund
|
529
|
+
result = api_instance.create_lease_ledger_refund(lease_id, lease_ledger_refund_post_message)
|
530
|
+
p result
|
531
|
+
rescue Buildium::ApiError => e
|
532
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_refund: #{e}"
|
533
|
+
end
|
534
|
+
```
|
535
|
+
|
536
|
+
#### Using the create_lease_ledger_refund_with_http_info variant
|
537
|
+
|
538
|
+
This returns an Array which contains the response data, status code and headers.
|
539
|
+
|
540
|
+
> <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
|
541
|
+
|
542
|
+
```ruby
|
543
|
+
begin
|
544
|
+
# Create a refund
|
545
|
+
data, status_code, headers = api_instance.create_lease_ledger_refund_with_http_info(lease_id, lease_ledger_refund_post_message)
|
546
|
+
p status_code # => 2xx
|
547
|
+
p headers # => { ... }
|
548
|
+
p data # => <LeaseLedgerRefundMessage>
|
549
|
+
rescue Buildium::ApiError => e
|
550
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_ledger_refund_with_http_info: #{e}"
|
551
|
+
end
|
552
|
+
```
|
553
|
+
|
554
|
+
### Parameters
|
555
|
+
|
556
|
+
| Name | Type | Description | Notes |
|
557
|
+
| ---- | ---- | ----------- | ----- |
|
558
|
+
| **lease_id** | **Integer** | | |
|
559
|
+
| **lease_ledger_refund_post_message** | [**LeaseLedgerRefundPostMessage**](LeaseLedgerRefundPostMessage.md) | | |
|
560
|
+
|
561
|
+
### Return type
|
562
|
+
|
563
|
+
[**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
|
564
|
+
|
565
|
+
### Authorization
|
566
|
+
|
567
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
568
|
+
|
569
|
+
### HTTP request headers
|
570
|
+
|
571
|
+
- **Content-Type**: application/json
|
572
|
+
- **Accept**: application/json
|
573
|
+
|
574
|
+
|
575
|
+
## create_lease_recurring_payment
|
576
|
+
|
577
|
+
> <LeaseRecurringPaymentMessage> create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
|
578
|
+
|
579
|
+
Create a recurring payment
|
580
|
+
|
581
|
+
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`
|
582
|
+
|
583
|
+
### Examples
|
584
|
+
|
585
|
+
```ruby
|
586
|
+
require 'time'
|
587
|
+
require 'buildium-ruby'
|
588
|
+
# setup authorization
|
589
|
+
Buildium.configure do |config|
|
590
|
+
# Configure API key authorization: clientId
|
591
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
592
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
593
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
594
|
+
|
595
|
+
# Configure API key authorization: clientSecret
|
596
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
597
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
598
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
599
|
+
end
|
600
|
+
|
601
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
602
|
+
lease_id = 56 # Integer |
|
603
|
+
payment_recurring_transaction_post_message = Buildium::PaymentRecurringTransactionPostMessage.new({payment_method: 'Check', first_occurrence_date: Date.today, post_days_in_advance: 37, frequency: 'Monthly'}) # PaymentRecurringTransactionPostMessage |
|
604
|
+
|
605
|
+
begin
|
606
|
+
# Create a recurring payment
|
607
|
+
result = api_instance.create_lease_recurring_payment(lease_id, payment_recurring_transaction_post_message)
|
608
|
+
p result
|
609
|
+
rescue Buildium::ApiError => e
|
610
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_recurring_payment: #{e}"
|
611
|
+
end
|
612
|
+
```
|
613
|
+
|
614
|
+
#### Using the create_lease_recurring_payment_with_http_info variant
|
615
|
+
|
616
|
+
This returns an Array which contains the response data, status code and headers.
|
617
|
+
|
618
|
+
> <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
|
619
|
+
|
620
|
+
```ruby
|
621
|
+
begin
|
622
|
+
# Create a recurring payment
|
623
|
+
data, status_code, headers = api_instance.create_lease_recurring_payment_with_http_info(lease_id, payment_recurring_transaction_post_message)
|
624
|
+
p status_code # => 2xx
|
625
|
+
p headers # => { ... }
|
626
|
+
p data # => <LeaseRecurringPaymentMessage>
|
627
|
+
rescue Buildium::ApiError => e
|
628
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_recurring_payment_with_http_info: #{e}"
|
629
|
+
end
|
630
|
+
```
|
631
|
+
|
632
|
+
### Parameters
|
633
|
+
|
634
|
+
| Name | Type | Description | Notes |
|
635
|
+
| ---- | ---- | ----------- | ----- |
|
636
|
+
| **lease_id** | **Integer** | | |
|
637
|
+
| **payment_recurring_transaction_post_message** | [**PaymentRecurringTransactionPostMessage**](PaymentRecurringTransactionPostMessage.md) | | |
|
638
|
+
|
639
|
+
### Return type
|
640
|
+
|
641
|
+
[**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
|
642
|
+
|
643
|
+
### Authorization
|
644
|
+
|
645
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
646
|
+
|
647
|
+
### HTTP request headers
|
648
|
+
|
649
|
+
- **Content-Type**: application/json
|
650
|
+
- **Accept**: application/json
|
651
|
+
|
652
|
+
|
653
|
+
## create_lease_reverse_payment
|
654
|
+
|
655
|
+
> <LeaseTransactionMessage> create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
|
656
|
+
|
657
|
+
Create a payment reversal
|
658
|
+
|
659
|
+
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`
|
660
|
+
|
661
|
+
### Examples
|
662
|
+
|
663
|
+
```ruby
|
664
|
+
require 'time'
|
665
|
+
require 'buildium-ruby'
|
666
|
+
# setup authorization
|
667
|
+
Buildium.configure do |config|
|
668
|
+
# Configure API key authorization: clientId
|
669
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
670
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
671
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
672
|
+
|
673
|
+
# Configure API key authorization: clientSecret
|
674
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
675
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
676
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
677
|
+
end
|
678
|
+
|
679
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
680
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
681
|
+
lease_ledger_reverse_payment_post_message = Buildium::LeaseLedgerReversePaymentPostMessage.new({entry_date: Date.today, payment_transaction_id: 37}) # LeaseLedgerReversePaymentPostMessage |
|
682
|
+
|
683
|
+
begin
|
684
|
+
# Create a payment reversal
|
685
|
+
result = api_instance.create_lease_reverse_payment(lease_id, lease_ledger_reverse_payment_post_message)
|
686
|
+
p result
|
687
|
+
rescue Buildium::ApiError => e
|
688
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_reverse_payment: #{e}"
|
689
|
+
end
|
690
|
+
```
|
691
|
+
|
692
|
+
#### Using the create_lease_reverse_payment_with_http_info variant
|
693
|
+
|
694
|
+
This returns an Array which contains the response data, status code and headers.
|
695
|
+
|
696
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
|
697
|
+
|
698
|
+
```ruby
|
699
|
+
begin
|
700
|
+
# Create a payment reversal
|
701
|
+
data, status_code, headers = api_instance.create_lease_reverse_payment_with_http_info(lease_id, lease_ledger_reverse_payment_post_message)
|
702
|
+
p status_code # => 2xx
|
703
|
+
p headers # => { ... }
|
704
|
+
p data # => <LeaseTransactionMessage>
|
705
|
+
rescue Buildium::ApiError => e
|
706
|
+
puts "Error when calling LeaseTransactionsApi->create_lease_reverse_payment_with_http_info: #{e}"
|
707
|
+
end
|
708
|
+
```
|
709
|
+
|
710
|
+
### Parameters
|
711
|
+
|
712
|
+
| Name | Type | Description | Notes |
|
713
|
+
| ---- | ---- | ----------- | ----- |
|
714
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
715
|
+
| **lease_ledger_reverse_payment_post_message** | [**LeaseLedgerReversePaymentPostMessage**](LeaseLedgerReversePaymentPostMessage.md) | | |
|
716
|
+
|
717
|
+
### Return type
|
718
|
+
|
719
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
720
|
+
|
721
|
+
### Authorization
|
722
|
+
|
723
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
724
|
+
|
725
|
+
### HTTP request headers
|
726
|
+
|
727
|
+
- **Content-Type**: application/json
|
728
|
+
- **Accept**: application/json
|
729
|
+
|
730
|
+
|
731
|
+
## create_payment
|
732
|
+
|
733
|
+
> <LeaseTransactionMessage> create_payment(lease_id, lease_ledger_payment_post_message)
|
734
|
+
|
735
|
+
Create a payment
|
736
|
+
|
737
|
+
Creates a lease ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
738
|
+
|
739
|
+
### Examples
|
740
|
+
|
741
|
+
```ruby
|
742
|
+
require 'time'
|
743
|
+
require 'buildium-ruby'
|
744
|
+
# setup authorization
|
745
|
+
Buildium.configure do |config|
|
746
|
+
# Configure API key authorization: clientId
|
747
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
748
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
749
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
750
|
+
|
751
|
+
# Configure API key authorization: clientSecret
|
752
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
753
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
754
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
755
|
+
end
|
756
|
+
|
757
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
758
|
+
lease_id = 56 # Integer | The lease unique identifier.
|
759
|
+
lease_ledger_payment_post_message = Buildium::LeaseLedgerPaymentPostMessage.new({date: Date.today, payment_method: 'Check', send_email_receipt: false, lines: [Buildium::LeaseLedgerPaymentLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerPaymentPostMessage |
|
760
|
+
|
761
|
+
begin
|
762
|
+
# Create a payment
|
763
|
+
result = api_instance.create_payment(lease_id, lease_ledger_payment_post_message)
|
764
|
+
p result
|
765
|
+
rescue Buildium::ApiError => e
|
766
|
+
puts "Error when calling LeaseTransactionsApi->create_payment: #{e}"
|
767
|
+
end
|
768
|
+
```
|
769
|
+
|
770
|
+
#### Using the create_payment_with_http_info variant
|
771
|
+
|
772
|
+
This returns an Array which contains the response data, status code and headers.
|
773
|
+
|
774
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
|
775
|
+
|
776
|
+
```ruby
|
777
|
+
begin
|
778
|
+
# Create a payment
|
779
|
+
data, status_code, headers = api_instance.create_payment_with_http_info(lease_id, lease_ledger_payment_post_message)
|
780
|
+
p status_code # => 2xx
|
781
|
+
p headers # => { ... }
|
782
|
+
p data # => <LeaseTransactionMessage>
|
783
|
+
rescue Buildium::ApiError => e
|
784
|
+
puts "Error when calling LeaseTransactionsApi->create_payment_with_http_info: #{e}"
|
785
|
+
end
|
786
|
+
```
|
787
|
+
|
788
|
+
### Parameters
|
789
|
+
|
790
|
+
| Name | Type | Description | Notes |
|
791
|
+
| ---- | ---- | ----------- | ----- |
|
792
|
+
| **lease_id** | **Integer** | The lease unique identifier. | |
|
793
|
+
| **lease_ledger_payment_post_message** | [**LeaseLedgerPaymentPostMessage**](LeaseLedgerPaymentPostMessage.md) | | |
|
794
|
+
|
795
|
+
### Return type
|
796
|
+
|
797
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
798
|
+
|
799
|
+
### Authorization
|
800
|
+
|
801
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
802
|
+
|
803
|
+
### HTTP request headers
|
804
|
+
|
805
|
+
- **Content-Type**: application/json
|
806
|
+
- **Accept**: application/json
|
807
|
+
|
808
|
+
|
809
|
+
## get_lease_charge_recurring_transaction_by_id
|
810
|
+
|
811
|
+
> <LeaseChargeRecurringTransactionMessage> get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
|
812
|
+
|
813
|
+
Retrieve a recurring charge
|
814
|
+
|
815
|
+
Retrieves a recurring charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
816
|
+
|
817
|
+
### Examples
|
818
|
+
|
819
|
+
```ruby
|
820
|
+
require 'time'
|
821
|
+
require 'buildium-ruby'
|
822
|
+
# setup authorization
|
823
|
+
Buildium.configure do |config|
|
824
|
+
# Configure API key authorization: clientId
|
825
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
826
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
827
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
828
|
+
|
829
|
+
# Configure API key authorization: clientSecret
|
830
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
831
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
832
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
833
|
+
end
|
834
|
+
|
835
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
836
|
+
lease_id = 56 # Integer |
|
837
|
+
transaction_id = 56 # Integer |
|
838
|
+
|
839
|
+
begin
|
840
|
+
# Retrieve a recurring charge
|
841
|
+
result = api_instance.get_lease_charge_recurring_transaction_by_id(lease_id, transaction_id)
|
842
|
+
p result
|
843
|
+
rescue Buildium::ApiError => e
|
844
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_charge_recurring_transaction_by_id: #{e}"
|
845
|
+
end
|
846
|
+
```
|
847
|
+
|
848
|
+
#### Using the get_lease_charge_recurring_transaction_by_id_with_http_info variant
|
849
|
+
|
850
|
+
This returns an Array which contains the response data, status code and headers.
|
851
|
+
|
852
|
+
> <Array(<LeaseChargeRecurringTransactionMessage>, Integer, Hash)> get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
|
853
|
+
|
854
|
+
```ruby
|
855
|
+
begin
|
856
|
+
# Retrieve a recurring charge
|
857
|
+
data, status_code, headers = api_instance.get_lease_charge_recurring_transaction_by_id_with_http_info(lease_id, transaction_id)
|
858
|
+
p status_code # => 2xx
|
859
|
+
p headers # => { ... }
|
860
|
+
p data # => <LeaseChargeRecurringTransactionMessage>
|
861
|
+
rescue Buildium::ApiError => e
|
862
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_charge_recurring_transaction_by_id_with_http_info: #{e}"
|
863
|
+
end
|
864
|
+
```
|
865
|
+
|
866
|
+
### Parameters
|
867
|
+
|
868
|
+
| Name | Type | Description | Notes |
|
869
|
+
| ---- | ---- | ----------- | ----- |
|
870
|
+
| **lease_id** | **Integer** | | |
|
871
|
+
| **transaction_id** | **Integer** | | |
|
872
|
+
|
873
|
+
### Return type
|
874
|
+
|
875
|
+
[**LeaseChargeRecurringTransactionMessage**](LeaseChargeRecurringTransactionMessage.md)
|
876
|
+
|
877
|
+
### Authorization
|
878
|
+
|
879
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
880
|
+
|
881
|
+
### HTTP request headers
|
882
|
+
|
883
|
+
- **Content-Type**: Not defined
|
884
|
+
- **Accept**: application/json
|
885
|
+
|
886
|
+
|
887
|
+
## get_lease_ledger_refund_by_id
|
888
|
+
|
889
|
+
> <LeaseLedgerRefundMessage> get_lease_ledger_refund_by_id(lease_id, refund_id)
|
890
|
+
|
891
|
+
Retrieve a refund
|
892
|
+
|
893
|
+
Retrieves a refund. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Accounting > Bank Accounts</span> - `View`
|
894
|
+
|
895
|
+
### Examples
|
896
|
+
|
897
|
+
```ruby
|
898
|
+
require 'time'
|
899
|
+
require 'buildium-ruby'
|
900
|
+
# setup authorization
|
901
|
+
Buildium.configure do |config|
|
902
|
+
# Configure API key authorization: clientId
|
903
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
904
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
905
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
906
|
+
|
907
|
+
# Configure API key authorization: clientSecret
|
908
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
909
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
910
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
911
|
+
end
|
912
|
+
|
913
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
914
|
+
lease_id = 56 # Integer |
|
915
|
+
refund_id = 56 # Integer |
|
916
|
+
|
917
|
+
begin
|
918
|
+
# Retrieve a refund
|
919
|
+
result = api_instance.get_lease_ledger_refund_by_id(lease_id, refund_id)
|
920
|
+
p result
|
921
|
+
rescue Buildium::ApiError => e
|
922
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledger_refund_by_id: #{e}"
|
923
|
+
end
|
924
|
+
```
|
925
|
+
|
926
|
+
#### Using the get_lease_ledger_refund_by_id_with_http_info variant
|
927
|
+
|
928
|
+
This returns an Array which contains the response data, status code and headers.
|
929
|
+
|
930
|
+
> <Array(<LeaseLedgerRefundMessage>, Integer, Hash)> get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
|
931
|
+
|
932
|
+
```ruby
|
933
|
+
begin
|
934
|
+
# Retrieve a refund
|
935
|
+
data, status_code, headers = api_instance.get_lease_ledger_refund_by_id_with_http_info(lease_id, refund_id)
|
936
|
+
p status_code # => 2xx
|
937
|
+
p headers # => { ... }
|
938
|
+
p data # => <LeaseLedgerRefundMessage>
|
939
|
+
rescue Buildium::ApiError => e
|
940
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledger_refund_by_id_with_http_info: #{e}"
|
941
|
+
end
|
942
|
+
```
|
943
|
+
|
944
|
+
### Parameters
|
945
|
+
|
946
|
+
| Name | Type | Description | Notes |
|
947
|
+
| ---- | ---- | ----------- | ----- |
|
948
|
+
| **lease_id** | **Integer** | | |
|
949
|
+
| **refund_id** | **Integer** | | |
|
950
|
+
|
951
|
+
### Return type
|
952
|
+
|
953
|
+
[**LeaseLedgerRefundMessage**](LeaseLedgerRefundMessage.md)
|
954
|
+
|
955
|
+
### Authorization
|
956
|
+
|
957
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
958
|
+
|
959
|
+
### HTTP request headers
|
960
|
+
|
961
|
+
- **Content-Type**: Not defined
|
962
|
+
- **Accept**: application/json
|
963
|
+
|
964
|
+
|
965
|
+
## get_lease_ledger_transaction_by_id
|
966
|
+
|
967
|
+
> <LeaseTransactionMessage> get_lease_ledger_transaction_by_id(lease_id, transaction_id)
|
968
|
+
|
969
|
+
Retrieve a lease transaction
|
970
|
+
|
971
|
+
Retrieves a specific lease transaction. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
972
|
+
|
973
|
+
### Examples
|
974
|
+
|
975
|
+
```ruby
|
976
|
+
require 'time'
|
977
|
+
require 'buildium-ruby'
|
978
|
+
# setup authorization
|
979
|
+
Buildium.configure do |config|
|
980
|
+
# Configure API key authorization: clientId
|
981
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
982
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
983
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
984
|
+
|
985
|
+
# Configure API key authorization: clientSecret
|
986
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
987
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
988
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
989
|
+
end
|
990
|
+
|
991
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
992
|
+
lease_id = 56 # Integer |
|
993
|
+
transaction_id = 56 # Integer |
|
994
|
+
|
995
|
+
begin
|
996
|
+
# Retrieve a lease transaction
|
997
|
+
result = api_instance.get_lease_ledger_transaction_by_id(lease_id, transaction_id)
|
998
|
+
p result
|
999
|
+
rescue Buildium::ApiError => e
|
1000
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledger_transaction_by_id: #{e}"
|
1001
|
+
end
|
1002
|
+
```
|
1003
|
+
|
1004
|
+
#### Using the get_lease_ledger_transaction_by_id_with_http_info variant
|
1005
|
+
|
1006
|
+
This returns an Array which contains the response data, status code and headers.
|
1007
|
+
|
1008
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
|
1009
|
+
|
1010
|
+
```ruby
|
1011
|
+
begin
|
1012
|
+
# Retrieve a lease transaction
|
1013
|
+
data, status_code, headers = api_instance.get_lease_ledger_transaction_by_id_with_http_info(lease_id, transaction_id)
|
1014
|
+
p status_code # => 2xx
|
1015
|
+
p headers # => { ... }
|
1016
|
+
p data # => <LeaseTransactionMessage>
|
1017
|
+
rescue Buildium::ApiError => e
|
1018
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledger_transaction_by_id_with_http_info: #{e}"
|
1019
|
+
end
|
1020
|
+
```
|
1021
|
+
|
1022
|
+
### Parameters
|
1023
|
+
|
1024
|
+
| Name | Type | Description | Notes |
|
1025
|
+
| ---- | ---- | ----------- | ----- |
|
1026
|
+
| **lease_id** | **Integer** | | |
|
1027
|
+
| **transaction_id** | **Integer** | | |
|
1028
|
+
|
1029
|
+
### Return type
|
1030
|
+
|
1031
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
1032
|
+
|
1033
|
+
### Authorization
|
1034
|
+
|
1035
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1036
|
+
|
1037
|
+
### HTTP request headers
|
1038
|
+
|
1039
|
+
- **Content-Type**: Not defined
|
1040
|
+
- **Accept**: application/json
|
1041
|
+
|
1042
|
+
|
1043
|
+
## get_lease_ledgers
|
1044
|
+
|
1045
|
+
> <Array<LeaseTransactionMessage>> get_lease_ledgers(lease_id, opts)
|
1046
|
+
|
1047
|
+
Retrieve all lease transactions
|
1048
|
+
|
1049
|
+
Retrieves all the transactions for a specific lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
1050
|
+
|
1051
|
+
### Examples
|
1052
|
+
|
1053
|
+
```ruby
|
1054
|
+
require 'time'
|
1055
|
+
require 'buildium-ruby'
|
1056
|
+
# setup authorization
|
1057
|
+
Buildium.configure do |config|
|
1058
|
+
# Configure API key authorization: clientId
|
1059
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1060
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1061
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1062
|
+
|
1063
|
+
# Configure API key authorization: clientSecret
|
1064
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1065
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1066
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1070
|
+
lease_id = 56 # Integer |
|
1071
|
+
opts = {
|
1072
|
+
transactiondatefrom: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose start date is greater than or equal to the specified value.
|
1073
|
+
transactiondateto: Date.parse('2013-10-20'), # Date | Filters results to any lease transaction whose end date is less than or equal to the specified value.
|
1074
|
+
transactiontypes: ['Bill'], # Array<String> | 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.
|
1075
|
+
orderby: 'orderby_example', # String | `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.
|
1076
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1077
|
+
limit: 56 # Integer | `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.
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
begin
|
1081
|
+
# Retrieve all lease transactions
|
1082
|
+
result = api_instance.get_lease_ledgers(lease_id, opts)
|
1083
|
+
p result
|
1084
|
+
rescue Buildium::ApiError => e
|
1085
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledgers: #{e}"
|
1086
|
+
end
|
1087
|
+
```
|
1088
|
+
|
1089
|
+
#### Using the get_lease_ledgers_with_http_info variant
|
1090
|
+
|
1091
|
+
This returns an Array which contains the response data, status code and headers.
|
1092
|
+
|
1093
|
+
> <Array(<Array<LeaseTransactionMessage>>, Integer, Hash)> get_lease_ledgers_with_http_info(lease_id, opts)
|
1094
|
+
|
1095
|
+
```ruby
|
1096
|
+
begin
|
1097
|
+
# Retrieve all lease transactions
|
1098
|
+
data, status_code, headers = api_instance.get_lease_ledgers_with_http_info(lease_id, opts)
|
1099
|
+
p status_code # => 2xx
|
1100
|
+
p headers # => { ... }
|
1101
|
+
p data # => <Array<LeaseTransactionMessage>>
|
1102
|
+
rescue Buildium::ApiError => e
|
1103
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_ledgers_with_http_info: #{e}"
|
1104
|
+
end
|
1105
|
+
```
|
1106
|
+
|
1107
|
+
### Parameters
|
1108
|
+
|
1109
|
+
| Name | Type | Description | Notes |
|
1110
|
+
| ---- | ---- | ----------- | ----- |
|
1111
|
+
| **lease_id** | **Integer** | | |
|
1112
|
+
| **transactiondatefrom** | **Date** | Filters results to any lease transaction whose start date is greater than or equal to the specified value. | [optional] |
|
1113
|
+
| **transactiondateto** | **Date** | Filters results to any lease transaction whose end date is less than or equal to the specified value. | [optional] |
|
1114
|
+
| **transactiontypes** | [**Array<String>**](String.md) | 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. | [optional] |
|
1115
|
+
| **orderby** | **String** | `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. | [optional] |
|
1116
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
1117
|
+
| **limit** | **Integer** | `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. | [optional] |
|
1118
|
+
|
1119
|
+
### Return type
|
1120
|
+
|
1121
|
+
[**Array<LeaseTransactionMessage>**](LeaseTransactionMessage.md)
|
1122
|
+
|
1123
|
+
### Authorization
|
1124
|
+
|
1125
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1126
|
+
|
1127
|
+
### HTTP request headers
|
1128
|
+
|
1129
|
+
- **Content-Type**: Not defined
|
1130
|
+
- **Accept**: application/json
|
1131
|
+
|
1132
|
+
|
1133
|
+
## get_lease_outstanding_balances
|
1134
|
+
|
1135
|
+
> <Array<LeaseOutstandingBalanceMessage>> get_lease_outstanding_balances(opts)
|
1136
|
+
|
1137
|
+
Retrieve all outstanding balances
|
1138
|
+
|
1139
|
+
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`
|
1140
|
+
|
1141
|
+
### Examples
|
1142
|
+
|
1143
|
+
```ruby
|
1144
|
+
require 'time'
|
1145
|
+
require 'buildium-ruby'
|
1146
|
+
# setup authorization
|
1147
|
+
Buildium.configure do |config|
|
1148
|
+
# Configure API key authorization: clientId
|
1149
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1150
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1151
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1152
|
+
|
1153
|
+
# Configure API key authorization: clientSecret
|
1154
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1155
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1156
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1160
|
+
opts = {
|
1161
|
+
entitytype: 'Rental', # String |
|
1162
|
+
entityid: 56, # Integer |
|
1163
|
+
leasestatuses: ['Active'], # Array<String> |
|
1164
|
+
leaseids: [37], # Array<Integer> |
|
1165
|
+
pastdueemail: 'NoEmailAddress', # String |
|
1166
|
+
balanceduration: 'TotalBalance', # String |
|
1167
|
+
evictionstatus: 'NotEvictionPending', # String |
|
1168
|
+
orderby: 'orderby_example', # String | `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.
|
1169
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1170
|
+
limit: 56 # Integer | `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.
|
1171
|
+
}
|
1172
|
+
|
1173
|
+
begin
|
1174
|
+
# Retrieve all outstanding balances
|
1175
|
+
result = api_instance.get_lease_outstanding_balances(opts)
|
1176
|
+
p result
|
1177
|
+
rescue Buildium::ApiError => e
|
1178
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_outstanding_balances: #{e}"
|
1179
|
+
end
|
1180
|
+
```
|
1181
|
+
|
1182
|
+
#### Using the get_lease_outstanding_balances_with_http_info variant
|
1183
|
+
|
1184
|
+
This returns an Array which contains the response data, status code and headers.
|
1185
|
+
|
1186
|
+
> <Array(<Array<LeaseOutstandingBalanceMessage>>, Integer, Hash)> get_lease_outstanding_balances_with_http_info(opts)
|
1187
|
+
|
1188
|
+
```ruby
|
1189
|
+
begin
|
1190
|
+
# Retrieve all outstanding balances
|
1191
|
+
data, status_code, headers = api_instance.get_lease_outstanding_balances_with_http_info(opts)
|
1192
|
+
p status_code # => 2xx
|
1193
|
+
p headers # => { ... }
|
1194
|
+
p data # => <Array<LeaseOutstandingBalanceMessage>>
|
1195
|
+
rescue Buildium::ApiError => e
|
1196
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_outstanding_balances_with_http_info: #{e}"
|
1197
|
+
end
|
1198
|
+
```
|
1199
|
+
|
1200
|
+
### Parameters
|
1201
|
+
|
1202
|
+
| Name | Type | Description | Notes |
|
1203
|
+
| ---- | ---- | ----------- | ----- |
|
1204
|
+
| **entitytype** | **String** | | [optional] |
|
1205
|
+
| **entityid** | **Integer** | | [optional] |
|
1206
|
+
| **leasestatuses** | [**Array<String>**](String.md) | | [optional] |
|
1207
|
+
| **leaseids** | [**Array<Integer>**](Integer.md) | | [optional] |
|
1208
|
+
| **pastdueemail** | **String** | | [optional] |
|
1209
|
+
| **balanceduration** | **String** | | [optional] |
|
1210
|
+
| **evictionstatus** | **String** | | [optional] |
|
1211
|
+
| **orderby** | **String** | `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. | [optional] |
|
1212
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
1213
|
+
| **limit** | **Integer** | `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. | [optional] |
|
1214
|
+
|
1215
|
+
### Return type
|
1216
|
+
|
1217
|
+
[**Array<LeaseOutstandingBalanceMessage>**](LeaseOutstandingBalanceMessage.md)
|
1218
|
+
|
1219
|
+
### Authorization
|
1220
|
+
|
1221
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1222
|
+
|
1223
|
+
### HTTP request headers
|
1224
|
+
|
1225
|
+
- **Content-Type**: Not defined
|
1226
|
+
- **Accept**: application/json
|
1227
|
+
|
1228
|
+
|
1229
|
+
## get_lease_recurring_credit_by_id
|
1230
|
+
|
1231
|
+
> <LeaseRecurringCreditMessage> get_lease_recurring_credit_by_id(lease_id, transaction_id)
|
1232
|
+
|
1233
|
+
Retrieve a recurring credit
|
1234
|
+
|
1235
|
+
Retrieves a recurring credit. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
1236
|
+
|
1237
|
+
### Examples
|
1238
|
+
|
1239
|
+
```ruby
|
1240
|
+
require 'time'
|
1241
|
+
require 'buildium-ruby'
|
1242
|
+
# setup authorization
|
1243
|
+
Buildium.configure do |config|
|
1244
|
+
# Configure API key authorization: clientId
|
1245
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1246
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1247
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1248
|
+
|
1249
|
+
# Configure API key authorization: clientSecret
|
1250
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1251
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1252
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1256
|
+
lease_id = 56 # Integer |
|
1257
|
+
transaction_id = 56 # Integer |
|
1258
|
+
|
1259
|
+
begin
|
1260
|
+
# Retrieve a recurring credit
|
1261
|
+
result = api_instance.get_lease_recurring_credit_by_id(lease_id, transaction_id)
|
1262
|
+
p result
|
1263
|
+
rescue Buildium::ApiError => e
|
1264
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_recurring_credit_by_id: #{e}"
|
1265
|
+
end
|
1266
|
+
```
|
1267
|
+
|
1268
|
+
#### Using the get_lease_recurring_credit_by_id_with_http_info variant
|
1269
|
+
|
1270
|
+
This returns an Array which contains the response data, status code and headers.
|
1271
|
+
|
1272
|
+
> <Array(<LeaseRecurringCreditMessage>, Integer, Hash)> get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
|
1273
|
+
|
1274
|
+
```ruby
|
1275
|
+
begin
|
1276
|
+
# Retrieve a recurring credit
|
1277
|
+
data, status_code, headers = api_instance.get_lease_recurring_credit_by_id_with_http_info(lease_id, transaction_id)
|
1278
|
+
p status_code # => 2xx
|
1279
|
+
p headers # => { ... }
|
1280
|
+
p data # => <LeaseRecurringCreditMessage>
|
1281
|
+
rescue Buildium::ApiError => e
|
1282
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_recurring_credit_by_id_with_http_info: #{e}"
|
1283
|
+
end
|
1284
|
+
```
|
1285
|
+
|
1286
|
+
### Parameters
|
1287
|
+
|
1288
|
+
| Name | Type | Description | Notes |
|
1289
|
+
| ---- | ---- | ----------- | ----- |
|
1290
|
+
| **lease_id** | **Integer** | | |
|
1291
|
+
| **transaction_id** | **Integer** | | |
|
1292
|
+
|
1293
|
+
### Return type
|
1294
|
+
|
1295
|
+
[**LeaseRecurringCreditMessage**](LeaseRecurringCreditMessage.md)
|
1296
|
+
|
1297
|
+
### Authorization
|
1298
|
+
|
1299
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1300
|
+
|
1301
|
+
### HTTP request headers
|
1302
|
+
|
1303
|
+
- **Content-Type**: Not defined
|
1304
|
+
- **Accept**: application/json
|
1305
|
+
|
1306
|
+
|
1307
|
+
## get_lease_recurring_transactions
|
1308
|
+
|
1309
|
+
> <Array<RecurringTransactionMessage>> get_lease_recurring_transactions(lease_id, opts)
|
1310
|
+
|
1311
|
+
Retrieve all recurring transactions
|
1312
|
+
|
1313
|
+
Retrieves all recurring transactions for a given lease. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View`
|
1314
|
+
|
1315
|
+
### Examples
|
1316
|
+
|
1317
|
+
```ruby
|
1318
|
+
require 'time'
|
1319
|
+
require 'buildium-ruby'
|
1320
|
+
# setup authorization
|
1321
|
+
Buildium.configure do |config|
|
1322
|
+
# Configure API key authorization: clientId
|
1323
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1324
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1325
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1326
|
+
|
1327
|
+
# Configure API key authorization: clientSecret
|
1328
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1329
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1330
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1334
|
+
lease_id = 56 # Integer |
|
1335
|
+
opts = {
|
1336
|
+
orderby: 'orderby_example', # String | `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.
|
1337
|
+
offset: 56, # Integer | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0.
|
1338
|
+
limit: 56 # Integer | `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.
|
1339
|
+
}
|
1340
|
+
|
1341
|
+
begin
|
1342
|
+
# Retrieve all recurring transactions
|
1343
|
+
result = api_instance.get_lease_recurring_transactions(lease_id, opts)
|
1344
|
+
p result
|
1345
|
+
rescue Buildium::ApiError => e
|
1346
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_recurring_transactions: #{e}"
|
1347
|
+
end
|
1348
|
+
```
|
1349
|
+
|
1350
|
+
#### Using the get_lease_recurring_transactions_with_http_info variant
|
1351
|
+
|
1352
|
+
This returns an Array which contains the response data, status code and headers.
|
1353
|
+
|
1354
|
+
> <Array(<Array<RecurringTransactionMessage>>, Integer, Hash)> get_lease_recurring_transactions_with_http_info(lease_id, opts)
|
1355
|
+
|
1356
|
+
```ruby
|
1357
|
+
begin
|
1358
|
+
# Retrieve all recurring transactions
|
1359
|
+
data, status_code, headers = api_instance.get_lease_recurring_transactions_with_http_info(lease_id, opts)
|
1360
|
+
p status_code # => 2xx
|
1361
|
+
p headers # => { ... }
|
1362
|
+
p data # => <Array<RecurringTransactionMessage>>
|
1363
|
+
rescue Buildium::ApiError => e
|
1364
|
+
puts "Error when calling LeaseTransactionsApi->get_lease_recurring_transactions_with_http_info: #{e}"
|
1365
|
+
end
|
1366
|
+
```
|
1367
|
+
|
1368
|
+
### Parameters
|
1369
|
+
|
1370
|
+
| Name | Type | Description | Notes |
|
1371
|
+
| ---- | ---- | ----------- | ----- |
|
1372
|
+
| **lease_id** | **Integer** | | |
|
1373
|
+
| **orderby** | **String** | `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. | [optional] |
|
1374
|
+
| **offset** | **Integer** | `offset` indicates the position of the first record to return. The `offset` is zero-based and the default is 0. | [optional] |
|
1375
|
+
| **limit** | **Integer** | `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. | [optional] |
|
1376
|
+
|
1377
|
+
### Return type
|
1378
|
+
|
1379
|
+
[**Array<RecurringTransactionMessage>**](RecurringTransactionMessage.md)
|
1380
|
+
|
1381
|
+
### Authorization
|
1382
|
+
|
1383
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1384
|
+
|
1385
|
+
### HTTP request headers
|
1386
|
+
|
1387
|
+
- **Content-Type**: Not defined
|
1388
|
+
- **Accept**: application/json
|
1389
|
+
|
1390
|
+
|
1391
|
+
## get_recurring_lease_payments_by_id
|
1392
|
+
|
1393
|
+
> <LeaseRecurringPaymentMessage> get_recurring_lease_payments_by_id(lease_id, payment_id)
|
1394
|
+
|
1395
|
+
Retrieve a recurring payment
|
1396
|
+
|
1397
|
+
Retrieves a recurring payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease Transactions</span> - `View`
|
1398
|
+
|
1399
|
+
### Examples
|
1400
|
+
|
1401
|
+
```ruby
|
1402
|
+
require 'time'
|
1403
|
+
require 'buildium-ruby'
|
1404
|
+
# setup authorization
|
1405
|
+
Buildium.configure do |config|
|
1406
|
+
# Configure API key authorization: clientId
|
1407
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1408
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1409
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1410
|
+
|
1411
|
+
# Configure API key authorization: clientSecret
|
1412
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1413
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1414
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1418
|
+
lease_id = 56 # Integer |
|
1419
|
+
payment_id = 56 # Integer |
|
1420
|
+
|
1421
|
+
begin
|
1422
|
+
# Retrieve a recurring payment
|
1423
|
+
result = api_instance.get_recurring_lease_payments_by_id(lease_id, payment_id)
|
1424
|
+
p result
|
1425
|
+
rescue Buildium::ApiError => e
|
1426
|
+
puts "Error when calling LeaseTransactionsApi->get_recurring_lease_payments_by_id: #{e}"
|
1427
|
+
end
|
1428
|
+
```
|
1429
|
+
|
1430
|
+
#### Using the get_recurring_lease_payments_by_id_with_http_info variant
|
1431
|
+
|
1432
|
+
This returns an Array which contains the response data, status code and headers.
|
1433
|
+
|
1434
|
+
> <Array(<LeaseRecurringPaymentMessage>, Integer, Hash)> get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
|
1435
|
+
|
1436
|
+
```ruby
|
1437
|
+
begin
|
1438
|
+
# Retrieve a recurring payment
|
1439
|
+
data, status_code, headers = api_instance.get_recurring_lease_payments_by_id_with_http_info(lease_id, payment_id)
|
1440
|
+
p status_code # => 2xx
|
1441
|
+
p headers # => { ... }
|
1442
|
+
p data # => <LeaseRecurringPaymentMessage>
|
1443
|
+
rescue Buildium::ApiError => e
|
1444
|
+
puts "Error when calling LeaseTransactionsApi->get_recurring_lease_payments_by_id_with_http_info: #{e}"
|
1445
|
+
end
|
1446
|
+
```
|
1447
|
+
|
1448
|
+
### Parameters
|
1449
|
+
|
1450
|
+
| Name | Type | Description | Notes |
|
1451
|
+
| ---- | ---- | ----------- | ----- |
|
1452
|
+
| **lease_id** | **Integer** | | |
|
1453
|
+
| **payment_id** | **Integer** | | |
|
1454
|
+
|
1455
|
+
### Return type
|
1456
|
+
|
1457
|
+
[**LeaseRecurringPaymentMessage**](LeaseRecurringPaymentMessage.md)
|
1458
|
+
|
1459
|
+
### Authorization
|
1460
|
+
|
1461
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1462
|
+
|
1463
|
+
### HTTP request headers
|
1464
|
+
|
1465
|
+
- **Content-Type**: Not defined
|
1466
|
+
- **Accept**: application/json
|
1467
|
+
|
1468
|
+
|
1469
|
+
## update_lease_charge
|
1470
|
+
|
1471
|
+
> <LeaseTransactionMessage> update_lease_charge(lease_id, charge_id, lease_charge_put_message)
|
1472
|
+
|
1473
|
+
Update a charge
|
1474
|
+
|
1475
|
+
Updates a charge. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
1476
|
+
|
1477
|
+
### Examples
|
1478
|
+
|
1479
|
+
```ruby
|
1480
|
+
require 'time'
|
1481
|
+
require 'buildium-ruby'
|
1482
|
+
# setup authorization
|
1483
|
+
Buildium.configure do |config|
|
1484
|
+
# Configure API key authorization: clientId
|
1485
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1486
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1487
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1488
|
+
|
1489
|
+
# Configure API key authorization: clientSecret
|
1490
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1491
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1492
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1496
|
+
lease_id = 56 # Integer |
|
1497
|
+
charge_id = 56 # Integer |
|
1498
|
+
lease_charge_put_message = Buildium::LeaseChargePutMessage.new({date: Date.today, lines: [Buildium::LeaseChargeLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseChargePutMessage |
|
1499
|
+
|
1500
|
+
begin
|
1501
|
+
# Update a charge
|
1502
|
+
result = api_instance.update_lease_charge(lease_id, charge_id, lease_charge_put_message)
|
1503
|
+
p result
|
1504
|
+
rescue Buildium::ApiError => e
|
1505
|
+
puts "Error when calling LeaseTransactionsApi->update_lease_charge: #{e}"
|
1506
|
+
end
|
1507
|
+
```
|
1508
|
+
|
1509
|
+
#### Using the update_lease_charge_with_http_info variant
|
1510
|
+
|
1511
|
+
This returns an Array which contains the response data, status code and headers.
|
1512
|
+
|
1513
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
|
1514
|
+
|
1515
|
+
```ruby
|
1516
|
+
begin
|
1517
|
+
# Update a charge
|
1518
|
+
data, status_code, headers = api_instance.update_lease_charge_with_http_info(lease_id, charge_id, lease_charge_put_message)
|
1519
|
+
p status_code # => 2xx
|
1520
|
+
p headers # => { ... }
|
1521
|
+
p data # => <LeaseTransactionMessage>
|
1522
|
+
rescue Buildium::ApiError => e
|
1523
|
+
puts "Error when calling LeaseTransactionsApi->update_lease_charge_with_http_info: #{e}"
|
1524
|
+
end
|
1525
|
+
```
|
1526
|
+
|
1527
|
+
### Parameters
|
1528
|
+
|
1529
|
+
| Name | Type | Description | Notes |
|
1530
|
+
| ---- | ---- | ----------- | ----- |
|
1531
|
+
| **lease_id** | **Integer** | | |
|
1532
|
+
| **charge_id** | **Integer** | | |
|
1533
|
+
| **lease_charge_put_message** | [**LeaseChargePutMessage**](LeaseChargePutMessage.md) | | |
|
1534
|
+
|
1535
|
+
### Return type
|
1536
|
+
|
1537
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
1538
|
+
|
1539
|
+
### Authorization
|
1540
|
+
|
1541
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1542
|
+
|
1543
|
+
### HTTP request headers
|
1544
|
+
|
1545
|
+
- **Content-Type**: application/json
|
1546
|
+
- **Accept**: application/json
|
1547
|
+
|
1548
|
+
|
1549
|
+
## update_lease_ledger_payment
|
1550
|
+
|
1551
|
+
> <LeaseTransactionMessage> update_lease_ledger_payment(lease_id, payment_id, lease_ledger_payment_put_message)
|
1552
|
+
|
1553
|
+
Update a payment
|
1554
|
+
|
1555
|
+
Updates a ledger payment. <br /><br /><h4>Required permission(s):</h4><span class=\"permissionBlock\">Rentals > Lease transactions</span> - `View` `Edit`
|
1556
|
+
|
1557
|
+
### Examples
|
1558
|
+
|
1559
|
+
```ruby
|
1560
|
+
require 'time'
|
1561
|
+
require 'buildium-ruby'
|
1562
|
+
# setup authorization
|
1563
|
+
Buildium.configure do |config|
|
1564
|
+
# Configure API key authorization: clientId
|
1565
|
+
config.api_key['clientId'] = 'YOUR API KEY'
|
1566
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1567
|
+
# config.api_key_prefix['clientId'] = 'Bearer'
|
1568
|
+
|
1569
|
+
# Configure API key authorization: clientSecret
|
1570
|
+
config.api_key['clientSecret'] = 'YOUR API KEY'
|
1571
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1572
|
+
# config.api_key_prefix['clientSecret'] = 'Bearer'
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
api_instance = Buildium::LeaseTransactionsApi.new
|
1576
|
+
lease_id = 56 # Integer |
|
1577
|
+
payment_id = 56 # Integer |
|
1578
|
+
lease_ledger_payment_put_message = Buildium::LeaseLedgerPaymentPutMessage.new({date: Date.today, payment_method: 'Check', lines: [Buildium::LeaseLedgerPaymentLineSaveMessage.new({amount: 3.56, gl_account_id: 37})]}) # LeaseLedgerPaymentPutMessage |
|
1579
|
+
|
1580
|
+
begin
|
1581
|
+
# Update a payment
|
1582
|
+
result = api_instance.update_lease_ledger_payment(lease_id, payment_id, lease_ledger_payment_put_message)
|
1583
|
+
p result
|
1584
|
+
rescue Buildium::ApiError => e
|
1585
|
+
puts "Error when calling LeaseTransactionsApi->update_lease_ledger_payment: #{e}"
|
1586
|
+
end
|
1587
|
+
```
|
1588
|
+
|
1589
|
+
#### Using the update_lease_ledger_payment_with_http_info variant
|
1590
|
+
|
1591
|
+
This returns an Array which contains the response data, status code and headers.
|
1592
|
+
|
1593
|
+
> <Array(<LeaseTransactionMessage>, Integer, Hash)> update_lease_ledger_payment_with_http_info(lease_id, payment_id, lease_ledger_payment_put_message)
|
1594
|
+
|
1595
|
+
```ruby
|
1596
|
+
begin
|
1597
|
+
# Update a payment
|
1598
|
+
data, status_code, headers = api_instance.update_lease_ledger_payment_with_http_info(lease_id, payment_id, lease_ledger_payment_put_message)
|
1599
|
+
p status_code # => 2xx
|
1600
|
+
p headers # => { ... }
|
1601
|
+
p data # => <LeaseTransactionMessage>
|
1602
|
+
rescue Buildium::ApiError => e
|
1603
|
+
puts "Error when calling LeaseTransactionsApi->update_lease_ledger_payment_with_http_info: #{e}"
|
1604
|
+
end
|
1605
|
+
```
|
1606
|
+
|
1607
|
+
### Parameters
|
1608
|
+
|
1609
|
+
| Name | Type | Description | Notes |
|
1610
|
+
| ---- | ---- | ----------- | ----- |
|
1611
|
+
| **lease_id** | **Integer** | | |
|
1612
|
+
| **payment_id** | **Integer** | | |
|
1613
|
+
| **lease_ledger_payment_put_message** | [**LeaseLedgerPaymentPutMessage**](LeaseLedgerPaymentPutMessage.md) | | |
|
1614
|
+
|
1615
|
+
### Return type
|
1616
|
+
|
1617
|
+
[**LeaseTransactionMessage**](LeaseTransactionMessage.md)
|
1618
|
+
|
1619
|
+
### Authorization
|
1620
|
+
|
1621
|
+
[clientId](../README.md#clientId), [clientSecret](../README.md#clientSecret)
|
1622
|
+
|
1623
|
+
### HTTP request headers
|
1624
|
+
|
1625
|
+
- **Content-Type**: application/json
|
1626
|
+
- **Accept**: application/json
|
1627
|
+
|