|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderPayment
Represents customer payment information.
Field Summary | |
---|---|
static java.lang.String |
AUTHORIZATION_TRANSACTION
The orderPayment transaction type of fund authorization. |
static java.lang.String |
CAPTURE_TRANSACTION
The orderPayment transaction type of fund capture. |
static java.lang.String |
CREDIT_TRANSACTION
The orderPayment transaction type of refund. |
Method Summary | |
---|---|
void |
encryptCardNumber()
Encrypts the credit card number. |
java.math.BigDecimal |
getAmount()
Get the amount of this payment. |
java.lang.String |
getAuthorizationCode()
Get the authorization code, returned with every transaction. |
java.lang.String |
getCardHolderName()
Set the card holder name. |
java.lang.String |
getCardNumber()
Get the credit cart number. |
java.lang.String |
getCardType()
Get the type/brand of the credit card (e.g. |
java.util.Date |
getCreatedDate()
Get the date that this order was created on. |
java.lang.String |
getCurrencyCode()
Get the currency code (e.g. |
java.lang.String |
getCvv2Code()
Get the card security code (found near the signature on the back of the card). |
java.lang.String |
getEmail()
Get the customer's email address (Required for card processing). |
java.lang.String |
getExpiryMonth()
Get the two-digit expiry date month. |
java.lang.String |
getExpiryYear()
Get the two-digit expiry date year. |
java.lang.String |
getGatewayToken()
Return the payment gateway token. |
java.lang.String |
getIssueNumber()
Get the issue number used by some U.K. |
java.lang.String |
getMaskedCardNumber()
Decrypts and returns the masked credit card number: ************5381. |
java.lang.String |
getPaymentMethod()
Get the payment method. |
java.lang.String |
getReferenceId()
Get the reference id. |
java.lang.String |
getRequestToken()
Get the requestToken. |
java.util.Date |
getStartDate()
Get the card start date Used by some U.K. |
OrderPaymentStatus |
getStatus()
Get the status of the order payment. |
java.lang.String |
getTransactionType()
Get the payment transaction type, i.e. |
java.lang.String |
getUnencryptedCardNumber()
Decrypts and returns the full credit card number. |
void |
setAmount(java.math.BigDecimal amount)
Set the amount of this payment. |
void |
setAuthorizationCode(java.lang.String authorizationCode)
Set the authorization code, returned with every transaction. |
void |
setCardHolderName(java.lang.String cardHolderName)
Get the card holder name. |
void |
setCardNumber(java.lang.String number)
Set the credit card number. |
void |
setCardType(java.lang.String cardType)
Set the vendor/brand of the credit card (e.g. |
void |
setCreatedDate(java.util.Date createdDate)
Set the date that the order is created. |
void |
setCurrencyCode(java.lang.String currencyCode)
Set the currency code. |
void |
setCvv2Code(java.lang.String cvv2Code)
Set the security code (found near the signature on the back of the card). |
void |
setEmail(java.lang.String email)
Set the customer's email address (Required for card processing). |
void |
setExpiryMonth(java.lang.String expiryMonth)
Set the expiry two-digit date month. |
void |
setExpiryYear(java.lang.String expiryYear)
Set the two-digit expiry date year. |
void |
setGatewayToken(java.lang.String token)
Store the temporary token needed by some payment gateway, i.e. |
void |
setIssueNumber(java.lang.String issueNumber)
Set the issue number used by some U.K. |
void |
setPaymentMethod(java.lang.String paymentMethod)
Set the payment method such as "C.O.D." or "Verisign". |
void |
setReferenceId(java.lang.String referenceId)
Set the reference id. |
void |
setRequestToken(java.lang.String requestToken)
Set the request token. |
void |
setStartDate(java.util.Date startDate)
Set the cart start date used by some U.K. |
void |
setStatus(OrderPaymentStatus status)
Set the status of the order payment. |
void |
setTransactionType(java.lang.String transactionType)
Get the payment transaction type, i.e. |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
static final java.lang.String AUTHORIZATION_TRANSACTION
static final java.lang.String CAPTURE_TRANSACTION
static final java.lang.String CREDIT_TRANSACTION
Method Detail |
---|
void encryptCardNumber()
java.math.BigDecimal getAmount()
java.lang.String getAuthorizationCode()
java.lang.String getCardHolderName()
java.lang.String getCardNumber()
java.lang.String getCardType()
java.util.Date getCreatedDate()
java.lang.String getCurrencyCode()
java.lang.String getCvv2Code()
java.lang.String getEmail()
java.lang.String getExpiryMonth()
java.lang.String getExpiryYear()
java.lang.String getGatewayToken()
java.lang.String getIssueNumber()
java.lang.String getMaskedCardNumber()
java.lang.String getPaymentMethod()
java.lang.String getReferenceId()
java.lang.String getRequestToken()
java.util.Date getStartDate()
OrderPaymentStatus getStatus()
java.lang.String getTransactionType()
java.lang.String getUnencryptedCardNumber()
void setAmount(java.math.BigDecimal amount)
amount
- the amount as a BigDecimalvoid setAuthorizationCode(java.lang.String authorizationCode)
authorizationCode
- the authorization codevoid setCardHolderName(java.lang.String cardHolderName)
cardHolderName
- the name on the cardvoid setCardNumber(java.lang.String number)
number
- the credit card numbervoid setCardType(java.lang.String cardType)
cardType
- the cardTypevoid setCreatedDate(java.util.Date createdDate)
createdDate
- the start datevoid setCurrencyCode(java.lang.String currencyCode)
currencyCode
- the currency code codevoid setCvv2Code(java.lang.String cvv2Code)
cvv2Code
- the security codevoid setEmail(java.lang.String email)
email
- the customer's email addressvoid setExpiryMonth(java.lang.String expiryMonth)
expiryMonth
- the two digit expiry date monthvoid setExpiryYear(java.lang.String expiryYear)
expiryYear
- the expiry date yearvoid setGatewayToken(java.lang.String token)
token
- payment gateway tokenvoid setIssueNumber(java.lang.String issueNumber)
issueNumber
- the issue numbervoid setPaymentMethod(java.lang.String paymentMethod)
paymentMethod
- the payment methodvoid setReferenceId(java.lang.String referenceId)
referenceId
- the reference id.void setRequestToken(java.lang.String requestToken)
requestToken
- the request tokenvoid setStartDate(java.util.Date startDate)
startDate
- the start datevoid setStatus(OrderPaymentStatus status)
status
- the status of the order paymentvoid setTransactionType(java.lang.String transactionType)
transactionType
- the payment transaction type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |