My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/*
* Copyright 2012 stanislawbartkowski@gmail.com
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.javahotel.common.toobject;

import java.util.Date;

import com.gwtmodel.table.mapxml.DataMapList;
import com.javahotel.types.LId;

/**
* @author hotel
*
*/
@SuppressWarnings("serial")
public class InvoiceP extends DictionaryP {

public final static String INVOICE_DATE = "//InvoiceData/InvoiceDate";
public final static String DATE_OF_DSALE = "//InvoiceData/DateOfSale";
public final static String NUMBER_OF_DAYS = "//Payment/DaysForPayment";
public final static String PAYMENT_METHOD = "//Payment/PaymentMethod";
public final static String PAYMENT_DATE = "//Payment/TerminOfPayment";
public final static String INVOICENUMBER = "//InvoiceData/InvoiceNumber";

public final static String HOTEL_DATA_SYMBOL = "//HotelData/Symbol";
public final static String HOTEL_NAME1 = "//HotelData/Name1";
public final static String HOTEL_NAME2 = "//HotelData/Name2";
public final static String HOTEL_ADDRESS1 = "//HotelData/Address1";
public final static String HOTEL_ADDRESS2 = "//HotelData/Address2";
public final static String HOTEL_CITY = "//HotelData/City";
public final static String HOTEL_ZIP = "//HotelData/ZipCode";
public final static String TOWN_MAKING = "//InvoiceData/TownMaking";
public final static String HOTEL_BANK_ACCOUNT = "//InvoiceData/BankAccount";

public final static String BUYER_SYMBOL = "//Payer/Symbol";
public final static String BUYER_NAME1 = "//Payer/Name1";
public final static String BUYER_NAME2 = "//Payer/Name2";
public final static String BUYER_ADDRESS1 = "//Payer/Address1";
public final static String BUYER_ADDRESS2 = "//Payer/Address2";
public final static String BUYER_CITY = "//Payer/City";
public final static String BUYER_ZIP = "//Payer/ZipCode";

public final static String LINE_NO = "No";
public final static String LINE_DESCRIPTION = "Description";
public final static String LINE_QUANTITY = "Quantity";
public final static String LINE_RATE = "Rate";
public final static String LINE_TAX = "Tax";
public final static String LINE_TOTAL = "Total";
public final static String LINE_SERVICE_DATE = "ServiceDate";

public final static String GUEST_TITLE = "//Person/Title";
public final static String GUEST_NAME1 = "//Person/Name1";
public final static String GUEST_NAME2 = "//Person/Name2";

private LId customer;
private LId booking;
private OperationData op;

private DMapContainerList invoiceD;

public InvoiceP() {
this.op = new OperationData();
invoiceD = new DMapContainerList();
}

/**
* @return the invoiceD
*/
public DataMapList<?> getInvoiceD() {
return invoiceD;
}

/**
* @return the customer
*/
public LId getCustomer() {
return customer;
}

/**
* @param customer
* the customer to set
*/
public void setCustomer(LId customer) {
this.customer = customer;
}

/**
* @return the booking
*/
public LId getBooking() {
return booking;
}

/**
* @param booking
* the booking to set
*/
public void setBooking(LId booking) {
this.booking = booking;
}

/**
* @return the dateOp
*/
public Date getDateOp() {
return op.getDateOp();
}

/**
* @param dateOp
* the dateOp to set
*/
public void setDateOp(Date dateOp) {
op.setDateOp(dateOp);
}

/**
* @return the personOp
*/
public String getPersonOp() {
return op.getPersonOp();
}

/**
* @param personOp
* the personOp to set
*/
public void setPersonOp(String personOp) {
op.setPersonOp(personOp);
}

public String getRemarks() {
return op.getRemarks();
}

public void setRemarks(final String remarks) {
op.setRemarks(remarks);
}

}

Change log

r525 by stanislawbartkowski on Jan 1, 2012   Diff
[No log message]
Go to: 
Project members, sign in to write a code review

Older revisions

r517 by stanislawbartkowski on Dec 29, 2011   Diff
Changes at server-site
r507 by stanislawbartkowski on Dec 26, 2011   Diff
Changes related to invoice making
r500 by stanislawbartkowski on Dec 11, 2011   Diff
Huge changes related to XML objects
and invoice making
All revisions of this file

File info

Size: 4563 bytes, 150 lines

File properties

svn:mime-type
text/plain
Powered by Google Project Hosting