AAAAhome/academiac/www/plugins/vmcalculation/avalara/classes/CancelCode.class.php000060400000004503151373125140023372 0ustar00Saved. */ public static $PostFailed = 'PostFailed'; /** * Specifies the document was deleted within the client's application and * should be removed from the AvaTax records; If the document within AvaTax * is already committed, the document status will be changed to Cancelled * and retained for historical records; If the document was not committed, * (was Saved or Posted) the document will be deleted within AvaTax. */ public static $DocDeleted = 'DocDeleted'; /** * Specifies the document was voided within the client's application and * should be removed from the AvaTax records; If the document within AvaTax * is already committed, the document status will be changed to Cancelled * and retained for historical records; If the document was not committed, * (was Saved or Posted) the document will be deleted within AvaTax. */ public static $DocVoided = 'DocVoided'; public static $AdjustmentCancelled = 'AdjustmentCancelled'; public static function Values() { return array( CancelCode::$Unspecified, CancelCode::$PostFailed, CancelCode::$DocDeleted, CancelCode::$DocVoided, CancelCode::$AdjustmentCancelled ); } // Unfortunate boiler plate due to polymorphism issues on static functions public static function Validate($value) { self::__Validate($value,self::Values(),__CLASS__); } } ?>