Brad Whitaker (whitaker) wrote in changelog,
Brad Whitaker
whitaker
changelog

ljcom

Module Name: ljcom
Committed By: whitaker
Date: Wed Aug 31 01:33:36 UTC 2005

Modified Files:
---------------
ljcom/cgi-bin/LJ/Pay: RecBill.pm

Log Message:
------------
Support for deactivating individual items and revoking their corresponding
promo entities.

-- new method call: deactivate_item. sets recflag 'off' and revokes any
promo items associated with it.

-- new promo APIs:

* revoke_promo_item: revokes promo status for a single promo_code,item.

* revoke_promo_item_multi: same as revoke_promo_item, but *gasp* multi.

* should_revoke_promo_item: given an item, promo code, and action,
returns whether the item should be revoked from the given promo if
the action is to be performed.

* promos_to_revoke_item: given an item and action, find all of the promo
codes from which the item should be revoked if the action is to be
performed.

-- add requisite revoke_item and should_revoke_item handlers for
'recbill_init_conv_05'


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 ljcom/cgi-bin/LJ/Pay/RecBill.pm
http://cvs.livejournal.org/browse.cgi/ljcom/cgi-bin/LJ/Pay/RecBill.pm.diff?r1=1.7&r2=1.8
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments