public class AdminSubscriptionSearch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AdminSubscriptionSearch()
Instantiates an AdminSubscriptionSearch object - a requirement for a bean class
|
Modifier and Type | Method and Description |
---|---|
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() |
private int id
private java.lang.String sku
private int skuRule
private int orderId
private int productId
private int customerId
private int paymentScheduleId
private java.lang.String subscriptionCode
private int subscriptionCodeRule
private java.lang.String orderNumber
private int orderNumberRule
private boolean onlyActive
private boolean onlyInactive
private boolean onlyWithProblem
private boolean onlyWithoutProblem
private java.util.Date lastBillingDate
private int lastBillingDateRule
private java.util.Date nextBillingDate
private int nextBillingDateRule
private java.lang.String orderBy
public AdminSubscriptionSearch()
public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- The orderBy to set.public java.lang.String getSku()
public void setSku(java.lang.String sku)
sku
- the sku to setpublic int getSkuRule()
public void setSkuRule(int skuRule)
skuRule
- the skuRule to setpublic int getOrderId()
public void setOrderId(int orderId)
orderId
- the orderId to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId
- the customerId to setpublic int getPaymentScheduleId()
public void setPaymentScheduleId(int paymentScheduleId)
paymentScheduleId
- the paymentScheduleId to setpublic java.lang.String getSubscriptionCode()
public void setSubscriptionCode(java.lang.String subscriptionCode)
subscriptionCode
- the subscriptionCode to setpublic int getSubscriptionCodeRule()
public void setSubscriptionCodeRule(int subscriptionCodeRule)
subscriptionCodeRule
- the subscriptionCodeRule to setpublic boolean isOnlyActive()
public void setOnlyActive(boolean onlyActive)
onlyActive
- the onlyActive to setpublic boolean isOnlyInactive()
public void setOnlyInactive(boolean onlyInactive)
onlyInactive
- the onlyInactive to setpublic boolean isOnlyWithProblem()
public void setOnlyWithProblem(boolean onlyWithProblem)
onlyWithProblem
- the onlyWithProblem to setpublic boolean isOnlyWithoutProblem()
public void setOnlyWithoutProblem(boolean onlyWithoutProblem)
onlyWithoutProblem
- the onlyWithoutProblem to setpublic java.lang.String getOrderNumber()
public void setOrderNumber(java.lang.String orderNumber)
orderNumber
- the orderNumber to setpublic int getOrderNumberRule()
public void setOrderNumberRule(int orderNumberRule)
orderNumberRule
- the orderNumberRule to setpublic java.util.Date getLastBillingDate()
public void setLastBillingDate(java.util.Date lastBillingDate)
lastBillingDate
- the lastBillingDate to setpublic int getLastBillingDateRule()
public void setLastBillingDateRule(int lastBillingDateRule)
lastBillingDateRule
- the lastBillingDateRule to setpublic java.util.Date getNextBillingDate()
public void setNextBillingDate(java.util.Date nextBillingDate)
nextBillingDate
- the nextBillingDate to setpublic int getNextBillingDateRule()
public void setNextBillingDateRule(int nextBillingDateRule)
nextBillingDateRule
- the nextBillingDateRule to setCopyright © 2018 DS Data Systems UK Ltd.