Class CreditCardSimpleType

  • Direct Known Subclasses:
    CreditCardType

    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>
     
    • Field Detail

      • cardNumber

        protected String cardNumber
      • expirationDate

        protected String expirationDate
    • Constructor Detail

      • CreditCardSimpleType

        public CreditCardSimpleType()
    • Method Detail

      • getCardNumber

        public String getCardNumber()
        Gets the value of the cardNumber property.
        Returns:
        possible object is String
      • setCardNumber

        public void setCardNumber​(String value)
        Sets the value of the cardNumber property.
        Parameters:
        value - allowed object is String
      • getExpirationDate

        public String getExpirationDate()
        Gets the value of the expirationDate property.
        Returns:
        possible object is String
      • setExpirationDate

        public void setExpirationDate​(String value)
        Sets the value of the expirationDate property.
        Parameters:
        value - allowed object is String