public class CreditCardSimpleType extends 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 String |
cardNumber |
protected String |
expirationDate |
| Constructor and Description |
|---|
CreditCardSimpleType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCardNumber()
Gets the value of the cardNumber property.
|
String |
getExpirationDate()
Gets the value of the expirationDate property.
|
void |
setCardNumber(String value)
Sets the value of the cardNumber property.
|
void |
setExpirationDate(String value)
Sets the value of the expirationDate property.
|
public String getCardNumber()
Stringpublic void setCardNumber(String value)
value - allowed object is
Stringpublic String getExpirationDate()
StringCopyright © 2020. All rights reserved.