Электронный магазин на Java и XML



              

Листинг 5.2. Класс Crediditlnfo (Creditlnfo.java)



Листинг 5.2. Класс Crediditlnfo (Creditlnfo.java)

package com.XmlEcomBook.Chap05; public class CreditInfo extends Object { private String creditCardType; private String creditCardNumber; private String expirationDate; public CreditInfo() { } public String getCreditCardType() { return creditCardType; } public void setCreditCardType( String newCreditCardType ) { creditCardType = newCreditCardType; } public String getCreditCardNumber() { return creditCardNumber; } public void setCreditCardNumber( String newCreditCardNumber) { creditCardNumber = newCreditCardNumber; } public String getExpirationDate() { return expirationDate; } public void setExpirationDate( String newExpirationDate ) { expirationDate = newExpirationDate; } }









Содержание    Назад    Вперед