com.konakartadmin.app
Class AdminSubscriptionSearch

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

public class AdminSubscriptionSearch
extends java.lang.Object

SubscriptionSearch object for the Admin App


Field Summary
private  int customerId
          Id of customer related to the subscription
private  int id
          id
private  java.util.Date lastBillingDate
          Last time a billing transaction was executed
private  int lastBillingDateRule
          Last Billing Date Rule
private  java.util.Date nextBillingDate
          Date when the next billing transaction should be executed
private  int nextBillingDateRule
          Next billing date rule
private  boolean onlyActive
          Only return active subscriptions
private  boolean onlyInactive
          Only return inactive subscriptions
private  boolean onlyWithoutProblem
          Only return subscriptions that haevn't encountered a problem
private  boolean onlyWithProblem
          Only return subscriptions that have encountered a problem i.e.
private  java.lang.String orderBy
          order By
private  int orderId
          Id of order related to the subscription
private  java.lang.String orderNumber
          Order Number of the order related to the subscription
private  int orderNumberRule
          Order Number rule
private  int paymentScheduleId
          Id of payment schedule related to the subscription
private  int productId
          Id of product related to the subscription
private  java.lang.String sku
          SKU
private  int skuRule
          SKU Rule
private  java.lang.String subscriptionCode
          Subscription code, normally returned by the payment gateway
private  int subscriptionCodeRule
          Search rule for the subscription code
 
Constructor Summary
AdminSubscriptionSearch()
          Instantiates an AdminSubscriptionSearch object - a requirement for a bean class
 
Method Summary
 int getCustomerId()
          Id of customer related to the subscription
 int getId()
           
 java.util.Date getLastBillingDate()
          Last time a billing transaction was executed
 int getLastBillingDateRule()
          The rule for the search.
 java.util.Date getNextBillingDate()
          Date when the next billing transaction should be executed
 int getNextBillingDateRule()
          The rule for the search.
 java.lang.String getOrderBy()
          order By Valid values are: AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_DESCENDING AdminDataDescriptor.ORDER_BY_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ID_DESCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_DESCENDING AdminDataDescriptor.ORDER_BY_PRODUCT_ID_ASCENDING AdminDataDescriptor.ORDER_BY_PRODUCT_ID_DESCENDING AdminDataDescriptor.ORDER_BY_SKU_ASCENDING AdminDataDescriptor.ORDER_BY_SKU_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_DESCENDING AdminDataDescriptor.ORDER_BY_SUBSCRIPTION_CODE_ASCENDING AdminDataDescriptor.ORDER_BY_SUBSCRIPTION_CODE_DESCENDING AdminDataDescriptor.ORDER_BY_START_DATE_ASCENDING AdminDataDescriptor.ORDER_BY_START_DATE_DESCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_DESCENDING
 int getOrderId()
          Id of order related to the subscription
 java.lang.String getOrderNumber()
          Order Number of the order related to the subscription
 int getOrderNumberRule()
          The rule for the search.
 int getPaymentScheduleId()
          Id of payment schedule related to the subscription
 int getProductId()
          Id of product related to the subscription
 java.lang.String getSku()
          SKU
 int getSkuRule()
          The rule for the search.
 java.lang.String getSubscriptionCode()
          Subscription code, normally returned by the payment gateway
 int getSubscriptionCodeRule()
          The rule for the search.
 boolean isOnlyActive()
          Only return active subscriptions
 boolean isOnlyInactive()
          Only return inactive subscriptions
 boolean isOnlyWithoutProblem()
          Only return subscriptions that haevn't encountered a problem
 boolean isOnlyWithProblem()
          Only return subscriptions that have encountered a problem i.e.
 void setCustomerId(int customerId)
          Id of customer related to the subscription
 void setId(int id)
           
 void setLastBillingDate(java.util.Date lastBillingDate)
          Last time a billing transaction was executed
 void setLastBillingDateRule(int lastBillingDateRule)
          The rule for the search.
 void setNextBillingDate(java.util.Date nextBillingDate)
          Date when the next billing transaction should be executed
 void setNextBillingDateRule(int nextBillingDateRule)
          The rule for the search.
 void setOnlyActive(boolean onlyActive)
          Only return active subscriptions
 void setOnlyInactive(boolean onlyInactive)
          Only return inactive subscriptions
 void setOnlyWithoutProblem(boolean onlyWithoutProblem)
          Only return subscriptions that haevn't encountered a problem
 void setOnlyWithProblem(boolean onlyWithProblem)
          Only return subscriptions that have encountered a problem i.e.
 void setOrderBy(java.lang.String orderBy)
          order By Valid values are: AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_NUMBER_DESCENDING AdminDataDescriptor.ORDER_BY_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ID_DESCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_DESCENDING AdminDataDescriptor.ORDER_BY_PRODUCT_ID_ASCENDING AdminDataDescriptor.ORDER_BY_PRODUCT_ID_DESCENDING AdminDataDescriptor.ORDER_BY_SKU_ASCENDING AdminDataDescriptor.ORDER_BY_SKU_DESCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_ASCENDING AdminDataDescriptor.ORDER_BY_ORDER_ID_DESCENDING AdminDataDescriptor.ORDER_BY_SUBSCRIPTION_CODE_ASCENDING AdminDataDescriptor.ORDER_BY_SUBSCRIPTION_CODE_DESCENDING AdminDataDescriptor.ORDER_BY_START_DATE_ASCENDING AdminDataDescriptor.ORDER_BY_START_DATE_DESCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_ASCENDING AdminDataDescriptor.ORDER_BY_CUSTOMERS_ID_DESCENDING
 void setOrderId(int orderId)
          Id of order related to the subscription
 void setOrderNumber(java.lang.String orderNumber)
          Order Number of the order related to the subscription
 void setOrderNumberRule(int orderNumberRule)
          The rule for the search.
 void setPaymentScheduleId(int paymentScheduleId)
          Id of payment schedule related to the subscription
 void setProductId(int productId)
          Id of product related to the subscription
 void setSku(java.lang.String sku)
          SKU
 void setSkuRule(int skuRule)
          The rule for the search.
 void setSubscriptionCode(java.lang.String subscriptionCode)
          Subscription code, normally returned by the payment gateway
 void setSubscriptionCodeRule(int subscriptionCodeRule)
          The rule for the search.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


sku

private java.lang.String sku
SKU


skuRule

private int skuRule
SKU Rule


orderId

private int orderId
Id of order related to the subscription


productId

private int productId
Id of product related to the subscription


customerId

private int customerId
Id of customer related to the subscription


paymentScheduleId

private int paymentScheduleId
Id of payment schedule related to the subscription


subscriptionCode

private java.lang.String subscriptionCode
Subscription code, normally returned by the payment gateway


subscriptionCodeRule

private int subscriptionCodeRule
Search rule for the subscription code


orderNumber

private java.lang.String orderNumber
Order Number of the order related to the subscription


orderNumberRule

private int orderNumberRule
Order Number rule


onlyActive

private boolean onlyActive
Only return active subscriptions


onlyInactive

private boolean onlyInactive
Only return inactive subscriptions


onlyWithProblem

private boolean onlyWithProblem
Only return subscriptions that have encountered a problem i.e. Credit card expired


onlyWithoutProblem

private boolean onlyWithoutProblem
Only return subscriptions that haevn't encountered a problem


lastBillingDate

private java.util.Date lastBillingDate
Last time a billing transaction was executed


lastBillingDateRule

private int lastBillingDateRule
Last Billing Date Rule


nextBillingDate

private java.util.Date nextBillingDate
Date when the next billing transaction should be executed


nextBillingDateRule

private int nextBillingDateRule
Next billing date rule


orderBy

private java.lang.String orderBy
order By

Constructor Detail

AdminSubscriptionSearch

public AdminSubscriptionSearch()
Instantiates an AdminSubscriptionSearch object - a requirement for a bean class

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the AdminSubscriptionSearch object.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getOrderBy

public java.lang.String getOrderBy()
order By Valid values are:

Returns:
Returns the orderBy.

setOrderBy

public void setOrderBy(java.lang.String orderBy)
order By Valid values are:

Parameters:
orderBy - The orderBy to set.

getSku

public java.lang.String getSku()
SKU

Returns:
the sku

setSku

public void setSku(java.lang.String sku)
SKU

Parameters:
sku - the sku to set

getSkuRule

public int getSkuRule()
The rule for the search. Valid values are:

Returns:
the skuRule

setSkuRule

public void setSkuRule(int skuRule)
The rule for the search. Valid values are:

Parameters:
skuRule - the skuRule to set

getOrderId

public int getOrderId()
Id of order related to the subscription

Returns:
the orderId

setOrderId

public void setOrderId(int orderId)
Id of order related to the subscription

Parameters:
orderId - the orderId to set

getProductId

public int getProductId()
Id of product related to the subscription

Returns:
the productId

setProductId

public void setProductId(int productId)
Id of product related to the subscription

Parameters:
productId - the productId to set

getCustomerId

public int getCustomerId()
Id of customer related to the subscription

Returns:
the customerId

setCustomerId

public void setCustomerId(int customerId)
Id of customer related to the subscription

Parameters:
customerId - the customerId to set

getPaymentScheduleId

public int getPaymentScheduleId()
Id of payment schedule related to the subscription

Returns:
the paymentScheduleId

setPaymentScheduleId

public void setPaymentScheduleId(int paymentScheduleId)
Id of payment schedule related to the subscription

Parameters:
paymentScheduleId - the paymentScheduleId to set

getSubscriptionCode

public java.lang.String getSubscriptionCode()
Subscription code, normally returned by the payment gateway

Returns:
the subscriptionCode

setSubscriptionCode

public void setSubscriptionCode(java.lang.String subscriptionCode)
Subscription code, normally returned by the payment gateway

Parameters:
subscriptionCode - the subscriptionCode to set

getSubscriptionCodeRule

public int getSubscriptionCodeRule()
The rule for the search. Valid values are:

Returns:
the subscriptionCodeRule

setSubscriptionCodeRule

public void setSubscriptionCodeRule(int subscriptionCodeRule)
The rule for the search. Valid values are:

Parameters:
subscriptionCodeRule - the subscriptionCodeRule to set

isOnlyActive

public boolean isOnlyActive()
Only return active subscriptions

Returns:
the onlyActive

setOnlyActive

public void setOnlyActive(boolean onlyActive)
Only return active subscriptions

Parameters:
onlyActive - the onlyActive to set

isOnlyInactive

public boolean isOnlyInactive()
Only return inactive subscriptions

Returns:
the onlyInactive

setOnlyInactive

public void setOnlyInactive(boolean onlyInactive)
Only return inactive subscriptions

Parameters:
onlyInactive - the onlyInactive to set

isOnlyWithProblem

public boolean isOnlyWithProblem()
Only return subscriptions that have encountered a problem i.e. Credit card expired

Returns:
the onlyWithProblem

setOnlyWithProblem

public void setOnlyWithProblem(boolean onlyWithProblem)
Only return subscriptions that have encountered a problem i.e. Credit card expired

Parameters:
onlyWithProblem - the onlyWithProblem to set

isOnlyWithoutProblem

public boolean isOnlyWithoutProblem()
Only return subscriptions that haevn't encountered a problem

Returns:
the onlyWithoutProblem

setOnlyWithoutProblem

public void setOnlyWithoutProblem(boolean onlyWithoutProblem)
Only return subscriptions that haevn't encountered a problem

Parameters:
onlyWithoutProblem - the onlyWithoutProblem to set

getOrderNumber

public java.lang.String getOrderNumber()
Order Number of the order related to the subscription

Returns:
the orderNumber

setOrderNumber

public void setOrderNumber(java.lang.String orderNumber)
Order Number of the order related to the subscription

Parameters:
orderNumber - the orderNumber to set

getOrderNumberRule

public int getOrderNumberRule()
The rule for the search. Valid values are:

Returns:
the orderNumberRule

setOrderNumberRule

public void setOrderNumberRule(int orderNumberRule)
The rule for the search. Valid values are:

Parameters:
orderNumberRule - the orderNumberRule to set

getLastBillingDate

public java.util.Date getLastBillingDate()
Last time a billing transaction was executed

Returns:
the lastBillingDate

setLastBillingDate

public void setLastBillingDate(java.util.Date lastBillingDate)
Last time a billing transaction was executed

Parameters:
lastBillingDate - the lastBillingDate to set

getLastBillingDateRule

public int getLastBillingDateRule()
The rule for the search. Valid values are:

Returns:
the lastBillingDateRule

setLastBillingDateRule

public void setLastBillingDateRule(int lastBillingDateRule)
The rule for the search. Valid values are:

Parameters:
lastBillingDateRule - the lastBillingDateRule to set

getNextBillingDate

public java.util.Date getNextBillingDate()
Date when the next billing transaction should be executed

Returns:
the nextBillingDate

setNextBillingDate

public void setNextBillingDate(java.util.Date nextBillingDate)
Date when the next billing transaction should be executed

Parameters:
nextBillingDate - the nextBillingDate to set

getNextBillingDateRule

public int getNextBillingDateRule()
The rule for the search. Valid values are:

Returns:
the nextBillingDateRule

setNextBillingDateRule

public void setNextBillingDateRule(int nextBillingDateRule)
The rule for the search. Valid values are:

Parameters:
nextBillingDateRule - the nextBillingDateRule to set


Copyright © 2011 DS Data Systems UK Ltd.