com.shephertz.app42.paas.sdk.java.shopping
Class Cart.Payment

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.java.shopping.Cart.Payment
Enclosing class:
Cart

public class Cart.Payment
extends java.lang.Object

An inner class that contains the remaining properties of the Cart.


Field Summary
 java.util.Date date
           
 java.lang.String status
           
 java.math.BigDecimal totalAmount
           
 java.lang.String transactionId
           
 
Constructor Summary
Cart.Payment()
          This is a constructor that takes no parameter
 
Method Summary
 java.util.Date getDate()
          Returns the date when the transaction was done.
 java.lang.String getStatus()
          Returns the status mode of payment.
 java.math.BigDecimal getTotalAmount()
          Returns the total amount of cart.
 java.lang.String getTransactionId()
          Returns the transaction Id of Payment.
 void setDate(java.util.Date date)
          Sets the date when the transaction was done.
 void setStatus(java.lang.String status)
          Sets the status for the Payment.
 void setTotalAmount(java.math.BigDecimal totalAmount)
          Sets the totalAmount that has to be paid.
 void setTransactionId(java.lang.String transactionId)
          Sets the transactionId of the Payment made.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

public java.util.Date date

status

public java.lang.String status

totalAmount

public java.math.BigDecimal totalAmount

transactionId

public java.lang.String transactionId
Constructor Detail

Cart.Payment

public Cart.Payment()
This is a constructor that takes no parameter

Method Detail

getDate

public java.util.Date getDate()
Returns the date when the transaction was done.

Returns:
the transaction date.

getStatus

public java.lang.String getStatus()
Returns the status mode of payment.

Returns:
the status of payment.

getTotalAmount

public java.math.BigDecimal getTotalAmount()
Returns the total amount of cart.

Returns:
the total amount.

getTransactionId

public java.lang.String getTransactionId()
Returns the transaction Id of Payment.

Returns:
the transactionId.

setDate

public void setDate(java.util.Date date)
Sets the date when the transaction was done.

Parameters:
date - - date of the transaction

setStatus

public void setStatus(java.lang.String status)
Sets the status for the Payment.

Parameters:
status - - status of the Payment

setTotalAmount

public void setTotalAmount(java.math.BigDecimal totalAmount)
Sets the totalAmount that has to be paid.

Parameters:
totalAmount - - totalAmount that has to be paid.

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Sets the transactionId of the Payment made.

Parameters:
transactionId - - transactionId of the Payment