ofx4js
Version:
A javascript OFX library, ported from OFX4J
234 lines (233 loc) • 6.97 kB
TypeScript
import { ResponseMessage } from "../ResponseMessage";
import { FinancialInstitutionProfile } from "../../../client/FinancialInstitutionProfile";
import { MessageSetInfoList } from "./MessageSetInfoList";
import { SignonInfoList } from "./SignonInfoList";
import { MessageSetType } from "../MessageSetType";
import { MessageSetProfile } from "../MessageSetProfile";
import { SignonProfile } from "../SignonProfile";
/**
* @see "Section 7.2 OFX Spec"
*/
export declare class ProfileResponse extends ResponseMessage implements FinancialInstitutionProfile {
private messageSetList;
private signonInfoList;
private timestamp;
private financialInstitutionName;
private address1;
private address2;
private address3;
private city;
private state;
private zip;
private country;
private customerServicePhone;
private technicalSupportPhone;
private fax;
private siteURL;
private email;
/**
* List of message set information.
* @return List of message set information.
*/
getMessageSetList(): MessageSetInfoList;
/**
* List of message set information.
*
* @param messageSetList List of message set information.
*/
setMessageSetList(messageSetList: MessageSetInfoList): void;
/**
* List of signon information.
*
* @return List of signon information.
*/
getSignonInfoList(): SignonInfoList;
/**
* List of signon information.
*
* @param signonInfoList List of signon information.
*/
setSignonInfoList(signonInfoList: SignonInfoList): void;
getResponseMessageName(): string;
getLastUpdated(): Date;
/**
* The timestamp of this profile update.
*
* @return The timestamp of this profile update.
*/
getTimestamp(): Date;
/**
* The timestamp of this profile update.
*
* @param timestamp The timestamp of this profile update.
*/
setTimestamp(timestamp: Date): void;
/**
* The name of the financial institution.
*
* @return The name of the financial institution.
*/
getFinancialInstitutionName(): string;
/**
* The name of the financial institution.
*
* @param financialInstitutionName The name of the financial institution.
*/
setFinancialInstitutionName(financialInstitutionName: string): void;
/**
* The address of the financial institution.
*
* @return The address of the financial institution.
*/
getAddress1(): string;
/**
* The address of the financial institution.
*
* @param address1 The address of the financial institution.
*/
setAddress1(address1: string): void;
/**
* The address of the financial institution.
*
* @return The address of the financial institution.
*/
getAddress2(): string;
/**
* The address of the financial institution.
*
* @param address2 The address of the financial institution.
*/
setAddress2(address2: string): void;
/**
* The address of the financial institution.
*
* @return The address of the financial institution.
*/
getAddress3(): string;
/**
* The address of the financial institution.
*
* @param address3 The address of the financial institution.
*/
setAddress3(address3: string): void;
/**
* The city of the financial institution.
*
* @return The city of the financial institution.
*/
getCity(): string;
/**
* The city of the financial institution.
*
* @param city The city of the financial institution.
*/
setCity(city: string): void;
/**
* The state of this financial institution.
*
* @return The state of this financial institution.
*/
getState(): string;
/**
* The state of this financial institution.
*
* @param state The state of this financial institution.
*/
setState(state: string): void;
/**
* The postal code of this financial institution.
*
* @return The postal code of this financial institution.
*/
getZip(): string;
/**
* The postal code of this financial institution.
*
* @param zip The postal code of this financial institution.
*/
setZip(zip: string): void;
/**
* The country code for this financial institution.
*
* @return The country code for this financial institution.
* @see java.util.Locale#getISO3Country()
*/
getCountry(): string;
/**
* The country code for this financial institution.
*
* @param country The country code for this financial institution.
*/
setCountry(country: string): void;
/**
* The phone number to customer service.
*
* @return The phone number to customer service.
*/
getCustomerServicePhone(): string;
/**
* The phone number to customer service.
*
* @param customerServicePhone The phone number to customer service.
*/
setCustomerServicePhone(customerServicePhone: string): void;
/**
* The phone number to tech support.
*
* @return The phone number to tech support.
*/
getTechnicalSupportPhone(): string;
/**
* The phone number to tech support.
*
* @param technicalSupportPhone The phone number to tech support.
*/
setTechnicalSupportPhone(technicalSupportPhone: string): void;
/**
* The fax number.
*
* @return The fax number.
*/
getFax(): string;
/**
* The fax number.
*
* @param fax The fax number.
*/
setFax(fax: string): void;
/**
* URL for the financial institution.
*
* @return URL for the financial institution.
*/
getSiteURL(): string;
/**
* URL for the financial institution.
*
* @param siteURL URL for the financial institution.
*/
setSiteURL(siteURL: string): void;
/**
* The email for this FI
*
* @return The email for this FI
*/
getEmail(): string;
/**
* The email for this FI
*
* @param email The email for this FI
*/
setEmail(email: string): void;
getMessageSetProfile(type: MessageSetType, version?: string): MessageSetProfile;
getMessageSetProfile_noversion(type: MessageSetType): MessageSetProfile;
/**
* Get all the profiles of the specified type.
*
* @param type The type.
* @return The profiles.
*/
protected getProfiles(type: MessageSetType): Array<MessageSetProfile>;
getMessageSetProfile_version(type: MessageSetType, version: string): MessageSetProfile;
getSignonProfile(messageSet: MessageSetProfile): SignonProfile;
}