public class PaymentOptions extends java.lang.Object implements PaymentOptionsIf
| Constructor and Description | 
|---|
| PaymentOptions()Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getAction()Action attribute to inform the payment module what action to take. | 
| CreditCard | getCreditCard()Object containing credit card details | 
| int | getOrderId()The id of the order | 
| NameValue[] | getParameters()Parameters passed to the payment module | 
| int | getRefundId()Id of the KonaKart Order Refund object | 
| int | getSubscriptionId()The id of the KonaKart subscription object | 
| void | setAction(int action)Action attribute to inform the payment module what action to take. | 
| void | setCreditCard(CreditCard creditCard)Object containing credit card details | 
| void | setOrderId(int orderId)The id of the order | 
| void | setParameters(NameValue[] parameters)Parameters passed to the payment module | 
| void | setRefundId(int refundId)Id of the KonaKart Order Refund refund object | 
| void | setSubscriptionId(int subscriptionId)The id of the KonaKart subscription object | 
| java.lang.String | toString()Returns a string containing the attributes of the PaymentDetail object | 
public java.lang.String toString()
toString in class java.lang.Objectpublic int getOrderId()
getOrderId in interface PaymentOptionsIfpublic void setOrderId(int orderId)
setOrderId in interface PaymentOptionsIforderId - the orderId to setpublic NameValue[] getParameters()
getParameters in interface PaymentOptionsIfpublic void setParameters(NameValue[] parameters)
setParameters in interface PaymentOptionsIfparameters - the parameters to setpublic CreditCard getCreditCard()
getCreditCard in interface PaymentOptionsIfpublic void setCreditCard(CreditCard creditCard)
setCreditCard in interface PaymentOptionsIfcreditCard - the creditCard to setpublic int getAction()
getAction in interface PaymentOptionsIfpublic void setAction(int action)
setAction in interface PaymentOptionsIfaction - the action to setpublic int getSubscriptionId()
getSubscriptionId in interface PaymentOptionsIfpublic void setSubscriptionId(int subscriptionId)
setSubscriptionId in interface PaymentOptionsIfsubscriptionId - the subscriptionId to setpublic int getRefundId()
getRefundId in interface PaymentOptionsIfpublic void setRefundId(int refundId)
setRefundId in interface PaymentOptionsIfrefundId - the refundId to setCopyright © 2018 DS Data Systems UK Ltd.