//
//  BIPayment+BISubstrateAdditions.h
//  BISubstrate
//
//  Created by Eric Hochmeister on 18/04/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

/*!
@category    BIPayment+BISubstrateAdditions
 @abstract    This category was added to provide cover methods as we were mixing Invoices and Payments together in one tableview which would cause a problem when we bound up the tableview.  ie. key found on an invoice but not found on a payment.
 @discussion  ...
 */


#import <Cocoa/Cocoa.h>
#import "BIPayment.h"

@interface BIPayment (BISubstrateAdditions) 

- (NSCalendarDate*)dueDate;
- (void)setDueDate:(NSCalendarDate*)aDate;

- (NSString*)kind;
- (void)setKind:(NSString*)aKind;

- (NSNumber*)subTotal;
- (void)setSubTotal:(NSNumber*)aTotal;

- (NSNumber*)discount;
- (void)setDiscount:(NSNumber*)anAmount;

- (NSNumber*)tax1Total;
- (void)setTax1Total:(NSNumber*)aTotal;

- (NSNumber*)tax2Total;
- (void)setTax2Total:(NSNumber*)aTotal;

- (NSNumber*)balance;
- (void)setBalance:(NSNumber*)aNumber;

- (NSNumber*)taxesTotal;
- (void)setTaxesTotal:(NSNumber*)aNum;

- (void)setInvoiceNumber:(NSString *)aValue;
- (NSString *)invoiceNumber;

@end
