1 /* 2 * Copyright (c) 2002-2015, Mairie de Paris 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 9 * 1. Redistributions of source code must retain the above copyright notice 10 * and the following disclaimer. 11 * 12 * 2. Redistributions in binary form must reproduce the above copyright notice 13 * and the following disclaimer in the documentation and/or other materials 14 * provided with the distribution. 15 * 16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its 17 * contributors may be used to endorse or promote products derived from 18 * this software without specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 * POSSIBILITY OF SUCH DAMAGE. 31 * 32 * License 1.0 33 */ 34 35 package fr.paris.lutece.plugins.mydashboard.modules.gru.business; 36 37 38 /** 39 * Bill Object 40 */ 41 public class Bill 42 { 43 // Variables declarations 44 private String _strSubject; 45 private String _strBillingDate; 46 private String _strPaymentDueDate; 47 private String _strInvoiceAmount; 48 private String _strDocumentUrl; 49 private String _strPaymentUrl; 50 51 /** 52 * Returns the Subject 53 * @return The Subject 54 */ 55 public String getSubject( ) 56 { 57 return _strSubject; 58 } 59 60 /** 61 * Sets the Subject 62 * @param strSubject The Subject 63 */ 64 public void setSubject( String strSubject ) 65 { 66 _strSubject = strSubject; 67 } 68 69 /** 70 * Returns the BillingDate 71 * @return The BillingDate 72 */ 73 public String getBillingDate( ) 74 { 75 return _strBillingDate; 76 } 77 78 /** 79 * Sets the BillingDate 80 * @param strBillingDate The BillingDate 81 */ 82 public void setBillingDate( String strBillingDate ) 83 { 84 _strBillingDate = strBillingDate; 85 } 86 87 /** 88 * Returns the PaymentDueDate 89 * @return The PaymentDueDate 90 */ 91 public String getPaymentDueDate( ) 92 { 93 return _strPaymentDueDate; 94 } 95 96 /** 97 * Sets the PaymentDueDate 98 * @param strPaymentDueDate The PaymentDueDate 99 */ 100 public void setPaymentDueDate( String strPaymentDueDate ) 101 { 102 _strPaymentDueDate = strPaymentDueDate; 103 } 104 105 /** 106 * Returns the InvoiceAmount 107 * @return The InvoiceAmount 108 */ 109 public String getInvoiceAmount( ) 110 { 111 return _strInvoiceAmount; 112 } 113 114 /** 115 * Sets the InvoiceAmount 116 * @param strInvoiceAmount The InvoiceAmount 117 */ 118 public void setInvoiceAmount( String strInvoiceAmount ) 119 { 120 _strInvoiceAmount = strInvoiceAmount; 121 } 122 123 /** 124 * Returns the DocumentUrl 125 * @return The DocumentUrl 126 */ 127 public String getDocumentUrl( ) 128 { 129 return _strDocumentUrl; 130 } 131 132 /** 133 * Sets the DocumentUrl 134 * @param strDocumentUrl The DocumentUrl 135 */ 136 public void setDocumentUrl( String strDocumentUrl ) 137 { 138 _strDocumentUrl = strDocumentUrl; 139 } 140 141 /** 142 * Returns the PaymentUrl 143 * @return The PaymentUrl 144 */ 145 public String getPaymentUrl( ) 146 { 147 return _strPaymentUrl; 148 } 149 150 /** 151 * Sets the PaymentUrl 152 * @param strPaymentUrl The PaymentUrl 153 */ 154 public void setPaymentUrl( String strPaymentUrl ) 155 { 156 _strPaymentUrl = strPaymentUrl; 157 } 158 }