com.psoft.hsphere.axis
Class PaymentInfo

java.lang.Object
  extended by com.psoft.hsphere.axis.PaymentInfo
All Implemented Interfaces:
java.io.Serializable

public class PaymentInfo
extends java.lang.Object
implements java.io.Serializable

The PaymentInfo class represents payment information for an user.

See Also:
Serialized Form

Constructor Summary
PaymentInfo()
          Initializes a newly created PaymentInfo object.
PaymentInfo(java.lang.String cc_type, java.lang.String cvv, java.lang.String expDay, java.lang.String expMonth, java.lang.String expYear, java.lang.String issueNo, java.lang.String name, java.lang.String number, java.lang.String startDay, java.lang.String startMonth, java.lang.String startYear, java.lang.String type)
          Allocated a new PaymentInfo so that it represents the data currently contained in arguments.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCc_type()
          Returns credit card type
 java.lang.String getCvv()
          Returns CVV
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
           
 java.lang.String getExpDay()
          Returns credit card expiration day
 java.lang.String getExpMonth()
          Returns credit card expiration month
 java.lang.String getExpYear()
          Returns credit card expiration year
 java.lang.String getIssueNo()
          Returns issueNo of credit card
 java.lang.String getName()
          Returns credit card name
 java.lang.String getNumber()
          Returns credit card number
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
           
 java.lang.String getStartDay()
          Returns credit card start day
 java.lang.String getStartMonth()
          Returns credit card start month
 java.lang.String getStartYear()
          Returns credit card start year
 java.lang.String getType()
          Returns payment type
static org.apache.axis.description.TypeDesc getTypeDesc()
           
 int hashCode()
           
 void setCc_type(java.lang.String cc_type)
          Sets credit card type
 void setCvv(java.lang.String cvv)
          Sets CVV
 void setExpDay(java.lang.String expDay)
          Sets credit card expiration day
 void setExpMonth(java.lang.String expMonth)
          Sets credit card expiration month
 void setExpYear(java.lang.String expYear)
          Sets credit card expiration year
 void setIssueNo(java.lang.String issueNo)
          Sets credit card issueNo
 void setName(java.lang.String name)
          Sets credit card name
 void setNumber(java.lang.String number)
          Sets credit card number
 void setStartDay(java.lang.String startDay)
          Sets credit card start day
 void setStartMonth(java.lang.String startMonth)
          Sets credit card start month
 void setStartYear(java.lang.String startYear)
          Sets credit card start year
 void setType(java.lang.String type)
          Sets payment type
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentInfo

public PaymentInfo()
Initializes a newly created PaymentInfo object. All class variables are empty and should be allocated.


PaymentInfo

public PaymentInfo(java.lang.String cc_type,
                   java.lang.String cvv,
                   java.lang.String expDay,
                   java.lang.String expMonth,
                   java.lang.String expYear,
                   java.lang.String issueNo,
                   java.lang.String name,
                   java.lang.String number,
                   java.lang.String startDay,
                   java.lang.String startMonth,
                   java.lang.String startYear,
                   java.lang.String type)
Allocated a new PaymentInfo so that it represents the data currently contained in arguments.

Parameters:
cc_type - credit card type
expDay - credit card expiration day
expMonth - credit card expiration month. Format: MM
expYear - credit card expiration year. 4 digits, begins with 2 (A.D.)
issueNo - credit card issueNo
name - credit card name. Valid name, should be non-empty
number - credit card number. 13-20 digits
startDay - credit card start day
startMonth - credit card start month. Format: MM
startYear - credit card start year. 4 digits, begins with 2 (A.D.)
type - credit card type
cvv - credit card cvv
Method Detail

getCc_type

public java.lang.String getCc_type()
Returns credit card type

Returns:
credit card type

setCc_type

public void setCc_type(java.lang.String cc_type)
Sets credit card type

Parameters:
cc_type - credit card type

getCvv

public java.lang.String getCvv()
Returns CVV

Returns:
CVV

setCvv

public void setCvv(java.lang.String cvv)
Sets CVV

Parameters:
cvv - CVV

getExpDay

public java.lang.String getExpDay()
Returns credit card expiration day

Returns:
credit card expiration day

setExpDay

public void setExpDay(java.lang.String expDay)
Sets credit card expiration day

Parameters:
expDay - credit card expiration day

getExpMonth

public java.lang.String getExpMonth()
Returns credit card expiration month

Returns:
credit card expiration month

setExpMonth

public void setExpMonth(java.lang.String expMonth)
Sets credit card expiration month

Parameters:
expMonth - credit card expiration month. Format: MM

getExpYear

public java.lang.String getExpYear()
Returns credit card expiration year

Returns:
credit card expiration year

setExpYear

public void setExpYear(java.lang.String expYear)
Sets credit card expiration year

Parameters:
expYear - credit card expiration year. 4 digits, begins with 2 (A.D.)

getIssueNo

public java.lang.String getIssueNo()
Returns issueNo of credit card

Returns:
issueNo

setIssueNo

public void setIssueNo(java.lang.String issueNo)
Sets credit card issueNo

Parameters:
issueNo - issueNo

getName

public java.lang.String getName()
Returns credit card name

Returns:
credit card name

setName

public void setName(java.lang.String name)
Sets credit card name

Parameters:
name - valid credit card name

getNumber

public java.lang.String getNumber()
Returns credit card number

Returns:
credit card number

setNumber

public void setNumber(java.lang.String number)
Sets credit card number

Parameters:
number - credit card number. 13-20 digits

getStartDay

public java.lang.String getStartDay()
Returns credit card start day

Returns:
credit card start day

setStartDay

public void setStartDay(java.lang.String startDay)
Sets credit card start day

Parameters:
startDay -

getStartMonth

public java.lang.String getStartMonth()
Returns credit card start month

Returns:
credit card start month

setStartMonth

public void setStartMonth(java.lang.String startMonth)
Sets credit card start month

Parameters:
startMonth - credit card start month. Format: MM

getStartYear

public java.lang.String getStartYear()
Returns credit card start year

Returns:
credit card start year

setStartYear

public void setStartYear(java.lang.String startYear)
Sets credit card start year

Parameters:
startYear - credit card start year. 4 digits, begins with 2 (A.D.)

getType

public java.lang.String getType()
Returns payment type

Returns:
payment type

setType

public void setType(java.lang.String type)
Sets payment type

Parameters:
type - payment type

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)


Copyright © 2005 Positive Software Corporation. All Rights Reserved.