com.konakart.appif
Interface PaymentOptionsIf

All Known Implementing Classes:
PaymentOptions

public interface PaymentOptionsIf

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.


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
 

Method Detail

getOrderId

int getOrderId()
The id of the order

Returns:
the orderId

setOrderId

void setOrderId(int orderId)
The id of the order

Parameters:
orderId - the orderId to set

getParameters

NameValue[] getParameters()
Parameters passed to the payment module

Returns:
the parameters

setParameters

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

Parameters:
parameters - the parameters to set

getCreditCard

CreditCard getCreditCard()
Object containing credit card details

Returns:
the creditCard

setCreditCard

void setCreditCard(CreditCard creditCard)
Object containing credit card details

Parameters:
creditCard - the creditCard to set

getAction

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

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

int getSubscriptionId()
The id of the KonaKart subscription object

Returns:
the subscriptionId

setSubscriptionId

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

Parameters:
subscriptionId - the subscriptionId to set


Copyright © 2011 DS Data Systems UK Ltd.