public class CreditCardSimpleType
extends java.lang.Object
Java class for creditCardSimpleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="creditCardSimpleType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cardNumber">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="4"/>
<maxLength value="16"/>
</restriction>
</simpleType>
</element>
<element name="expirationDate">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="4"/>
<maxLength value="7"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cardNumber |
protected java.lang.String |
expirationDate |
| Constructor and Description |
|---|
CreditCardSimpleType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCardNumber()
Gets the value of the cardNumber property.
|
java.lang.String |
getExpirationDate()
Gets the value of the expirationDate property.
|
void |
setCardNumber(java.lang.String value)
Sets the value of the cardNumber property.
|
void |
setExpirationDate(java.lang.String value)
Sets the value of the expirationDate property.
|
protected java.lang.String cardNumber
protected java.lang.String expirationDate
public java.lang.String getCardNumber()
Stringpublic void setCardNumber(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getExpirationDate()
Stringpublic void setExpirationDate(java.lang.String value)
value - allowed object is
StringCopyright © 2018. All Rights Reserved.