|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.shephertz.app42.paas.sdk.java.shopping.Cart.Payment
public class Cart.Payment
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 |
|---|
public java.util.Date date
public java.lang.String status
public java.math.BigDecimal totalAmount
public java.lang.String transactionId
| Constructor Detail |
|---|
public Cart.Payment()
| Method Detail |
|---|
public java.util.Date getDate()
public java.lang.String getStatus()
public java.math.BigDecimal getTotalAmount()
public java.lang.String getTransactionId()
public void setDate(java.util.Date date)
date - - date of the transactionpublic void setStatus(java.lang.String status)
status - - status of the Paymentpublic void setTotalAmount(java.math.BigDecimal totalAmount)
totalAmount - - totalAmount that has to be paid.public void setTransactionId(java.lang.String transactionId)
transactionId - - transactionId of the Payment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||