Billing
[ class tree: Billing ] [ index: Billing ] [ all elements ]

Class: Billing_Module

Source Location: /billing.php

Class Overview

Module_Skeleton
   |
   --Billing_Module



Variables

Methods



Class Details

[line 19]


[ Top ]


Class Variables

$mysql =

[line 20]



Tags:

access:  public

Type:   mixed


[ Top ]

$pgsql =

[line 21]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method add_referral [line 814]

void add_referral( string $mDomain, [int $mEffective = NULL])

bool add_referral(string[, int = NULL])

Adds a new referral user to the database




Tags:

access:  public


Parameters:

string   $mDomain  
int   $mEffective  

[ Top ]

method add_ssn [line 492]

bool add_ssn( int $mSSN)

bool add_ssn(int)



Tags:

access:  public


Parameters:

int   $mSSN  

[ Top ]

method change_billing_information [line 951]

void change_billing_information( $mFirstName, $mLastName, [ $mCompany = NULL], $mAddress, $mCity, $mState, $mZip, $mCountry, [ $mPhone = NULL], [ $mEmail = NULL])



Tags:

access:  public


Parameters:

   $mFirstName  
   $mLastName  
   $mCompany  
   $mAddress  
   $mCity  
   $mState  
   $mZip  
   $mCountry  
   $mPhone  
   $mEmail  

[ Top ]

method change_credit_card_information [line 884]

void change_credit_card_information( $mExpYear, $mExpMonth, [ $mCVM = NULL], [ $mNumber = NULL], [ $mType = NULL])



Tags:

access:  public


Parameters:

   $mExpYear  
   $mExpMonth  
   $mCVM  
   $mNumber  
   $mType  

[ Top ]

method change_payout_preference [line 792]

void change_payout_preference( $mType)



Tags:

access:  public


Parameters:

   $mType  

[ Top ]

method create_referral_profile [line 694]

void create_referral_profile( string $mUsername, $mFirstName, $mLastName, $mEmail, $mAddress, $mCity, $mState, $mZipCode, $mCountry)

array create_referral_profile(string)



Tags:

access:  public


Parameters:

string   $mUsername  
   $mFirstName  
   $mLastName  
   $mEmail  
   $mAddress  
   $mCity  
   $mState  
   $mZipCode  
   $mCountry  

[ Top ]

method edit_payout_amount [line 515]

bool edit_payout_amount( double $mAmount)

bool edit_payout_amount(double)



Tags:

access:  public


Parameters:

double   $mAmount  

[ Top ]

method edit_referral_profile [line 426]

bool edit_referral_profile( $mFirstName, $mLastName, $mEmail, $mAddress, $mCity, $mState, $mZipCode, $mCountry, array $mOpts)

bool change_referral_information(array)



Tags:

access:  public


Parameters:

array   $mOpts  
   $mFirstName  
   $mLastName  
   $mEmail  
   $mAddress  
   $mCity  
   $mState  
   $mZipCode  
   $mCountry  

[ Top ]

method get_billing_information [line 851]

void get_billing_information( )



Tags:

access:  public


[ Top ]

method get_comissions [line 544]

void get_comissions( )



Tags:

access:  public


[ Top ]

method get_credit_card_information [line 875]

void get_credit_card_information( )



Tags:

access:  public


[ Top ]

method get_customer_referral_information [line 665]

array get_customer_referral_information( )

array get_customer_referral_information()



Tags:

access:  public


[ Top ]

method get_customer_since [line 841]

void get_customer_since( )



Tags:

access:  public


[ Top ]

method get_hosting_subscription [line 818]

void get_hosting_subscription( )



Tags:

access:  public


[ Top ]

method get_minimum_payout_amount [line 804]

float get_minimum_payout_amount( )

float get_minimum_payout_amount



Tags:

access:  public


[ Top ]

method get_next_payment_date [line 106]

array get_next_payment_date( )

int get_next_payment_date()

Returns the next payment date for the account




Tags:

return:  date: date of next payment for account. In the event the information cannot be found (split domain for example), -1 is returned. amount: amount for next payment
access:  public


[ Top ]

method get_package_type [line 1013]

void get_package_type( )



Tags:

access:  public


[ Top ]

method get_payment_information [line 329]

array get_payment_information( string $mTransNum, int $mDate, [ $mType = "paypal"])

array get_payment_information(string)



Tags:

access:  public


Parameters:

string   $mTransNum   transaction number
int   $mDate   unix timestamp of date of transaction
   $mType  

[ Top ]

method get_payment_method [line 88]

string get_payment_method( )



Tags:

return:  current payment method, enum: [credit, check, paypal, cash, other]
access:  public


[ Top ]

method get_payout_amount [line 529]

float get_payout_amount( )

float get_payout_amount()



Tags:

access:  public


[ Top ]

method get_referral_username [line 502]

void get_referral_username( )



Tags:

access:  public


[ Top ]

method get_renewal_hash [line 829]

void get_renewal_hash( )



Tags:

access:  public


[ Top ]

method get_standing_status [line 265]

int get_standing_status( )

int get_standing_status()



Tags:

return:  standing status
access:  public


[ Top ]

method is_billed [line 317]

bool is_billed( )

bool is_billed()



Tags:

return:  billing record exists
access:  public


[ Top ]

method list_payments [line 227]

array list_payments( )

array list_payments



Tags:

access:  public


[ Top ]

method referral_profile_exists [line 784]

bool referral_profile_exists( )

bool referral_profile_exists



Tags:

access:  public


[ Top ]

method remove_ssn [line 540]

bool remove_ssn( )

bool remove_ssn(0



Tags:

access:  public


[ Top ]

method ssn_is_set [line 497]

void ssn_is_set( $mSSN)



Tags:

access:  public


Parameters:

   $mSSN  

[ Top ]


Documentation generated on Sat, 05 Jul 2008 04:00:31 -0400 by phpDocumentor 1.4.0