Svea/AdminService/AdminServiceRequest.php
/**
     * the integration package ConfigurationProvider::INVOICE_TYPE and ::PAYMENTPLAN_TYPE constants are all caps, whereas the admin service
     * enumeration used in the calls are CamelCase. This function converts the package constants so that they work with the admin service.
     */
the integration package ConfigurationProvider::INVOICE_TYPE and ::PAYMENTPLAN_TYPE constants are all caps, whereas the admin service
enumeration used in the calls are CamelCase. This function converts the package constants so that they work with the admin service.
the integration package ConfigurationProvider :: INVOICE_TYPE and :: PAYMENTPLAN_TYPE constants are all caps whereas the admin service enumeration used in the calls are CamelCase . This function converts the package constants so that they work with the admin service .
public static function CamelCaseOrderType( $orderTypeAsConst ) {
        switch( $orderTypeAsConst ) {
            case \ConfigurationProvider::INVOICE_TYPE:
                return "Invoice";
                break;
            case \ConfigurationProvider::PAYMENTPLAN_TYPE:
                return "PaymentPlan";
                break;
            default:
                return $orderTypeAsConst;
        }
    }
public static function CamelCaseOrderType ( $ orderTypeAsConst ) { switch ( $ orderTypeAsConst ) { case \ ConfigurationProvider :: INVOICE_TYPE : return " Invoice " ; break ; case \ ConfigurationProvider :: PAYMENTPLAN_TYPE : return " PaymentPlan " ; break ; default : return $ orderTypeAsConst ; } }
the integration package ConfigurationProvider::INVOICE_TYPE and ::PAYMENTPLAN_TYPE constants are all caps, whereas the admin service
 enumeration used in the calls are CamelCase.
the integration package ConfigurationProvider :: INVOICE_TYPE and :: PAYMENTPLAN_TYPE constants are all caps whereas the admin service enumeration used in the calls are CamelCase .