com.konakartadmin.app
Class AdminPaymentOptions

java.lang.Object
  extended by com.konakartadmin.app.AdminPaymentOptions

public class AdminPaymentOptions
extends java.lang.Object

Payment options which is passed to the admin payment module. It contains all of the necessary information that the module requires.


Field Summary
private  int action
           
private  AdminCreditCard creditCard
           
private  int orderId
           
private  AdminNameValue[] parameters
           
private  int subscriptionId
           
 
Constructor Summary
AdminPaymentOptions()
          Constructor
 
Method Summary
 int getAction()
          Action attribute to inform the payment module what action to take.
 AdminCreditCard getCreditCard()
          Object containing credit card details
 int getOrderId()
          The id of the order
 AdminNameValue[] getParameters()
          Parameters passed to the payment module
 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(AdminCreditCard creditCard)
          Object containing credit card details
 void setOrderId(int orderId)
          The id of the order
 void setParameters(AdminNameValue[] parameters)
          Parameters passed to the payment module
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

orderId

private int orderId

subscriptionId

private int subscriptionId

action

private int action

parameters

private AdminNameValue[] parameters

creditCard

private AdminCreditCard creditCard
Constructor Detail

AdminPaymentOptions

public AdminPaymentOptions()
Constructor

Method Detail

toString

public java.lang.String toString()
Returns a string containing the attributes of the PaymentDetail object

Overrides:
toString in class java.lang.Object
Returns:
A String representing the AdminPaymentOptions object

getOrderId

public int getOrderId()
The id of the order

Returns:
the orderId

setOrderId

public void setOrderId(int orderId)
The id of the order

Parameters:
orderId - the orderId to set

getParameters

public AdminNameValue[] getParameters()
Parameters passed to the payment module

Returns:
the parameters

setParameters

public void setParameters(AdminNameValue[] parameters)
Parameters passed to the payment module

Parameters:
parameters - the parameters to set

getCreditCard

public AdminCreditCard getCreditCard()
Object containing credit card details

Returns:
the creditCard

setCreditCard

public void setCreditCard(AdminCreditCard creditCard)
Object containing credit card details

Parameters:
creditCard - the creditCard to set

getAction

public int getAction()
Action attribute to inform the payment module what action to take. i.e. It could be a payment or an authorization of a payment etc.

Returns:
the action

setAction

public void setAction(int action)
Action attribute to inform the payment module what action to take. i.e. It could be a payment or an authorization of a payment etc.

Parameters:
action - the action to set

getSubscriptionId

public int getSubscriptionId()
The id of the KonaKart subscription object

Returns:
the subscriptionId

setSubscriptionId

public void setSubscriptionId(int subscriptionId)
The id of the KonaKart subscription object

Parameters:
subscriptionId - the subscriptionId to set


Copyright © 2011 DS Data Systems UK Ltd.