net.authorize.data.reporting
Class Subscription

java.lang.Object
  extended by net.authorize.data.reporting.Subscription
All Implemented Interfaces:
Serializable

public class Subscription
extends Object
implements Serializable

Subscription container.

See Also:
Serialized Form

Constructor Summary
protected Subscription()
          Default C'tor
 
Method Summary
static Subscription createSubscription()
          Create a subscription.
static Subscription createSubscription(int id, int payNum)
          Creates a populated Subscription
 int getId()
          Get the subscription id.
 int getPayNum()
          Get the payNum.
 void setId(int id)
          Set the subscription id.
 void setId(String id)
          Set the subscription id.
 void setPayNum(int payNum)
          Set the payNum.
 void setPayNum(String payNum)
          Set the payNum.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subscription

protected Subscription()
Default C'tor

Method Detail

createSubscription

public static Subscription createSubscription()
Create a subscription.

Returns:
Subscription with empty fields

createSubscription

public static Subscription createSubscription(int id,
                                              int payNum)
Creates a populated Subscription

Parameters:
id - Sets the subscription Id for subscription
payNum - Sets the payment number for subscription
Returns:
Subscription with fields populated

getId

public int getId()
Get the subscription id.

Returns:
int Gets the subscription Id for subscription

setId

public void setId(int id)
Set the subscription id.

Parameters:
id - Sets the subscription Id for subscription

getPayNum

public int getPayNum()
Get the payNum.

Returns:
int Gets the payment number for subscription

setPayNum

public void setPayNum(int payNum)
Set the payNum.

Parameters:
payNum - Sets the payment number for subscription

setId

public void setId(String id)
Set the subscription id.

Parameters:
id - Sets the subscription Id for subscription

setPayNum

public void setPayNum(String payNum)
Set the payNum.

Parameters:
payNum - Sets the payment number for subscription

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.