com.konakart.wsapp
Class PaymentOptions

java.lang.Object
  extended by com.konakart.wsapp.PaymentOptions

public class PaymentOptions
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 to perform the payment gateway transaction.


Constructor Summary
PaymentOptions()
           
 
Method Summary
 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 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 setSubscriptionId(int _subscriptionId)
          The id of the KonaKart subscription object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentOptions

public PaymentOptions()
Method Detail

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 NameValue[] getParameters()
Parameters passed to the payment module

Returns:
the parameters

setParameters

public void setParameters(NameValue[] _parameters)
Parameters passed to the payment module

Parameters:
_parameters - the parameters to set

getCreditCard

public CreditCard getCreditCard()
Object containing credit card details

Returns:
the creditCard

setCreditCard

public void setCreditCard(CreditCard _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.