
// _BPClient.h
// BISubstrate
// 
// Created by mceogenerator
// DO NOT EDIT.  Make changes to BPClient.h instead.
// 
// Copyright (c) 2008 Marketcircle Inc. All rights reserved.

#import <MCFoundation/MCPObject.h>
#import "BIPObject.h"

@class BIPayment;
@class BICurrency;
@class BIClientPhoto;
@class BIReportTemplatePreference;
@class BIProFormaInvoice;
@class BIClientCategory;
@class BIProject;
@class BIRetainer;
@class BIConsolidatedTax;
@class BIClientABLink;
@class BIIdentity;
@class BIInvoice;
@class BIStatement;

@interface _BPClient : BIPObject
{ 
//    
//    NSString *formalGreeting;
//    NSString *department;
//    NSString *jobTitle;
//    NSString *nickName;
//    NSString *middleName;
//    NSString *suffix;
//    NSString *prefix;
//    NSNumber *billingIdentityID;
//    NSString *taxNumber;
//    NSNumber *statementTemplatePrefID;
//    NSNumber *estimateTemplatePrefID;
//    NSNumber *invoiceTemplatePrefID;
//    NSNumber *consolidatedTaxID;
//    NSCalendarDate *overdueAmountValidUntilDate;
//    NSNumber *overdueAmountCached;
//    NSNumber *currentCurrencyID;
//    NSNumber *clientPhotoID;
//    NSString *addressFormatted;
//    NSString *addressCountry;
//    NSString *addressZIP;
//    NSString *addressState;
//    NSString *addressStreet;
//    NSString *addressCity;
//    NSNumber *incompleteAmountCached;
//    NSNumber *unbilledAmountCached;
//    NSNumber *retainersBalanceCached;
//    NSNumber *balanceCached;
//    NSNumber *clientCategoryID;
//    NSCalendarDate *modifyDate;
//    NSNumber *mileageRate;
//    NSString *lastName;
//    NSNumber *isCompany;
//    NSNumber *hourlyRate;
//    NSString *firstName;
//    NSString *extra4;
//    NSString *extra3;
//    NSString *extra2;
//    NSString *extra1;
//    NSString *email;
//    NSCalendarDate *createDate;
//    NSString *company;
//    NSString *clientNumber;
//    NSNumber *clientID;
//    NSNumber *mileageDistance;
//    
//    BIIdentity*billingIdentity;
//    BIReportTemplatePreference*statementTemplatePreference;
//    BIReportTemplatePreference*estimateTemplatePreference;
//    BIReportTemplatePreference*invoiceTemplatePreference;
//    BIConsolidatedTax*consolidatedTax;
//    BICurrency*currentCurrency;
//    BIClientPhoto*clientPhoto;
//    BIClientCategory*clientCategory;
//    
//    NSMutableArray *clientABLinks;
//    NSMutableArray *proFormaInvoices;
//    NSMutableArray *statements;
//    NSMutableArray *invoices;
//    NSMutableArray *payments;
//    NSMutableArray *retainers;
//    NSMutableArray *projects;
}




- (void)setFormalGreeting:(NSString *)aValue;
- (NSString *)formalGreeting;

- (void)setDepartment:(NSString *)aValue;
- (NSString *)department;

- (void)setJobTitle:(NSString *)aValue;
- (NSString *)jobTitle;

- (void)setNickName:(NSString *)aValue;
- (NSString *)nickName;

- (void)setMiddleName:(NSString *)aValue;
- (NSString *)middleName;

- (void)setSuffix:(NSString *)aValue;
- (NSString *)suffix;

- (void)setPrefix:(NSString *)aValue;
- (NSString *)prefix;

- (void)setBillingIdentityID:(NSNumber *)aValue;
- (NSNumber *)billingIdentityID;

- (void)setTaxNumber:(NSString *)aValue;
- (NSString *)taxNumber;

- (void)setStatementTemplatePrefID:(NSNumber *)aValue;
- (NSNumber *)statementTemplatePrefID;

- (void)setEstimateTemplatePrefID:(NSNumber *)aValue;
- (NSNumber *)estimateTemplatePrefID;

- (void)setInvoiceTemplatePrefID:(NSNumber *)aValue;
- (NSNumber *)invoiceTemplatePrefID;

- (void)setConsolidatedTaxID:(NSNumber *)aValue;
- (NSNumber *)consolidatedTaxID;

- (void)setOverdueAmountValidUntilDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)overdueAmountValidUntilDate;

- (void)setOverdueAmountCached:(NSNumber *)aValue;
- (NSNumber *)overdueAmountCached;

- (void)setCurrentCurrencyID:(NSNumber *)aValue;
- (NSNumber *)currentCurrencyID;

- (void)setClientPhotoID:(NSNumber *)aValue;
- (NSNumber *)clientPhotoID;

- (void)setAddressFormatted:(NSString *)aValue;
- (NSString *)addressFormatted;

- (void)setAddressCountry:(NSString *)aValue;
- (NSString *)addressCountry;

- (void)setAddressZIP:(NSString *)aValue;
- (NSString *)addressZIP;

- (void)setAddressState:(NSString *)aValue;
- (NSString *)addressState;

- (void)setAddressStreet:(NSString *)aValue;
- (NSString *)addressStreet;

- (void)setAddressCity:(NSString *)aValue;
- (NSString *)addressCity;

- (void)setIncompleteAmountCached:(NSNumber *)aValue;
- (NSNumber *)incompleteAmountCached;

- (void)setUnbilledAmountCached:(NSNumber *)aValue;
- (NSNumber *)unbilledAmountCached;

- (void)setRetainersBalanceCached:(NSNumber *)aValue;
- (NSNumber *)retainersBalanceCached;

- (void)setBalanceCached:(NSNumber *)aValue;
- (NSNumber *)balanceCached;

- (void)setClientCategoryID:(NSNumber *)aValue;
- (NSNumber *)clientCategoryID;

- (void)setModifyDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)modifyDate;

- (void)setMileageRate:(NSNumber *)aValue;
- (NSNumber *)mileageRate;

- (void)setLastName:(NSString *)aValue;
- (NSString *)lastName;

- (void)setIsCompany:(NSNumber *)aValue;
- (NSNumber *)isCompany;

- (void)setHourlyRate:(NSNumber *)aValue;
- (NSNumber *)hourlyRate;

- (void)setFirstName:(NSString *)aValue;
- (NSString *)firstName;

- (void)setExtra4:(NSString *)aValue;
- (NSString *)extra4;

- (void)setExtra3:(NSString *)aValue;
- (NSString *)extra3;

- (void)setExtra2:(NSString *)aValue;
- (NSString *)extra2;

- (void)setExtra1:(NSString *)aValue;
- (NSString *)extra1;

- (void)setEmail:(NSString *)aValue;
- (NSString *)email;

- (void)setCreateDate:(NSCalendarDate *)aValue;
- (NSCalendarDate *)createDate;

- (void)setCompany:(NSString *)aValue;
- (NSString *)company;

- (void)setClientNumber:(NSString *)aValue;
- (NSString *)clientNumber;

- (void)setClientID:(NSNumber *)aValue;
- (NSNumber *)clientID;

- (void)setMileageDistance:(NSNumber *)aValue;
- (NSNumber *)mileageDistance;

- (void)setBillingIdentity:(BIIdentity*)aValue;
- (BIIdentity*)createAndSetBillingIdentityIfNeeded;
- (BIIdentity*)billingIdentity;

- (void)setStatementTemplatePreference:(BIReportTemplatePreference*)aValue;
- (BIReportTemplatePreference*)createAndSetStatementTemplatePreferenceIfNeeded;
- (BIReportTemplatePreference*)statementTemplatePreference;

- (void)setEstimateTemplatePreference:(BIReportTemplatePreference*)aValue;
- (BIReportTemplatePreference*)createAndSetEstimateTemplatePreferenceIfNeeded;
- (BIReportTemplatePreference*)estimateTemplatePreference;

- (void)setInvoiceTemplatePreference:(BIReportTemplatePreference*)aValue;
- (BIReportTemplatePreference*)createAndSetInvoiceTemplatePreferenceIfNeeded;
- (BIReportTemplatePreference*)invoiceTemplatePreference;

- (void)setConsolidatedTax:(BIConsolidatedTax*)aValue;
- (BIConsolidatedTax*)createAndSetConsolidatedTaxIfNeeded;
- (BIConsolidatedTax*)consolidatedTax;

- (void)setCurrentCurrency:(BICurrency*)aValue;
- (BICurrency*)createAndSetCurrentCurrencyIfNeeded;
- (BICurrency*)currentCurrency;

- (void)setClientPhoto:(BIClientPhoto*)aValue;
- (BIClientPhoto*)createAndSetClientPhotoIfNeeded;
- (BIClientPhoto*)clientPhoto;

- (void)setClientCategory:(BIClientCategory*)aValue;
- (BIClientCategory*)createAndSetClientCategoryIfNeeded;
- (BIClientCategory*)clientCategory;

- (NSMutableArray *)clientABLinks;
- (BIClientABLink*)createAndAddToClientABLinks;
- (void)addToClientABLinks:(BIClientABLink*)object;
- (void)removeFromClientABLinks:(BIClientABLink*)object;
- (BOOL)hasClientABLinksBeenFaulted;

- (NSMutableArray *)proFormaInvoices;
- (BIProFormaInvoice*)createAndAddToProFormaInvoices;
- (void)addToProFormaInvoices:(BIProFormaInvoice*)object;
- (void)removeFromProFormaInvoices:(BIProFormaInvoice*)object;
- (BOOL)hasProFormaInvoicesBeenFaulted;

- (NSMutableArray *)statements;
- (BIStatement*)createAndAddToStatements;
- (void)addToStatements:(BIStatement*)object;
- (void)removeFromStatements:(BIStatement*)object;
- (BOOL)hasStatementsBeenFaulted;

- (NSMutableArray *)invoices;
- (BIInvoice*)createAndAddToInvoices;
- (void)addToInvoices:(BIInvoice*)object;
- (void)removeFromInvoices:(BIInvoice*)object;
- (BOOL)hasInvoicesBeenFaulted;

- (NSMutableArray *)payments;
- (BIPayment*)createAndAddToPayments;
- (void)addToPayments:(BIPayment*)object;
- (void)removeFromPayments:(BIPayment*)object;
- (BOOL)hasPaymentsBeenFaulted;

- (NSMutableArray *)retainers;
- (BIRetainer*)createAndAddToRetainers;
- (void)addToRetainers:(BIRetainer*)object;
- (void)removeFromRetainers:(BIRetainer*)object;
- (BOOL)hasRetainersBeenFaulted;

- (NSMutableArray *)projects;
- (BIProject*)createAndAddToProjects;
- (void)addToProjects:(BIProject*)object;
- (void)removeFromProjects:(BIProject*)object;
- (BOOL)hasProjectsBeenFaulted;



@end
