com.konakart.rmi.app
Class S_PaymentOptions

java.lang.Object
  extended by com.konakart.rmi.app.S_PaymentOptions
All Implemented Interfaces:
java.io.Serializable

public class S_PaymentOptions
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

Constructor Summary
S_PaymentOptions()
           
 
Method Summary
 int getAction()
          Action attribute to inform the payment module what action to take.
 S_CreditCard getCreditCard()
          Object containing credit card details
 int getOrderId()
          The id of the order
 S_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(S_CreditCard _creditCard)
          Object containing credit card details
 void setOrderId(int _orderId)
          The id of the order
 void setParameters(S_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

S_PaymentOptions

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

Returns:
the parameters

setParameters

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

Parameters:
_parameters - the parameters to set

getCreditCard

public S_CreditCard getCreditCard()
Object containing credit card details

Returns:
the creditCard

setCreditCard

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