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

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

@class BITaxConsolidatedTaxEntry;
@class BITax;
@class BIConsolidatedTax;

@interface _BPTax : BIPObject
{ 
//    
//    NSNumber *taxID;
//    NSString *registrationNum;
//    NSNumber *rate;
//    NSNumber *parentTaxID;
//    NSNumber *orderIndex;
//    NSString *name;
//    NSCalendarDate *createDate;
//    NSNumber *consolidatedTaxID;
//    NSNumber *compound;
//    NSNumber *active;
//    
//    BPTax*parentTax;
//    BIConsolidatedTax*consolidatedTaxRepresentation;
//    
//    NSMutableArray *taxConsolidatedTaxEntries;
}




- (void)setTaxID:(NSNumber *)aValue;
- (NSNumber *)taxID;

- (void)setRegistrationNum:(NSString *)aValue;
- (NSString *)registrationNum;

- (void)setRate:(NSNumber *)aValue;
- (NSNumber *)rate;

- (void)setParentTaxID:(NSNumber *)aValue;
- (NSNumber *)parentTaxID;

- (void)setOrderIndex:(NSNumber *)aValue;
- (NSNumber *)orderIndex;

- (void)setName:(NSString *)aValue;
- (NSString *)name;

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

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

- (void)setCompound:(NSNumber *)aValue;
- (NSNumber *)compound;

- (void)setActive:(NSNumber *)aValue;
- (NSNumber *)active;

- (void)setParentTax:(BITax*)aValue;
- (BITax*)createAndSetParentTaxIfNeeded;
- (BITax*)parentTax;

- (void)setConsolidatedTaxRepresentation:(BIConsolidatedTax*)aValue;
- (BIConsolidatedTax*)createAndSetConsolidatedTaxRepresentationIfNeeded;
- (BIConsolidatedTax*)consolidatedTaxRepresentation;

- (NSMutableArray *)taxConsolidatedTaxEntries;
- (BITaxConsolidatedTaxEntry*)createAndAddToTaxConsolidatedTaxEntries;
- (void)addToTaxConsolidatedTaxEntries:(BITaxConsolidatedTaxEntry*)object;
- (void)removeFromTaxConsolidatedTaxEntries:(BITaxConsolidatedTaxEntry*)object;
- (BOOL)hasTaxConsolidatedTaxEntriesBeenFaulted;



@end
