public class PaymentContext
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PaymentContext()
Default constructor.
|
PaymentContext(java.lang.Integer storeId,
java.lang.String paymentGroupId,
java.util.Locale locale,
java.lang.String orderChannel)
This method is the constructor building a new PaymentContext
|
PaymentContext(java.lang.Integer storeId,
java.lang.String paymentGroupId,
java.util.Locale locale,
java.lang.String orderChannel,
java.util.Map sensitivePaymentData)
This method is the constructor building a new PaymentContext
|
PaymentContext(java.lang.Integer storeId,
java.lang.String paymentGroupId,
java.util.Locale locale,
java.lang.String orderChannel,
java.util.Map sensitivePaymentData,
java.util.Map additionalInfo)
This method is the constructor building a new PaymentContext
|
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAdditionalInformation()
This method returns the additional information.
|
java.util.Locale |
getLocale()
This method returns the locale.
|
java.lang.String |
getOrderChannel()
This method returns the order channel ID.
|
java.lang.String |
getPaymentGroupId()
This method returns the payment group ID.
|
java.util.Map |
getSensitivePaymentData() |
java.lang.Integer |
getStoreId()
This method returns the store ID.
|
void |
setAdditionalInformation(java.util.Map information)
This method sets the additional information.
|
void |
setLocale(java.util.Locale locale)
This method sets the locale.
|
void |
setOrderChannel(java.lang.String string)
This method sets the order channel ID.
|
void |
setPaymentGroupId(java.lang.String paymentGroupId)
This method sets the payment group ID.
|
void |
setSensitivePaymentData(java.util.Map paymentData) |
void |
setStoreId(java.lang.Integer integer)
This method sets the store ID.
|
java.lang.String |
toString()
This method generates a human readable representation of the context.
|
public PaymentContext()
public PaymentContext(java.lang.Integer storeId, java.lang.String paymentGroupId, java.util.Locale locale, java.lang.String orderChannel)
storeId
- The store IDpaymentGroupId
- The payment group IDlocale
- The localeorderChannel
- The order channel IDpublic PaymentContext(java.lang.Integer storeId, java.lang.String paymentGroupId, java.util.Locale locale, java.lang.String orderChannel, java.util.Map sensitivePaymentData)
storeId
- The store IDpaymentGroupId
- The payment group IDlocale
- The localeorderChannel
- The order channel IDsensitivePaymentData
- The payment sensitive informationpublic PaymentContext(java.lang.Integer storeId, java.lang.String paymentGroupId, java.util.Locale locale, java.lang.String orderChannel, java.util.Map sensitivePaymentData, java.util.Map additionalInfo)
storeId
- The store IDpaymentGroupId
- The payment group IDlocale
- The localeorderChannel
- The order channel IDsensitivePaymentData
- The payment sensitive informationadditionalInfo
- The additional informationpublic final void setLocale(java.util.Locale locale)
locale
- The locale to setpublic final java.util.Locale getLocale()
public final void setOrderChannel(java.lang.String string)
string
- The order channel ID to setpublic final java.lang.String getOrderChannel()
public final void setPaymentGroupId(java.lang.String paymentGroupId)
paymentGroupId
- The payment group IDpublic final java.lang.String getPaymentGroupId()
public final void setStoreId(java.lang.Integer integer)
integer
- The store IDpublic final java.lang.Integer getStoreId()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map getSensitivePaymentData()
public void setSensitivePaymentData(java.util.Map paymentData)
paymentData
- The _sensitivePaymentData to set.public java.util.Map getAdditionalInformation()
public void setAdditionalInformation(java.util.Map information)
information
- The _additionalInformation to set.