Пример #1
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::SUBSCRIPTION_RENEWED:
             return 'Subscription Renewed';
         case self::SUBSCRIPTION_ENDED:
             return 'Subscription Ended';
         case self::SUBSCRIPTION_CANCELLED:
             return 'Subscription Cancelled';
         case self::SUBSCRIPTION_SUSPENDED:
             return 'Subscription Suspended';
         case self::SUBSCRIPTION_REACTIVATED:
             return 'Subscription Reactivated';
         case self::SUBSCRIPTION_AUTORENEW_DEACTIVATED:
             return 'Auto-renew Deactivated';
         case self::SUBSCRIPTION_AUTORENEW_ACTIVATED:
             return 'Auto-renew Activated';
         case self::INVOICE_RENEWAL_PAYMENT_SUCCESSFUL:
             return 'Renewal payment successful';
         case self::INVOICE_RENEWAL_PAYMENT_FAILED:
             return 'Renewal payment failed';
         default:
             return parent::getDisplayValue($value);
     }
 }
Пример #2
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::PENDING:
             return "Pending";
         case static::OPEN:
             return "Open";
         case static::CONFIRMED:
             return "Confirmed";
         case static::APPROVAL:
             return "Approval";
         case static::AWAIT_REPLY:
             return "Awaiting Reply";
         case static::CAPTURE_PAYMENT:
             return "Capturing Payment";
         case static::CAPTURE_PAYMENT_FAILED:
             return "Capturing Payment Failed";
         case static::AWAITING_PAYMENT:
             return "Awaiting Payment";
         case static::SETUP:
             return "Setup";
         case static::COMPLETE:
             return "Complete";
         case static::CANCELLED:
             return "Cancelled";
         case static::DECLINED:
             return "Declined";
     }
     return parent::getDisplayValue($value);
 }
Пример #3
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::UNKNOWN:
             return "Unknown";
         case static::DO_NOT_RENEW:
             return "Do Not Renew";
         case static::AGENT_CANCEL:
             return "Agent Cancelled";
         case static::CUSTOMER_CANCEL:
             return "Customer Cancelled";
         case static::AUTO_CANCEL:
             return "Auto Cancelled";
         case static::CANCEL:
             return "Cancelled";
         case static::UPGRADED:
             return "Upgraded";
         case static::DOWNGRADED:
             return "Downgraded";
         case static::CHARGEBACK:
             return "Chargeback";
         case static::TERM_ENDED:
             return "Term Ended";
     }
     return parent::getDisplayValue($value);
 }
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::EXPIRED:
             return "Recurring Payment Expired";
         case static::FAILED:
             return "Recurring Payment Failed";
         case static::PROFILE_CREATED:
             return "Recurring Payment Created";
         case static::PROFILE_CANCEL:
             return "Recurring Payment Cancelled";
         case static::SKIPPED:
             return "Recurring Payment Skipped";
         case static::SUSPENDED:
             return "Recurring Payment Suspended";
         case static::SUSPENDED_DUE_TO_MAX_FAILED_PAYMENT:
             return "Recurring Payment Suspended Due To Max Failed Payment";
         case static::OUSTANDING_FAILED:
             return "Recurring Payment Outstanding Failed";
         case static::PAYMENT:
             return "Recurring Payment";
         case static::REFUNDED:
             return "Recurring Payment Refunded";
         default:
             return parent::getDisplayValue($value);
     }
 }
Пример #5
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::APPROVAL:
             return 'Order Approval';
     }
     return parent::getDisplayValue($value);
 }
Пример #6
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::TAX_APPLY:
             return 'Apply Tax';
     }
     return parent::getDisplayValue($value);
 }
Пример #7
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::FRAUD_SCAN:
             return 'Fraud Scan';
     }
     return parent::getDisplayValue($value);
 }
Пример #8
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::CREATED:
             return 'Customer Created';
     }
     return parent::getDisplayValue($value);
 }
Пример #9
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::STANDARD:
             return 'Standard';
         case self::RANDOM_ACTION:
             return 'Random Action';
     }
     return parent::getDisplayValue($value);
 }
Пример #10
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::BLACK:
             return 'Black';
         case self::WHITE:
             return 'White';
     }
     return parent::getDisplayValue($value);
 }
Пример #11
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::FIXED:
             return 'Fixed';
         case self::PERCENT:
             return 'Percent';
     }
     return parent::getDisplayValue($value);
 }
Пример #12
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::TICKET:
             return 'Ticket';
         case self::CHAT:
             return 'Chat';
     }
     return parent::getDisplayValue($value);
 }
Пример #13
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::FIXED:
             return "Fixed Amount";
         case static::PERCENTAGE:
             return "Percentage";
     }
     return parent::getDisplayValue($value);
 }
Пример #14
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case SubscriptionRefundType::PRORATE:
             return 'Pro rata';
         case SubscriptionRefundType::NONE:
             return 'None';
     }
     return parent::getDisplayValue($value);
 }
Пример #15
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::COMPLAIN:
             return 'Contact Complained';
         case static::BOUNCE:
             return 'Email Bounced';
     }
     return parent::getDisplayValue($value);
 }
Пример #16
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::VERIFIED:
             return 'Verified';
         case self::UNVERIFIED:
             return 'Unverified';
     }
     return parent::getDisplayValue($value);
 }
Пример #17
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::CHAT_SESSION_START:
             return 'Chat Session Start';
         case self::CHAT_SESSION_DEPT_CHANGE:
             return 'Chat Session Department Changed';
         default:
             return parent::getDisplayValue($value);
     }
 }
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::OPEN:
             return "Open";
         case static::CLOSED:
             return "Closed";
         default:
             return parent::getDisplayValue($value);
     }
 }
Пример #19
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::PARTIALLY_REFUNDED:
             return 'Partially Refunded';
         case static::REFUND_PENDING:
             return 'Refund Pending';
         default:
             return parent::getDisplayValue($value);
     }
 }
Пример #20
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::ORDER:
             return "Order";
         case static::UPGRADE:
             return "Upgrade";
         case static::DOWNGRADE:
             return "Downgrade";
     }
     return parent::getDisplayValue($value);
 }
Пример #21
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::PRORATE:
             return 'Prorate';
         case self::EXTEND:
             return 'Extend';
         case self::REPLACE:
             return 'Replace';
     }
     return parent::getDisplayValue($value);
 }
Пример #22
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::NO:
             return 'No';
         case self::CLICKED:
             return 'Clicked';
         case self::CONFIRMED:
             return 'Confirmed';
     }
     return parent::getDisplayValue($value);
 }
Пример #23
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::REQUIRED:
             return 'Required';
         case static::ONE_OF:
             return 'One of';
         case static::ONE_OF_PROPERTY:
             return 'One of property';
     }
     return parent::getDisplayValue($value);
 }
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::FIXED:
             return 'Fixed amount';
         case self::PERCENT_OF_TOTAL:
             return 'Percentage of invoice total';
         case self::PERCENT_OF_REMAINING:
             return 'Percentage of remaining balance';
         default:
             return parent::getDisplayValue($value);
     }
 }
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::ACTIVE:
             return "Active";
         case static::EXPIRED:
             return "Expired";
         case static::CANCELLED:
             return "Cancelled";
         default:
             return parent::getDisplayValue($value);
     }
 }
Пример #26
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::PENDING:
             return 'Pending';
         case self::IN_PROGRESS:
             return 'In Progress';
         case self::COMPLETE:
             return 'Complete';
         case self::AUTO_FAIL:
             return 'Automation Unavailable';
     }
     return parent::getDisplayValue($value);
 }
Пример #27
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::INITIAL:
             return 'New';
         case self::CANCEL:
             return 'Cancel';
         case self::PURCHASE_MODIFICATION:
             return 'Purchase Modification';
         case self::PRE_RENEW:
             return 'Pre Renew';
     }
     return parent::getDisplayValue($value);
 }
Пример #28
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::SERVICE:
             return 'Service';
         case static::PHYSICAL:
             return 'Physical';
         case static::VIRTUAL:
             return 'Virtual';
         case static::DOWNLOAD:
             return 'Download';
     }
     return parent::getDisplayValue($value);
 }
Пример #29
0
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case self::BOUNCE_NONE:
             return 'None';
         case self::BOUNCE_GENERIC:
             return 'Generic';
         case self::BOUNCE_SOFT:
             return 'Soft';
         case self::BOUNCE_HARD:
             return 'Hard';
     }
     return parent::getDisplayValue($value);
 }
 public static function getDisplayValue($value)
 {
     switch ($value) {
         case static::CHARGEBACK:
             return "Chargeback";
         case static::COMPLAINT:
             return "Complaint";
         case static::DISPUTE:
             return "Dispute";
         case static::BANK_RETURN:
             return "Bank Return";
         default:
             return parent::getDisplayValue($value);
     }
 }