The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::Fixflo::Issue

DESCRIPTION

A class for a fixflo issue, extends Business::Fixflo::Resource

ATTRIBUTES

    Address
    AdditionalDetails
    CallbackId
    ContactNumber
    ContactNumberAlt
    Created
    DirectEmailAddress
    DirectMobileNumber
    EmailAddress
    ExternalRefTenancyAgreement
    FaultCategory
    FaultNotes
    FaultPriority
    FaultTitle
    Firstname
    Id
    Media
    Property
    PropertyAddressId
    Salutation
    Status
    StatusChanged
    Surname
    TenantAcceptComplete
    TenantId
    TenantNotes
    TenantPresenceRequested
    TermsAccepted
    Title

Operations on an issue

report

Returns the report content (binary, pdf)

    my $pdf_report = $issue->report;

property

Returns the Business::Fixflo::Property associated with the issue

    my $Property = $issue->property;

create_url

    my $issue_create_url = $issue->create_url( $params );

Returns a URL string that can be used to create an Issue in Fixflo - the method can accept a hashref of params that can pre-populate fields on the page:

    IsVacant   => bool,
    TenantNo   => string,
    BMBlockId  => $id,
    PropertyId => $id

Having called the method redirect the user to the returned URL

search_url

    my $issue_search_url = $issue->search_url( $params );

Much like create_url but returns a URL string for searching. Note this method can accept many URL parameters so check the Fixflo documentation for a complete list

Having called the method redirect the user to the returned URL