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.Object
public int getOrderId()
getOrderId
in interface PaymentOptionsIf
public void setOrderId(int orderId)
setOrderId
in interface PaymentOptionsIf
orderId
- the orderId to setpublic NameValue[] getParameters()
getParameters
in interface PaymentOptionsIf
public void setParameters(NameValue[] parameters)
setParameters
in interface PaymentOptionsIf
parameters
- the parameters to setpublic CreditCard getCreditCard()
getCreditCard
in interface PaymentOptionsIf
public void setCreditCard(CreditCard creditCard)
setCreditCard
in interface PaymentOptionsIf
creditCard
- the creditCard to setpublic int getAction()
getAction
in interface PaymentOptionsIf
public void setAction(int action)
setAction
in interface PaymentOptionsIf
action
- the action to setpublic int getSubscriptionId()
getSubscriptionId
in interface PaymentOptionsIf
public void setSubscriptionId(int subscriptionId)
setSubscriptionId
in interface PaymentOptionsIf
subscriptionId
- the subscriptionId to setpublic int getRefundId()
getRefundId
in interface PaymentOptionsIf
public void setRefundId(int refundId)
setRefundId
in interface PaymentOptionsIf
refundId
- the refundId to setCopyright © 2018 DS Data Systems UK Ltd.