Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class PaypalTransaction extends DataObject {
- private static $db = array(
- 'CustomerName' => 'Varchar',
- 'Total' => 'Int',
- 'Status' => "Enum('Initiated,CustomerApproved,PaymentSuccess,ApprovalFailed,VerifyFailed')",
- 'OrderId' => 'Int',
- 'UpdatedAt' => 'SS_Datetime',
- 'CreatedAt' => 'SS_Datetime',
- );
- private static $has_one = array(
- 'Order' => 'Order',
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement